<?xml version="1.0" encoding="UTF-8"?>
<Clock xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" savedConfig="false" xsi:noNamespaceSchemaLocation="../../../../../../../doc/V4/Development/Specifications/db/MCU_Clock.xsd">


    <Background  imageName="STM32L4-withLCDBlock" name="STM32L4-withLCDBlock"  x="501" y="24">
        <Condition Diagnostic="" Expression="(LCD_Exist)"/>
    </Background>
    
    <Background  imageName="STM32WL_hide_cpu2" name="STM32WL_hide_cpu2"  x="826" y="373">
         <Condition Diagnostic="" Expression="!STM32WL5x | S_SINGLE_CORE"/>
    </Background>
    
    <Tree id="ClockTree">
        <!--Divers source-->
        <Element id="HSIRC" type="fixedSource" isKey="true" refParameter="HSI_VALUE" x="295" y="505">
            <Output signalId="HSI" to="PLLSource"/>
            <Output signalId="HSI" to="MCOMult"/>
            <Output signalId="HSI" to="USART1Mult"/>
            <Output signalId="HSI" to="LPUART1Mult"/>
            <Output signalId="HSI" to="LPTIM1Mult"/>
            <Output signalId="HSI" to="LPTIM2Mult"/>
            <Output signalId="HSI" to="LPTIM3Mult"/>
            <Output signalId="HSI" to="I2C2Mult"/>
            <Output signalId="HSI" to="I2C1Mult"/>
            <Output signalId="HSI" to="I2C3Mult"/>
            <Output signalId="HSI" to="SysClkSource"/>          
        </Element>
				
        <Element id="HSEOSC" type="variedSource" x="200" y="795" refParameter="HSE_VALUE">
            <Output signalId="HSE" to="HSERTCDevisor"/>
            <Output signalId="HSE" to="MCOMult"/>
            <Output signalId="HSE" to="HSEPRESC"/>
           
        </Element>        
        <Element id="LSIRC" type="fixedSource" refParameter="LSI_VALUE" x="295" y="234">
            <Output signalId="LSIDUAL" to="LSIDIV"/>
        </Element>
        <Element id="LSIDIV" type="devisor" refParameter="LSIDIV" x="395" y="234">
            <Input signalId="LSIDUAL" from="LSIRC"/>
            <Output signalId="LSI" to="RTCClkSource"/>
            <Output signalId="LSI" to="LPTIM1Mult"/>
            <Output signalId="LSI" to="LPTIM2Mult"/>
            <Output signalId="LSI" to="LPTIM3Mult"/>
            <Output signalId="LSI" to="LSCOMult"/>
            <Output signalId="LSI" to="MCOMult"/>
        </Element>
        <Element id="LSEOSC" type="variedSource" refParameter="LSE_VALUE" x="200" y="194">
            <Output signalId="LSE" to="RTCClkSource"/>
            <Output signalId="LSE" to="MCOMult"/>
            <Output signalId="LSE" to="USART1Mult"/>
            <Output signalId="LSE" to="LPUART1Mult"/>
            <Output signalId="LSE" to="LPTIM1Mult"/>
            <Output signalId="LSE" to="LPTIM2Mult"/>
            <Output signalId="LSE" to="LPTIM3Mult"/>
            <Output signalId="LSE" to="LSCOMult"/>
        </Element>
        <Element id="MSIRC" type="distinctValsSource" isKey="true" refParameter="MSIClockRange" x="302" y="392">
            <Output signalId="MSI" to="SysClkSource"/>
            <Output signalId="MSI" to="PLLSource"/>
            <Output signalId="MSI" to="MCOMult"/>
            <Output signalId="MSI" to="RNGCLockSelection"/>
        </Element>

        <Element id="LPTIM1Mult" type="multiplexor" refParameter="LPTIM1CLockSelection" orientation="LEFT" x="1184" y="950" refEnable="LPTIM1Enable">
            <Input signalId="PCLK1" from="APB1Prescaler" refValue="RCC_LPTIM1CLKSOURCE_PCLK1"/>
            <Input signalId="LSI"   from="LSIDIV"         refValue="RCC_LPTIM1CLKSOURCE_LSI"  />
            <Input signalId="HSI"   from="HSIRC"         refValue="RCC_LPTIM1CLKSOURCE_HSI"   />
            <Input signalId="LSE"   from="LSEOSC"        refValue="RCC_LPTIM1CLKSOURCE_LSE"/>
            <Output signalId="LPTIM1CLK" to="LPTIM1output"/>
        </Element>
        <Element id="LPTIM1output" type="activeOutput" refParameter="LPTIM1Freq_Value" x="1358" y="983"  refEnable="LPTIM1Enable">
            <Input signalId="LPTIM1CLK" from="LPTIM1Mult"/>
        </Element>
        
        
        
        <Element id="USART2Mult" type="multiplexor" refParameter="USART2CLockSelection" orientation="LEFT" x="1184" y="667" refEnable="USART2Enable">
            <Input signalId="PCLK1" from="APB1Prescaler"   refValue="RCC_USART2CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK"   from="SysCLKOutput" refValue="RCC_USART2CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"   from="HSIRC"           refValue="RCC_USART2CLKSOURCE_HSI"   />
            <Input signalId="LSE"   from="LSEOSC"          refValue="RCC_USART2CLKSOURCE_LSE"/>
            <Output signalId="USART2CLK" to="USART2output"/>
        </Element>
        <Element id="USART2output" type="activeOutput" refParameter="USART2Freq_Value" x="1358" y="700"  refEnable="USART2Enable">
            <Input signalId="USART2CLK" from="USART2Mult"/>
        </Element>
        <!-- ExtPin-->
        
		
        <!--LSCO Mux-->
        <Element id="LSCOMult" type="multiplexor" refParameter="LSCOSource1" x="674" y="1145" refEnable="LSCOEnable">
            <Input signalId="LSI"    from="LSIDIV"        refValue="RCC_LSCOSOURCE_LSI"/>
            <Input signalId="LSE"    from="LSEOSC"       refValue="RCC_LSCOSOURCE_LSE"/>
            
            
            <Output signalId="LSCOInput" to="LSCOOutput"/>
        </Element>
        <Element id="LSCOOutput" type="output" refParameter="LSCOPinFreq_Value" x="310" y="1158" refEnable="LSCOEnable">
            <Input signalId="LSCOInput" from="LSCOMult"/>
        </Element>
        <!--System clock-->
        
        <Element id="HSEPRESC" type="devisor" refParameter="HSEPRES" x="310" y="545" refEnable="EnableHSE">
            <Input signalId="HSE" from="HSEOSC"/>
            <Output signalId="HSEP" to="SysClkSource"/>
            <Output signalId="HSEP" to="PLLSourceVirtual"/>
        </Element>
			
        <Element id="SysClkSource" type="multiplexor" refParameter="SYSCLKSource" x="695" y="395">
            <Input signalId="MSI"          from="MSIRC"  refValue="RCC_SYSCLKSOURCE_MSI"/>
            <Input signalId="HSI"     from="HSIRC"   refValue="RCC_SYSCLKSOURCE_HSI"    />
            <Input signalId="HSEP"    from="HSEPRESC" refValue="RCC_SYSCLKSOURCE_HSE"    />
            <Input signalId="PLLCLK"  from="PLLR"   refValue="RCC_SYSCLKSOURCE_PLLCLK" />
            <Output signalId="SYSCLKInput" to="SysCLKOutput"/>
           
        </Element>
        <Element id="SysCLKOutput" type="output" refParameter="SYSCLKFreq_VALUE" x="732" y="427">
            <Input signalId="SYSCLKInput" from="SysClkSource"/>
            <Output signalId="SYSCLK" to="AHBPrescaler"/>
            <Output signalId="SYSCLK" to="AHB2Prescaler"/>
            <Output signalId="SYSCLK" to="AHB3Prescaler"/>
            <Output signalId="SYSCLK" to="PWRCLKoutput"/>
            <Output signalId="SYSCLK" to="USART1Mult"/>
            <Output signalId="SYSCLK" to="LPUART1Mult"/>
            <Output signalId="SYSCLK" to="I2C2Mult"/>
            <Output signalId="SYSCLK" to="I2C1Mult"/>
            <Output signalId="SYSCLK" to="I2C3Mult"/>
            <Output signalId="SYSCLK" to="ADCMult"/>
            <Output signalId="SYSCLK" to="MCOMult"    />
            
        </Element>
        <!--Main PLL source-->
        <Element id="PLLSource" type="multiplexor" refParameter="PLLSourceVirtual" orientation="LEFT" x="402" y="477">
            <Input signalId="MSI"     from="MSIRC" refValue="RCC_PLLSOURCE_MSI"/>
            <Input signalId="HSI"     from="HSIRC"  refValue="RCC_PLLSOURCE_HSI"/>
            <Input signalId="HSEP"    from="HSEPRESC" refValue="RCC_PLLSOURCE_HSE"/>
            <Output signalId="PLLSRC" to="PLLM"    />
        </Element>
        <Element id="PLLM" type="devisor" refParameter="PLLM" x="438" y="510">
            <Input signalId="PLLSRC" from="PLLSource"/>
            <Output signalId="VCOInput" to="PLLN"/>
     
        </Element>
		
        <!--IP clock-->
      
		<Element id="HSERTCDevisor" type="devisor" refParameter="RCC_RTC_Clock_Source_FROM_HSE" x="429" y="163" refEnable="EnableHSERTCDevisor,EnableHSELCDDevisor">
            <Input signalId="HSE" from="HSEOSC"/>
            <Output signalId="HSE_RTC"  to="RTCClkSource" />
        </Element>
        <Element id="RTCClkSource" type="multiplexor" refParameter="RTCClockSelection" x="540" y="166" refEnable="RTCEnable,LCDEnable">
            <Input signalId="HSE_RTC" from="HSERTCDevisor"    refValue="RCC_RTCCLKSOURCE_HSE_DIV32"                     />
            <Input signalId="LSE"     from="LSEOSC"           refValue="RCC_RTCCLKSOURCE_LSE"/>
            <Input signalId="LSI"     from="LSIDIV"  	      refValue="RCC_RTCCLKSOURCE_LSI"/>
            <Output signalId="RTCCLK" to="RTCOutput"/>
            <Output signalId="RTCCLK"  to="LCDOutput"/>
        </Element>
        <Element id="RTCOutput" type="output" refParameter="RTCFreq_Value" x="613" y="197" refEnable="RTCEnable">
            <Input signalId="RTCCLK" from="RTCClkSource"/>
        </Element>
        <Element id="LCDOutput" type="output" refParameter="LCDFreq_Value" x="613" y="165" refEnable="LCDEnable">
            <Input signalId="RTCCLK" from="RTCClkSource"/>
        </Element>
        <Element id="IWDGOutput" type="output" refParameter="WatchDogFreq_Value" x="613" y="310" refEnable="IWDGEnable" >
            <Input signalId="LSI" from="LSIDIV"/>
        </Element>
    
        <Element id="USART1Mult" type="multiplexor" refParameter="USART1CLockSelection" orientation="LEFT" x="1302" y="606" refEnable="USART1Enable">
            <Input signalId="PCLK2"    from="APB2Prescaler"  refValue="RCC_USART1CLKSOURCE_PCLK2"/>
            <Input signalId="SYSCLK"   from="SysCLKOutput"   refValue="RCC_USART1CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"      from="HSIRC"          refValue="RCC_USART1CLKSOURCE_HSI"   />
            <Input signalId="LSE"      from="LSEOSC"         refValue="RCC_USART1CLKSOURCE_LSE"/>
            <Output signalId="USART1CLK" to="USART1output"/>
        </Element>
        <Element id="USART1output" type="activeOutput" refParameter="USART1Freq_Value" x="1358" y="637"  refEnable="USART1Enable">
            <Input signalId="USART1CLK" from="USART1Mult"/>
        </Element>

 
        <Element id="LPUART1Mult" type="multiplexor" refParameter="LPUART1CLockSelection" orientation="LEFT" x="1184" y="810" refEnable="LPUART1Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_LPUART1CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_LPUART1CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_LPUART1CLKSOURCE_HSI"   />
            <Input signalId="LSE"    from="LSEOSC"        refValue="RCC_LPUART1CLKSOURCE_LSE"/>
            <Output signalId="LPUART1CLK" to="LPUART1output"/>
        </Element>
        <Element id="LPUART1output" type="activeOutput" refParameter="LPUART1Freq_Value" x="1358" y="840"  refEnable="LPUART1Enable">
            <Input signalId="LPUART1CLK" from="LPUART1Mult"/>
        </Element> 

        <Element id="LPTIM2Mult" type="multiplexor" refParameter="LPTIM2CLockSelection" orientation="LEFT" x="1302" y="748" refEnable="LPTIM2Enable">
            <Input signalId="PCLK1" from="APB1Prescaler" refValue="RCC_LPTIM2CLKSOURCE_PCLK1"/>
            <Input signalId="LSI"   from="LSIDIV"         refValue="RCC_LPTIM2CLKSOURCE_LSI"  />
            <Input signalId="HSI"   from="HSIRC"         refValue="RCC_LPTIM2CLKSOURCE_HSI"   />
            <Input signalId="LSE"   from="LSEOSC"        refValue="RCC_LPTIM2CLKSOURCE_LSE"/>
            <Output signalId="LPTIM2CLK" to="LPTIM2output"/>
        </Element>
        <Element id="LPTIM2output" type="activeOutput" refParameter="LPTIM2Freq_Value" x="1358" y="780"  refEnable="LPTIM2Enable">
            <Input signalId="LPTIM2CLK" from="LPTIM2Mult"/>
        </Element>
        
        <Element id="LPTIM3Mult" type="multiplexor" refParameter="LPTIM3CLockSelection" orientation="LEFT" x="1302" y="888" refEnable="LPTIM3Enable">
            <Input signalId="PCLK1" from="APB1Prescaler" refValue="RCC_LPTIM3CLKSOURCE_PCLK1"/>
            <Input signalId="LSI"   from="LSIDIV"         refValue="RCC_LPTIM3CLKSOURCE_LSI"  />
            <Input signalId="HSI"   from="HSIRC"         refValue="RCC_LPTIM3CLKSOURCE_HSI"   />
            <Input signalId="LSE"   from="LSEOSC"        refValue="RCC_LPTIM3CLKSOURCE_LSE"/>
            <Output signalId="LPTIM3CLK" to="LPTIM3output"/>
        </Element>
        <Element id="LPTIM3output" type="activeOutput" refParameter="LPTIM3Freq_Value" x="1358" y="920"  refEnable="LPTIM3Enable">
            <Input signalId="LPTIM3CLK" from="LPTIM3Mult"/>
        </Element>
        
        <Element id="RNGMult" type="multiplexor" refParameter="RNGCLockSelection" orientation="LEFT" x="927" y="550" refEnable="RNGEnable">
            <Input signalId="PLLQCLK"      from="PLLQ"        refValue="RCC_RNGCLKSOURCE_PLL"/>
            <Input signalId="LSI"          from="LSIDIV"       refValue="RCC_RNGCLKSOURCE_LSI"/>
            <Input signalId="LSE"          from="LSEOSC"      refValue="RCC_RNGCLKSOURCE_LSE"   />
            <Input signalId="MSI"          from="MSIRC"       refValue="RCC_RNGCLKSOURCE_MSI"   />
            <Output signalId="RNGCLK" to="RNGoutput"/>
        </Element>
        <Element id="RNGoutput" type="activeOutput" refParameter="RNGFreq_Value"  x="985" y="585" refEnable="RNGEnable">
            <Input signalId="RNGCLK" from="RNGMult"/>
        </Element>
		    
        <Element id="I2C2Mult" type="multiplexor" refParameter="I2C2CLockSelection" orientation="LEFT" x="877" y="747" refEnable="I2C2Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C2CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C2CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C2CLKSOURCE_HSI"   />
            <Output signalId="I2C2CLK" to="I2C2output"/>
        </Element>
        <Element id="I2C2output" type="activeOutput" refParameter="I2C2Freq_Value" x="935" y="780"  refEnable="I2C2Enable">
            <Input signalId="I2C2CLK" from="I2C2Mult"/>
        </Element>
        
        <Element id="I2C1Mult" type="multiplexor" refParameter="I2C1CLockSelection" orientation="LEFT" x="788" y="665" refEnable="I2C1Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C1CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C1CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C1CLKSOURCE_HSI"   />
            <Output signalId="I2C1CLK" to="I2C1output"/>         
        </Element>  
        <Element id="I2C1output" type="activeOutput" refParameter="I2C1Freq_Value" x="935" y="700" refEnable="I2C1Enable">
            <Input signalId="I2C1CLK" from="I2C3Mult"/>
        </Element>		

        <Element id="I2C3Mult" type="multiplexor" refParameter="I2C3CLockSelection" orientation="LEFT" x="877" y="889" refEnable="I2C3Enable">
            <Input signalId="PCLK1"  from="APB1Prescaler" refValue="RCC_I2C3CLKSOURCE_PCLK1"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"  refValue="RCC_I2C3CLKSOURCE_SYSCLK"  />
            <Input signalId="HSI"    from="HSIRC"         refValue="RCC_I2C3CLKSOURCE_HSI"   />
            <Output signalId="I2C3CLK" to="I2C3output"/>
        </Element>
        <Element id="I2C3output" type="activeOutput" refParameter="I2C3Freq_Value" x="935" y="923"   refEnable="I2C3Enable">
            <Input signalId="I2C3CLK" from="I2C3Mult"/>
        </Element>
        <Element id="I2S2Mult" type="multiplexor" refParameter="I2S2CLockSelection" orientation="LEFT" x="788" y="810" refEnable="I2S2Enable">
            <Input signalId="PLLQCLK"      from="PLLQ"      refValue="RCC_I2S2CLKSOURCE_PLL"/>
            <Input signalId="HSI"          from="HSIRC"     refValue="RCC_I2S2CLKSOURCE_HSI"/>
            <Input signalId="I2SExtClock"  from="I2S_CKIN"         refValue="RCC_I2S2CLKSOURCE_PIN"   />
            <Output signalId="I2S2CLK" to="I2S2output"/>
        </Element>
        <Element id="I2S2output" type="activeOutput" refParameter="I2S2Freq_Value" x="935" y="840" refEnable="I2S2Enable">
            <Input signalId="I2S2CLK" from="I2S2Mult"/>
        </Element>
        
        <Element id="ADCMult" type="multiplexor" refParameter="ADCCLockSelection" orientation="LEFT" x="877" y="1029" refEnable="ADCEnable">
            <Input signalId="HSI"         from="HSIRC"     refValue="RCC_ADCCLKSOURCE_HSI"/>
            <Input signalId="PLLPCLK"     from="PLLP"      refValue="RCC_ADCCLKSOURCE_PLL"/>
            <Input signalId="SYSCLK"      from="SysCLKOutput"  refValue="RCC_ADCCLKSOURCE_SYSCLK"   />
            <Output signalId="ADCCLK" to="ADCoutput"/>
        </Element>
        <Element id="ADCoutput" type="activeOutput" refParameter="ADCFreq_Value" x="935" y="1060"   refEnable="ADCEnable">
            <Input signalId="ADCCLK" from="ADCMult"/>
        </Element>
        
        <!--MCO Mux-->
        <Element id="MCOMult" type="multiplexor" refParameter="RCC_MCO1Source" x="497" y="928" refEnable="MCOEnable">
            <Input signalId="LSE"    from="LSEOSC"       refValue="RCC_MCO1SOURCE_LSE"/>
            <Input signalId="LSI"    from="LSIDIV"        refValue="RCC_MCO1SOURCE_LSI"/>
            <Input signalId="HSE"    from="HSEOSC"       refValue="RCC_MCO1SOURCE_HSE"/>
            <Input signalId="HSI"    from="HSIRC"        refValue="RCC_MCO1SOURCE_HSI"   />
            <Input signalId="PLLCLK" from="PLLR"         refValue="RCC_MCO1SOURCE_PLLCLK"/>
            <Input signalId="SYSCLK" from="SysCLKOutput" refValue="RCC_MCO1SOURCE_SYSCLK"   />
            <Input signalId="MSI"    from="MSIRC"        refValue="RCC_MCO1SOURCE_MSI"   />
            <Input signalId="PLLPCLK"    from="PLLP"        refValue="RCC_MCO1SOURCE_PLLPCLK"   />
            <Input signalId="PLLQCLK"    from="PLLQ"        refValue="RCC_MCO1SOURCE_PLLQCLK"   />
            <Output signalId="MCO1DivInput" to="MCODiv"/>
        </Element>
        <Element id="MCODiv" type="devisor" refParameter="RCC_MCODiv" x="390" y="1031" refEnable="MCOEnable">
            <Input signalId="MCO1DivInput" from="MCOMult"/>
            <Output signalId="MCO1DivOuput" to="MCOPin"/>
        </Element>
        <Element id="MCOPin" type="output" refParameter="MCO1PinFreq_Value" x="310" y="1030" refEnable="MCOEnable">
            <Input signalId="MCO1DivOuput" from="MCODiv"/>
        </Element>
        <!--AHB, APB1 and APB2 main block-->
        <Element id="AHB3Prescaler" type="devisor" refParameter="AHB3CLKDivider" x="845" y="495">
            <Input signalId="SYSCLK" from="SysCLKOutput"/>
            <Output signalId="HCLK3" to="AHB3Output"/>
     
        </Element>
        <Element id="AHB3Output" type="activeOutput" isKey="true" refParameter="HCLK3Freq_Value" x="1360" y="493">
            <Input signalId="HCLK3" from="AHB3Prescaler"/>
        </Element>
        <Element id="APB3Output" type="activeOutput" isKey="true" refParameter="APB3Freq_Value" x="1360" y="528">
            <Input signalId="HCLK3" from="AHB3Prescaler"/>
        </Element>
        <!--AHB, APB1 and APB2 main block-->
        <Element id="AHB2Prescaler" type="devisor" refParameter="AHB2CLKDivider" x="845" y="430">
            <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
            <Input signalId="SYSCLK" from="SysCLKOutput"/>
            <Output signalId="HCLK2" to="AHB2Output"/>
            <Output signalId="HCLK2" to="Cortex2Prescaler"/>
            <Output signalId="HCLK2" to="FCLK2CortexOutput"/>
        </Element>
		
        <Element id="FCLK2CortexOutput" type="activeOutput" isKey="true" refParameter="FCLK2Freq_Value" x="1360" y="462">
            <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
            <Input signalId="HCLK2" from="AHB2Prescaler"/>
        </Element>
        <Element id="AHB2Output" type="activeOutput" isKey="true" refParameter="HCLK2Freq_Value" x="940" y="428">
            <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
            <Input signalId="HCLK2" from="AHB2Prescaler"/>
        </Element>
        <Element id="Cortex2Prescaler" type="devisor" refParameter="Cortex2_Div" x="1150" y="430">
            <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
            <Input signalId="HCLK2" from="AHB2Prescaler"/>
            <Output signalId="AHB2CLK2" to="Cortex2SysOutput" />
        </Element>
        <Element id="Cortex2SysOutput" type="activeOutput" refParameter="Cortex2Freq_Value" x="1360" y="428">
            <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
            <Input signalId="AHB2CLK2" from="Cortex2Prescaler"/>
        </Element>
		
        <Element id="AHBPrescaler" type="devisor" refParameter="AHBCLKDivider" x="845" y="181">
            <Input signalId="SYSCLK" from="SysCLKOutput"/>
            <Output signalId="HCLK" to="AHBOutput"/>
        </Element>
        <Element id="PWRCLKoutput" type="activeOutput" refParameter="PWRFreq_Value" x="1360" y="150">
            <Input signalId="SYSCLK" from="SysCLKOutput"/>
        </Element>
        <Element id="AHBOutput" type="activeOutput" isKey="true" refParameter="HCLKFreq_Value" x="940" y="180">
            <Input signalId="HCLK" from="AHBPrescaler"/>
            <Output signalId="AHBCLK" to="CortexPrescaler"  />
            <Output signalId="AHBCLK" to="HCLKOutput"       />
            <Output signalId="AHBCLK" to="FCLKCortexOutput" />
            <Output signalId="AHBCLK" to="APB1Prescaler"    />
            <Output signalId="AHBCLK" to="APB2Prescaler"    />
        </Element>
        <Element id="HCLKOutput" type="activeOutput" refParameter="AHBFreq_Value" x="1360" y="180">
            <Input signalId="AHBCLK" from="AHBOutput"/>
        </Element>
        <Element id="CortexPrescaler" type="devisor" refParameter="Cortex_Div" x="1150" y="213">
            <Input signalId="AHBCLK" from="AHBOutput"/>
            <Output signalId="AHBCLK2" to="CortexSysOutput" />
        </Element>
        <Element id="CortexSysOutput" type="activeOutput" refParameter="CortexFreq_Value" x="1360" y="213">
            <Input signalId="AHBCLK2" from="CortexPrescaler"/>
        </Element>
        <Element id="FCLKCortexOutput" type="activeOutput" refParameter="FCLKCortexFreq_Value" x="1360" y="247">
            <Input signalId="AHBCLK" from="AHBOutput"/>
        </Element>
        <Element id="APB1Prescaler" type="devisor" refParameter="APB1CLKDivider" x="1020" y="285">
            <Input signalId="AHBCLK" from="AHBOutput"/>
            <Output signalId="PCLK1" to="APB1Output" />
            <Output signalId="PCLK1" to="TimPrescalerAPB1" />
            <Output signalId="PCLK1" to="LPUART1Mult"/>
            <Output signalId="PCLK1" to="LPTIM1Mult"/>
            <Output signalId="PCLK1" to="LPTIM2Mult"/>
            <Output signalId="PCLK1" to="I2C2Mult"/>
            <Output signalId="PCLK1" to="I2C1Mult"/>
            <Output signalId="PCLK1" to="I2C3Mult"/>     
        </Element>
        <Element id="I2S_CKIN" type="variedSource" x="200" y="870" refParameter="EXTERNAL_CLOCK_VALUE" refEnable="ExtClockEnable">
            <Output signalId="I2SExtClock" to="I2S2Mult"/>            
        </Element>
        <Element id="APB1Output" type="activeOutput" refParameter="APB1Freq_Value" x="1360" y="283">
            <Input signalId="PCLK1" from="APB1Prescaler"/>
        </Element>
        <Element id="TimPrescalerAPB1" type="multiplicator" refParameter="APB1TimCLKDivider" x="1150" y="317">
            <Input signalId="PCLK1" from="APB1Prescaler"/>
            <Output signalId="TimCLK" to="TimPrescOut1"/>
        </Element>
        <Element id="TimPrescOut1" type="activeOutput" refParameter="APB1TimFreq_Value" x="1360" y="317">
            <Input signalId="TimCLK" from="TimPrescalerAPB1"/>
        </Element>
        <Element id="APB2Prescaler" type="devisor" refParameter="APB2CLKDivider" x="1020" y="354">
            <Input signalId="AHBCLK" from="AHBOutput"/>
            <Output signalId="PCLK2" to="APB2Output" />
            <Output signalId="PCLK2" to="TimPrescalerAPB2" />
            <Output signalId="PCLK2" to="USART1Mult" />
        </Element>
        <Element id="APB2Output" type="activeOutput" refParameter="APB2Freq_Value" x="1360" y="352">
            <Input signalId="PCLK2" from="APB2Prescaler"/>
        </Element>
        <Element id="TimPrescalerAPB2" type="multiplicator" refParameter="APB2TimCLKDivider" x="1150" y="384">
            <Input signalId="PCLK2" from="APB2Prescaler"/>
            <Output signalId="PeriphCLK" to="TimPrescOut2"/>
        </Element>
        <Element id="TimPrescOut2" type="activeOutput" refParameter="APB2TimFreq_Value" x="1360" y="384">
            <Input signalId="PeriphCLK" from="TimPrescalerAPB2"/>
        </Element>
        <!--Main PLL-->
        <Tree id="PLL">
            <Element id="PLLN" type="multiplicator" refParameter="PLLN" x="509" y="510" >
                <Input signalId="VCOInput" from="PLLM"/>
                <Output signalId="VCOOutput" to="PLLQ"/>
                <Output signalId="VCOOutput" to="PLLP"/>
                <Output signalId="VCOOutput" to="PLLR"/>
            </Element> 
            <Element id="PLLP" type="devisor" refParameter="PLLP" x="575" y="586" refEnable="ADCEnable,MCOEnable">
                <Input signalId="VCOOutput" from="PLLN"/>
                <Output signalId="PLLPCLK" to="ADCMult"/>
                <Output signalId="PLLPCLK" to="MCOMult"/>           
                <Output signalId="PLLPCLK" to="PLLPoutput"/>         
            </Element>
            <Element id="PLLPoutput" type="output" refParameter="PLLPoutputFreq_Value" x="641" y="585" refEnable="ADCEnable,MCOEnable">
                <Input signalId="PLLPCLK" from="PLLP"/>
            </Element>

            <Element id="PLLQ" type="devisor" refParameter="PLLQ" x="575" y="548" refEnable="RNGEnable,MCOEnable,I2S2Enable">
                <Input signalId="VCOOutput" from="PLLN"/>
                <Output signalId="PLLQCLK" to="MCOMult"/> 
                <Output signalId="PLLQCLK" to="PLLQoutput"/>
                <Output signalId="PLLQCLK" to="RNGCLockSelection"/>
                <Output signalId="PLLQCLK" to="I2S2Mult"/>
            </Element>
            <Element id="PLLQoutput" type="output" refParameter="PLLQoutputFreq_Value" x="641" y="547" refEnable="RNGEnable,MCOEnable,I2S2Enable">
                <Input signalId="PLLQCLK" from="PLLQ"/>
            </Element>
				

            <Element id="PLLR" type="devisor" refParameter="PLLR" x="575" y="510" >
                <Input signalId="VCOOutput" from="PLLN"/>
                <Output signalId="PLLCLK" to="SysClkSource"/>
                <Output signalId="PLLCLK" to="MCOMult"/>

       
            </Element>
        </Tree>
        		    
    </Tree>
    <Signals>
        <Signal id="HSE" refParameter="HSE_VALUE"/>
        <Signal id="LSI"/>
        <Signal id="LSIDUAL"/>
        <Signal id="LSE" refParameter="LSE_VALUE"/>
        <Signal id="MSI"/>
        <Signal id="HSI" refParameter="HSI_VALUE"/>
        <Signal id="SYSCLKInput"/>
        <Signal id="HSIDivclk"/>
        <Signal id="SYSCLK"/>
        <Signal id="PLLSRC"/>
        <Signal id="HSE_RTC"/>
        <Signal id="RTCCLK"/>
        <Signal id="USART1CLK"/>
        <Signal id="USART2CLK"/>
        <Signal id="LPUART1CLK"/>
        <Signal id="LPTIM1CLK"/>
        <Signal id="LPTIM2CLK"/>
        <Signal id="LPTIM3CLK"/>
        <Signal id="I2C2CLK"/>
        <Signal id="I2C1CLK"/>
        <Signal id="I2C3CLK"/> 
        <Signal id="ADCCLK"/>
        <Signal id="HCLK2" refParameter="HCLK2Freq_Value"/>
        <Signal id="AHB2CLK2"/>
        <Signal id="MCO1DivInput"/>
        <Signal id="MCO1DivOuput"/>
        <Signal id="HCLK"/>
        <Signal id="AHBCLK"/>
        <Signal id="AHBCLK2"/>
        <Signal id="HCLK3"/>
        <Signal id="PCLK1"/>
        <Signal id="TimCLK"/>
        <Signal id="PCLK2"/>
        <Signal id="RNGDivClk"/>
        <Signal id="RNGCLK"/>
        <Signal id="PeriphCLK"/>
        <Signal id="LSCOInput"/>
        <Signal id="I2S2CLK"/>
        <Signal id="HSEP"/>
        <Signal id="VCOInput"      refParameter="VCOInputFreq_Value"/>
        <Signal id="VCOOutput"     refParameter="VCOOutputFreq_Value"/>
        <Signal id="PLLPCLK"       refParameter="PLLPoutputFreq_Value"/>
        <Signal id="PLLQCLK"       refParameter="PLLQoutputFreq_Value"/>
        <Signal id="PLLCLK"        refParameter="PLLRCLKFreq_Value"/>
        <Signal id="I2SExtClock"/>
    </Signals>
	
    <!-- PLLs output 	label -->
    <Label id="PLLQPoutputLabel"     type="info" text="PLLQ"         posX="641" posY="535"/>
    <Label id="PLLPPoutputLabel"     type="info" text="PLLP"         posX="641" posY="574"/>


    <!-- freq value label -->
    <Label id="Power" type="SpecialInfo" posX="1420" posY="155" text="To Power (MHz)"/>
    <Label id="HCLK1" type="SpecialInfo" posX="1420" posY="188" text="HCLK to AHB bus, core, memory and DMA (MHz)"/>
    <Label id="timer" type="SpecialInfo" posX="1420" posY="222" text="To CPU1 System timer (MHz)">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="timer" type="SpecialInfo" posX="1420" posY="222" text="To CPU System timer (MHz)">
        <Condition Diagnostic="" Expression="!(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="FCLK" type="SpecialInfo" posX="1420" posY="255" text="To CPU1 FCLK (MHz)">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="FCLK" type="SpecialInfo" posX="1420" posY="255" text="To CPU FCLK (MHz)">
        <Condition Diagnostic="" Expression="!(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="HCLK4" type="SpecialInfo" posX="1420" posY="289" text="APB1 peripheral clocks (MHz)"/>
    <Label id="HCLK5" type="SpecialInfo" posX="1420" posY="322" text="APB1 Timer clocks (MHz)"/>
    <Label id="HCLK6" type="SpecialInfo" posX="1420" posY="358" text="APB2 peripheral clocks (MHz)"/>
    <Label id="HCLK7" type="SpecialInfo" posX="1420" posY="393" text="APB2 timer clocks (MHz)"/>
    <Label id="CPU2HCLK" type="SpecialInfo" posX="1420" posY="433" text="To CPU2 System timer (MHz)">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="CPU2FCLK" type="SpecialInfo" posX="1420" posY="468" text="To CPU2 FCLK (MHz)">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="HCLKS" type="SpecialInfo" posX="1420" posY="499" text="To HCLK3, Flash, SRAM2 (MHz)">
    </Label>
    <Label id="HCLKS" type="SpecialInfo" posX="1420" posY="530" text="To APB3 (MHz)">
    </Label>
	
    <!--RTC labels-->
    <Label id="RTCMux" type="muxLabel" posX="511" posY="144" text="RTC/LCD Source Mux" refEnable="RTCEnable,LCDEnable">
        <Condition Diagnostic="" Expression="(LCD_Exist)"/>
    </Label>
    <Label id="RTCMuxLabel"       type="muxLabel"    text="RTC Clock Mux" posX="511" posY="144" refEnable="RTCEnable,LCDEnable">
        <Condition Diagnostic="" Expression="!(LCD_Exist)"/>
    </Label>
    <Label id="RTCOutputLabel"    type="SpecialInfo" text="To RTC (KHz)"  posX="672" posY="204" refEnable="RTCEnable"/>
    <Label id="RTCOutputLabel"    type="SpecialInfo" text="To LCD (KHz)"  posX="672" posY="170" refEnable="LCDEnable"/>
    <Label id="LSEForRTCLabel"    type="signal"      text="LSE"     posX="503" posY="195" refEnable="EnableLSERTC,EnableLSELCD"/>
    <Label id="LSIForRTCLabel"    type="signal"      text="LSI"     posX="503" posY="226" refEnable="RTCEnable,LCDEnable"/>
    <Label id="HSEForRTCLabel"    type="signal"      text="HSE"     posX="385" posY="160" refEnable="EnableHSERTCDevisor,EnableHSELCDDevisor"/>
    <Label id="HSERTCForRTCLabel" type="signal"      text="HSE_RTC" posX="479" posY="160" refEnable="EnableHSERTCDevisor,EnableHSELCDDevisor"/>
    <!--sysclock labels-->
    <Label id="SystemCLKMuxLabel" type="muxLabel" posX="639" posY="362" text="System Clock Mux"/>
    <Label id="SystemHSILabel"    type="signal"   posX="662" posY="382" text="MSI"/>
    <Label id="SystemHSELabel"    type="signal"   posX="662" posY="410" text="HSI" />
    <Label id="SystemPLLCLKLabel" type="signal"   posX="642" posY="435" text="HSE_SYS"/>
    <Label id="SystemPLLCLKLabel" type="signal"   posX="652" posY="458" text="PLLCLK"/>
    <Label id="SYSCLKLabel"       type="info"     posX="729" posY="410" text="SYSCLK (MHz)"/>
    <!--PLL Source labels-->
    <Label id="PLLSourcMuxLabel"    type="muxLabel" text="PLL Source Mux" posX="375" posY="453"/>
    <Label id="PLLSourcMuxMSILabel" type="signal"   text="MSI"            posX="368" posY="470"/>
    <Label id="PLLSourcMuxHSILabel" type="signal"   text="HSI"            posX="368" posY="502"/>
    <!--Label id="PLLSourcMuxHSELabel" type="signal"   text="HSE"  		  posX="368" posY="538" refEnable="EnableHSE"/-->
    <!--Main PLL labels-->
    <Label id="PLLMLabel"       type="info" text="PLLM"     posX="440" posY="496"/>
    <Label id="PLLNLabel"       type="info" text="*N"       posX="520" posY="533"/>
    <Label id="PLLPLabel"       type="info" text="/R"       posX="595" posY="533"/>
    <Label id="PLLQLabel"       type="info" text="/Q"       posX="595" posY="568"/>
    <Label id="PLLRLabel"       type="info" text="/P"       posX="595" posY="611"/>
    <Label id="PLLLabel"        type="info" text="PLL"      posX="510" posY="591"/>


    <!-- source constraint label -->
    <Label id="HSIRCLabel"    type="info"       posX="302" posY="490" text="HSI RC"/>
    <Label id="HSIRCCstLabel" type="constraint" posX="302" posY="530" text="16 MHz"/> 
    <Label id="MSIRCLabel"    type="info"       posX="302" posY="377" text="MSI RC"/>
    <Label id="MSIRCCstLabel" type="constraint" posX="302" posY="415" text="KHz"/>
    <Label id="LSI_RCLabel"   type="Info"       posX="302" posY="222" text="LSI RC"/>
    <Label id="LSI_RCcST"     type="constraint" posX="302" posY="260" text="32 KHz"/>
    
     <Label id="HSEP"    type="Info"       posX="314" posY="570" text="HSE PRES">
    </Label> 
    <!--LSCO label-->
    <Label id="LSCOLabel"       type="info"     text="(MHz) LSCO"      posX="227" posY="1165" refEnable="LSCOEnable"/>
    <Label id="LSCOMuxLabel"    type="muxLabel" text="LSCO Source Mux" posX="655" posY="1095"  refEnable="LSCOEnable"/>
    <Label id="LSCOLSELabel"    type="signal"   text="LSE"             posX="710" posY="1175"  refEnable="LSCOEnable"/>
    <Label id="LSCOLSILabel"    type="signal"   text="LSI"             posX="710" posY="1135"  refEnable="LSCOEnable"/>
    <!-- IWDG -->
    <Label id="ToIWDGLabel" type="SpecialInfo" text="To IWDG (KHz)" posX="672" posY="315" refEnable="IWDGEnable"/>
	
    <!--USART1 mux-->
    <Label id="USART1MUXLabel"    type="muxLabel"    text="USART1 Clock Mux" posX="1250" posY="575" refEnable="USART1Enable"/>
    <Label id="USART1Output"      type="SpecialInfo" text="To USART1 (MHz)"  posX="1415" posY="643" refEnable="USART1Enable"/> 	
    <Label id="USART1SYSCLKLabel" type="signal"      text="PCLK2"            posX="1260" posY="595" refEnable="USART1Enable"/>
    <Label id="USART1HSILabel"    type="signal"      text="SYSCLK"           posX="1260" posY="620" refEnable="USART1Enable"/>
    <Label id="USART1LSELabel"    type="signal"      text="HSI"              posX="1260" posY="645" refEnable="USART1Enable"/>
    <Label id="USART1PCLK1Label"  type="signal"      text="LSE"              posX="1260" posY="670" refEnable="USART1Enable"/>

	<!--LPTIM1 mux-->
    <Label id="LPTIM1MUXLabel"    type="muxLabel"    text="LPTIM1 Clock Mux" posX="1130" posY="918" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1Output"      type="SpecialInfo" text="To LPTIM1 (MHz)"  posX="1415" posY="986" refEnable="LPTIM1Enable"/> 	
    <Label id="LPTIM1SYSCLKLabel" type="signal"      text="PCLK1"           posX="1142" posY="938" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1HSILabel"    type="signal"      text="LSI"              posX="1142" posY="963" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1LSELabel"    type="signal"      text="HSI"               posX="1142" posY="988" refEnable="LPTIM1Enable"/>
    <Label id="LPTIM1PCLK1Label"  type="signal"      text="LSE"              posX="1142" posY="1013" refEnable="LPTIM1Enable"/>
    
    
    <Label id="USART2"    type="muxLabel"    text="USART2 Clock Mux" posX="1130" posY="635" refEnable="USART2Enable"/>
    <Label id="USART2"      type="SpecialInfo" text="To USART2 (MHz)"  posX="1415" posY="703" refEnable="USART2Enable"/> 	
    <Label id="USART2" type="signal"      text="PCLK1"           posX="1142" posY="655" refEnable="USART2Enable"/>
    <Label id="USART2"    type="signal"      text="SYSCLK"              posX="1142" posY="680" refEnable="USART2Enable"/>
    <Label id="USART2"    type="signal"      text="HSI"               posX="1142" posY="705" refEnable="USART2Enable"/>
    <Label id="USART2"  type="signal"      text="LSE"              posX="1142" posY="730" refEnable="USART2Enable"/>

    <!--LPUART1 mux-->
    <Label id="LPUART1MUXLabel"    type="muxLabel"    text="LPUART1 Clock Mux" posX="1130" posY="775" refEnable="LPUART1Enable"/>
    <Label id="LPUART1Output"      type="SpecialInfo" text="To LPUART1 (MHz)"  posX="1415" posY="843" refEnable="LPUART1Enable"/> 	
    <Label id="LPUART1SYSCLKLabel" type="signal"      text="PCLK1"             posX="1142" posY="795" refEnable="LPUART1Enable"/>
    <Label id="LPUART1HSILabel"    type="signal"      text="SYSCLK"            posX="1142" posY="820" refEnable="LPUART1Enable"/>
    <Label id="LPUART1LSELabel"    type="signal"      text="HSI"               posX="1142" posY="845" refEnable="LPUART1Enable"/>
    <Label id="LPUART1PCLK1Label"  type="signal"      text="LSE"               posX="1142" posY="870" refEnable="LPUART1Enable"/>
	
    <!--LPTIM2 mux-->
    <Label id="LPTIM2MUXLabel"    type="muxLabel"    text="LPTIM2 Clock Mux"  posX="1250" posY="715"  refEnable="LPTIM2Enable"/>
    <Label id="LPTIM2Output"      type="SpecialInfo" text="To LPTIM2 (MHz)"   posX="1415" posY="783"  refEnable="LPTIM2Enable"/> 	
    <Label id="LPTIM2SYSCLKLabel" type="signal"      text="PCLK1"             posX="1260" posY="735"  refEnable="LPTIM2Enable"/>
    <Label id="LPTIM2HSILabel"    type="signal"      text="LSI"               posX="1260" posY="760"  refEnable="LPTIM2Enable"/>
    <Label id="LPTIM2LSELabel"    type="signal"      text="HSI"               posX="1260" posY="785"  refEnable="LPTIM2Enable"/>
    <Label id="LPTIM2PCLK1Label"  type="signal"      text="LSE"               posX="1260" posY="810" refEnable="LPTIM2Enable"/>
    
    <Label id="LPTIM3"    type="muxLabel"    text="LPTIM3 Clock Mux"  posX="1250" posY="865"  refEnable="LPTIM3Enable"/>
    <Label id="LPTIM3"    type="SpecialInfo" text="To LPTIM3 (MHz)"   posX="1415" posY="930"  refEnable="LPTIM3Enable"/> 	
    <Label id="LPTIM3"    type="signal"      text="PCLK1"             posX="1260" posY="885"  refEnable="LPTIM3Enable"/>
    <Label id="LPTIM3"    type="signal"      text="LSI"               posX="1260" posY="910"  refEnable="LPTIM3Enable"/>
    <Label id="LPTIM3"    type="signal"      text="HSI"               posX="1260" posY="935"  refEnable="LPTIM3Enable"/>
    <Label id="LPTIM3"    type="signal"      text="LSE"               posX="1260" posY="960" refEnable="LPTIM3Enable"/>

    <!--I2C2 mux-->
    <Label id="I2C2MUXLabel"    type="muxLabel"    text="I2C2 Clock Mux" posX="830" posY="715" refEnable="I2C2Enable"/>
    <Label id="I2C2Output"      type="SpecialInfo" text="To I2C2 (MHz)"  posX="993" posY="783" refEnable="I2C2Enable"/> 	
    <Label id="I2C2SYSCLKLabel" type="signal"      text="PCLK1"          posX="834" posY="737" refEnable="I2C2Enable"/>
    <Label id="I2C2HSILabel"    type="signal"      text="SYSCLK"         posX="834" posY="772" refEnable="I2C2Enable"/>
    <Label id="I2C2PCLK1Label"  type="signal"      text="HSI"            posX="834" posY="807" refEnable="I2C2Enable"/>
  
    <!--I2C3 mux-->
    <Label id="I2C3MUXLabel"    type="muxLabel"    text="I2C3 Clock Mux" posX="830" posY="855" refEnable="I2C3Enable"/>
    <Label id="I2C3Output"      type="SpecialInfo" text="To I2C3 (MHz)"  posX="993" posY="928" refEnable="I2C3Enable"/> 	
    <Label id="I2C3SYSCLKLabel" type="signal"      text="PCLK1"          posX="834" posY="877" refEnable="I2C3Enable"/>
    <Label id="I2C3HSILabel"    type="signal"      text="SYSCLK"         posX="834" posY="912" refEnable="I2C3Enable"/>
    <Label id="I2C3PCLK1Label"  type="signal"      text="HSI"            posX="834" posY="947" refEnable="I2C3Enable"/>

    <Label id="I2C1"  type="muxLabel"    text="I2C1 Clock Mux"     posX="745" posY="635" refEnable="I2C3Enable"/>
    <Label id="I2C1"  type="SpecialInfo" text="To I2C1 (MHz)"      posX="993" posY="703" refEnable="I2C1Enable"/>
    <Label id="I2C1"  type="signal"      text="PCLK1"              posX="748" posY="660" refEnable="I2C1Enable"/>
    <Label id="I2C1"  type="signal"      text="SYSCLK"             posX="748" posY="690" refEnable="I2C1Enable"/>
    <Label id="I2C1"  type="signal"      text="HSI"                posX="748" posY="725" refEnable="I2C1Enable"/>
    
    <Label id="I2S2"    type="muxLabel"    text="SPI2S2 Clock Mux" posX="745" posY="775" refEnable="I2S2Enable"/>
    <Label id="I2S2"      type="SpecialInfo" text="To SPI2S2 (MHz)"  posX="993" posY="843" refEnable="I2S2Enable"/> 	
    <Label id="I2S2"    type="signal"      text="PLLQ"           posX="748" posY="800" refEnable="I2S2Enable"/>
    <Label id="I2S2"  type="signal"      text="HSI"            posX="748" posY="840" refEnable="I2S2Enable"/>
    <Label id="I2S2"  type="signal"      text="I2S_CKIN"       posX="738" posY="870" refEnable="I2S2Enable"/>
    
    
    <Label id="ADCMUXLabel"    type="muxLabel"    text="RNG Clock Mux"  posX="880" posY="525"  refEnable="RNGEnable"/>
    <Label id="ADCOutput"      type="SpecialInfo" text="To RNG (MHz)"  posX="1045" posY="590" refEnable="RNGEnable"/> 	
    <Label id="ADCSYSCLKLabel" type="signal"      text="PLLQ"      posX="880" posY="545"  refEnable="RNGEnable"/>
    <Label id="ADCHSILabel"    type="signal"      text="LSI"       posX="880" posY="570" refEnable="RNGEnable"/>
    <Label id="ADCHSILabel"    type="signal"      text="LSE"       posX="880" posY="595" refEnable="RNGEnable"/>
    <Label id="ADCHSILabel"    type="signal"      text="MSI"       posX="880" posY="620" refEnable="RNGEnable"/> 
    
    
    <!--ADC mux-->
    <Label id="ADCMUXLabel"    type="muxLabel"    text="ADC Clock Mux"  posX="830" posY="1000"  refEnable="ADCEnable"/>
    <Label id="ADCOutput"      type="SpecialInfo" text="To ADC (MHz)"  posX="993" posY="1063" refEnable="ADCEnable"/>
    <Label id="ADCSYSCLKLabel" type="signal"      text="HSI"      posX="834" posY="1025"  refEnable="ADCEnable"/>	
    <Label id="ADCSYSCLKLabel" type="signal"      text="SYSCLK"      posX="834" posY="1090"  refEnable="ADCEnable"/>
    <Label id="ADCHSILabel"    type="signal"      text="PLLP"       posX="834" posY="1055" refEnable="ADCEnable"/> 
    
   <!--MCO label-->
    <Label id="MCOLabel"       type="info"     text="(MHz) MCO"      posX="230" posY="1010" refEnable="MCOEnable"/>
    <Label id="MCOMuxLabel"    type="muxLabel" text="MCO Source Mux" posX="467" posY="895"  refEnable="MCOEnable"/>
    <Label id="MCOLSELabel"    type="signal"   text="LSE"            posX="549" posY="920"  refEnable="MCOEnable"/>
    <Label id="MCOLSILabel"    type="signal"   text="LSI"            posX="549" posY="945"  refEnable="MCOEnable"/>
    <Label id="MCOHSELabel"    type="signal"   text="HSE"            posX="546" posY="970"  refEnable="MCOEnable"/>
    <Label id="MCOHSILabel"    type="signal"   text="HSI 16"         posX="535" posY="995" refEnable="MCOEnable"/>
    <Label id="MCOPLLCLKLabel" type="signal"   text="PLLCLK"         posX="533" posY="1020" refEnable="MCOEnable"/>
    <Label id="MCOSYSCLKLabel" type="signal"   text="SYSCLK"         posX="529" posY="1045" refEnable="MCOEnable"/>
    <Label id="MCOMSILabel"    type="signal"   text="MSI"            posX="545" posY="1070" refEnable="MCOEnable"/> 
    <Label id="MCOMSILabel"    type="signal"   text="PLLP"         posX="535" posY="1098" refEnable="MCOEnable"/> 
    <Label id="MCOMSILabel"    type="signal"   text="PLLQ"         posX="535" posY="1120" refEnable="MCOEnable"/>
    <!-- APB label -->
    <Label id="APB1Presc" type="Info" posX="1015" posY="265" text="APB1 Prescaler"/>
    <Label id="APB2Presc" type="Info" posX="1015" posY="335" text="APB2 Prescaler"/>
	
    <Label id="ABP1labelPCLK1" type="signal" text="PCLK1" posX="1170" posY="280" />
    <Label id="ABP2labelPCLK2" type="signal" text="PCLK2" posX="1170" posY="350" />
	
    <Label id="HCLKLabel"         type="info" posX="940" posY="165" text="HCLK1 (MHz)"/>
    <Label id="AHBPrescalerLabel" type="info" posX="845" posY="165" text="CPU1 HPRE">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="AHBPrescalerLabel" type="info" posX="845" posY="165" text="CPU HPRE">
        <Condition Diagnostic="" Expression="!(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
	
    <Label id="HCLKLabel"         type="info" posX="940" posY="410" text="HCLK2 (MHz)">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <Label id="AHBPrescalerLabel" type="info" posX="845" posY="410" text="CPU2 HPRE">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
	
    <Label id="AHBPrescalerLabel" type="info" posX="845" posY="480" text="HCLK3 HPRE">
    </Label>
    <Label id="AHBMaxLimitConstraint"  type="dynamiConstraint" posX="940"  posY="210" text="48 MHz max"/>
    <Label id="APB1MaxLimitConstraint" type="dynamiConstraint" posX="1170" posY="295" text="48 MHz max"/>
    <Label id="APB2MaxLimitConstraint" type="dynamiConstraint" posX="1170" posY="365" text="48 MHz max"/>
	
    <Label id="HCLK2"  type="dynamiConstraint" posX="940"  posY="460" text="48 MHz max">
        <Condition Diagnostic="" Expression="(STM32WL5x &amp; !S_SINGLE_CORE)"/>
    </Label>
    <BButton id="CSSEnable" text="CSS" refParameter="EnbaleCSS" x="675" y="507">
    </BButton>
    <BButton id="CSSLSEEnable" text="CSS" refParameter="EnableCSSLSE" x="525" y="273">

    </BButton>

	
 

</Clock>
