<?xml version="1.0" encoding="UTF-8" standalone="no"?><Clock xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" savedConfig="false" xsi:noNamespaceSchemaLocation="file:///C:/Users/ennarolf/Desktop/ToAchieve/xsd/MCU_Clock.xsd">

	<Background imageName="STM32F303xEwithTimer20andADC34" name="STM32F303xEwithTimer20andADC34" x="543" y="590">
        <Condition Diagnostic="" Expression="ADC3_Exist &amp; TIM20_Exist"/>
    </Background> 	
<Background imageName="STM32F303xEwithoutTimer20andADC34" name="STM32F303xEwithoutTimer20andADC34" x="543" y="590">
        <Condition Diagnostic="" Expression="ADC3_Exist &amp; !TIM20_Exist"/>
    </Background> 	  
    <Background imageName="STM32F303EwithoutUSB" name="STM32F303EwithoutUSB" x="543" y="477">
        <Condition Diagnostic="" Expression="USB_Exist"/>
    </Background> 
    <Tree id="ClockTree">
        <!--clock source-->
        <!--HSI ***DiviseurPLL,FLITFCLK,I2C1,I2C2,SYSclock,USART(1..5),MCOMult***-->
        <Element id="HSIRC" isKey="true" refParameter="HSI_VALUE" type="fixedSource" x="300" y="355">
            <Output signalId="HSI8" to="PLLSource"/>
            <Output signalId="HSI8" to="SysClkSource"/>
            <Output signalId="HSI8" to="MCOMult"/>
            <Output signalId="HSI8" to="I2C1Mult"/>
            <Output signalId="HSI8" to="I2C2Mult"/>
            <Output signalId="HSI8" to="I2C3Mult"/>
            <Output signalId="HSI8" to="USART1Mult"/>
            <Output signalId="HSI8" to="USART2Mult"/>
            <Output signalId="HSI8" to="USART3Mult"/>
            <Output signalId="HSI8" to="UART4Mult"/>
            <Output signalId="HSI8" to="UART5Mult"/>
            <Output signalId="HSI8" to="FLITFCLKoutput"/>
        </Element>
     
        <Element id="FLITFCLKoutput" refParameter="FLITFCLKFreq_Value" type="output" x="575" y="306">
            <Input from="HSIRC" signalId="HSI8"/>
        </Element>
        <!--LSI ***IWDG,RTC,MCOMult***-->
        <Element id="LSIRC" refParameter="LSI_VALUE" type="fixedSource" x="300" y="253">
            <Output signalId="LSI" to="IWDGOutput"/>
            <Output signalId="LSI" to="RTCClkSource"/>
            <Output signalId="LSI" to="MCOMult"/>
        </Element>
      
        <!--LSE ***IWDG,USART(1..5)***-->
        <Element id="LSEOSC" refEnable="EnableLSE" refParameter="LSE_VALUE" type="variedSource" x="205" y="213">
         
            <Output signalId="LSE" to="RTCClkSource"/>
            <Output signalId="LSE" to="USART1Mult"/>
            <Output signalId="LSE" to="USART2Mult"/>
            <Output signalId="LSE" to="USART3Mult"/>
            <Output signalId="LSE" to="UART4Mult"/>
            <Output signalId="LSE" to="UART5Mult"/>
            <Output signalId="LSE" to="MCOMult"/>
        </Element>
        <!--HSE ***DiviseurRTC,DiviseurPLL,SYSclock,MCOMult***-->
        <Element id="HSEOSC" refEnable="EnableHSE" refParameter="HSE_VALUE" type="variedSource" x="205" y="508">
            <Output signalId="HSE" to="SysClkSource"/>
            <Output signalId="HSE" to="HSERTCDevisor"/>
            <Output signalId="HSE" to="PLLSource"/>
            <Output signalId="HSE" to="MCOMult"/>
        </Element>
     
      




        <!--PLLsource MULtiplicateur***SYSclock,DiviseurMCOMult,DiviseurUSB*** -->
        <!--USBprescaler input**PLL** output**USBoutput**-->
        <Element id="PRESCALERUSB" refEnable="USBEnable" refParameter="PRESCALERUSB" type="devisor" x="630" y="494">
            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="USBCLK" to="USBoutput"/>
        </Element>
        <Element id="USBoutput" refEnable="USBEnable" refParameter="USBFreq_Value" type="activeOutput" x="730" y="492">
            <Input from="PRESCALERUSB" signalId="USBCLK"/>
        </Element>

        <!--SYSclock input**HSI,HSE,PLLsource** output**AHB,MCOMult,USART(1..5),I2C1,I2C2,I2S**-->
        <Element id="SysClkSource" refParameter="SYSCLKSourceVirtual" type="multiplexor" x="644" y="356">
            <Input from="HSIRC" refValue="RCC_SYSCLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="HSEOSC" refValue="RCC_SYSCLKSOURCE_HSE" signalId="HSE"/>
            <Input from="PLLMUL" refValue="RCC_SYSCLKSOURCE_PLLCLK" signalId="PLLCLK"/>
            <Output signalId="SYSCLK" to="SysCLKOutput"/>
        </Element>
        <!--SYSclock output-->
        <Element id="SysCLKOutput" refParameter="SYSCLKFreq_VALUE" type="output" x="690" y="385">
            <Input from="SysClkSource" signalId="SYSCLK"/>
            <Output signalId="SYSCLKOUT" to="AHBPrescaler"/>
            <Output signalId="SYSCLKOUT" to="MCOMult"/>
            <Output signalId="SYSCLKOUT" to="USART1Mult"/>
            <Output signalId="SYSCLKOUT" to="USART2Mult"/>
            <Output signalId="SYSCLKOUT" to="USART3Mult"/>
            <Output signalId="SYSCLKOUT" to="UART4Mult"/>
            <Output signalId="SYSCLKOUT" to="UART5Mult"/>
            <Output signalId="SYSCLKOUT" to="I2C1Mult"/>
            <Output signalId="SYSCLKOUT" to="I2C2Mult"/>
            <Output signalId="SYSCLKOUT" to="I2C3Mult"/>
            <Output signalId="SYSCLKOUT" to="I2SSrc"/>
        </Element>
        <!--RTC-->
        <!-- diviseur de HSE pour RTC-->
        <Element id="HSERTCDevisor" refEnable="EnableHSERTCDevisor" refParameter="RCC_RTC_Clock_Source_FROM_HSE" type="devisor" x="405" y="178">
            <Input from="HSEOSC" signalId="HSE"/>
            <Output signalId="HSE_RTC" to="RTCClkSource"/>
        </Element>
        <!-- RTC input**DIviseur HSE,LSE,LSI** -->
        <Element id="RTCClkSource" refEnable="RTCEnable" refParameter="RTCClockSelection" type="multiplexor" x="530" y="184">
            <Input from="HSERTCDevisor" refValue="RCC_RTCCLKSOURCE_HSE_DIV32" signalId="HSE_RTC"/>
            <Input from="LSEOSC" refValue="RCC_RTCCLKSOURCE_LSE" signalId="LSE"/>
            <Input from="LSIRC" refValue="RCC_RTCCLKSOURCE_LSI" signalId="LSI"/>
            <Output signalId="RTCCLK" to="RTCOutput"/>
        </Element>

    
        <Element id="RTCOutput" refEnable="RTCEnable" refParameter="RTCFreq_Value" type="output" x="575" y="215">
            <Input from="RTCClkSource" signalId="RTCCLK"/>
        </Element>
        <!-- IWDG input**LSI** -->
        <Element id="IWDGOutput" refEnable="IWDGEnable" refParameter="WatchDogFreq_Value" type="output" x="575" y="277">
            <Input from="LSIRC" signalId="LSI"/>
        </Element>
        <!-- MCO -->
        <!-- diviseur PLL et MCO -->
      
        <Element id="MCOMultDivisor" refEnable="MCOEnable" refParameter="RCC_MCOMult_Clock_Source_FROM_PLLMUL" type="devisor" x="500" y="903">
            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="PLLCLK_MCO" to="MCOMult"/>
        </Element>
        <!-- MCO input** LSI,HSE,HSI,PLLdiviseur,SYSclock -->
     
        <Element id="MCOMult" refEnable="MCOEnable" refParameter="RCC_MCOSource" type="multiplexor" x="467" y="830">
            <Input from="HSIRC" refValue="RCC_MCO1SOURCE_HSI" signalId="HSI8"/>
            <Input from="LSEOSC" refValue="RCC_MCO1SOURCE_LSE" signalId="LSE"/>
            <Input from="HSEOSC" refValue="RCC_MCO1SOURCE_HSE" signalId="HSE"/>
            <Input from="MCOMultDivisor" signalId="PLLCLK_MCO"/>
            <Input from="LSIRC" refValue="RCC_MCO1SOURCE_LSI" signalId="LSI"/>
            <Input from="SysCLKOutput" refValue="RCC_MCO1SOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="MCOout" to="MCODivisor"/>
        </Element>
      
        <Element id="MCODivisor" refEnable="MCOEnable" refParameter="RCC_MCODiv" type="devisor" x="390" y="885">
            <Input from="MCOMult" signalId="MCOout"/>
            <Output signalId="MCOoutDiv" to="MCOoutput"/>
        </Element>
        <Element id="MCOoutput" refEnable="MCOEnable" refParameter="MCOFreq_Value" type="output" x="311" y="883">
            <Input from="MCODivisor" signalId="MCOoutDiv"/>
        </Element>
       
        <!-- AHB Prescaler -->
        <!-- AHB input**SYSclock** -->
        <Element id="AHBPrescaler" refParameter="AHBCLKDivider" type="devisor" x="795" y="387">
            <Input from="SysCLKOutput" signalId="SYSCLKOUT"/>
            <Output signalId="HCLK" to="AHBOutput"/>
        </Element>
        <!-- AHB input**SYSclock** output**FHCLK,HCLK,Diviseurcortex,APB1,APB2 -->
        <Element id="AHBOutput" isKey="true" refParameter="HCLKFreq_Value" type="activeOutput" x="870" y="385">
            <Input from="AHBPrescaler" signalId="HCLK"/>
            <Output signalId="AHBCLK" to="FCLKCortexOutput"/>
            <Output signalId="AHBCLK" to="HCLKOutput"/>
            <Output signalId="AHBCLK" to="CortexPrescaler"/>
            <Output signalId="AHBCLK" to="APB1Prescaler"/>
            <Output signalId="AHBCLK" to="APB2Prescaler"/>
        </Element>
        <!-- HCLKout to AHB bus core memory input**AHP** -->
        <Element id="HCLKOutput" refParameter="AHBFreq_Value" type="activeOutput" x="1160" y="320">
            <Input from="AHBOutput" signalId="AHBCLK"/>
        </Element>
        <!-- FHCLKout corteex free running input**AHP** -->
        <Element id="FCLKCortexOutput" refParameter="FCLKCortexFreq_Value" type="activeOutput" x="1160" y="385">
            <Input from="AHBOutput" signalId="AHBCLK"/>
        </Element>
        <!-- diviseur cortex input**AHB**  -->
        <Element id="CortexPrescaler" refParameter="Cortex_Div" type="devisor" x="949" y="352">
            <Input from="AHBOutput" signalId="AHBCLK"/>
            <Output signalId="AHBCLK2" to="CortexSysOutput"/>
        </Element>
        <!-- diviseur cortex output to cortex system timer  -->
        <Element id="CortexSysOutput" refParameter="CortexFreq_Value" type="activeOutput" x="1160" y="352">
            <Input from="CortexPrescaler" signalId="AHBCLK2"/>
        </Element>
        <!--  ADCPrescaler input**PLL** output**ADCoutput**-->
        <Element id="ADC12PRES" refEnable="ADC1Enable,ADC2Enable" refParameter="ADC12PRES" type="devisor" x="630" y="535">
            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="ADC2CLK" to="ADC12output"/>
        </Element>
        
        <!--ADC MUX input**PRESADC1 from PLL ,PRESCADC2 from AHB** -->

        <Element id="ADC12output" refEnable="ADC1Enable,ADC2Enable" refParameter="ADC12outputFreq_Value" type="activeOutput" x="730" y="532">
            <Input from="ADC12PRES" signalId="ADC2CLK"/>
        </Element>
       
        <!--  ADCPrescaler input**PLL** output**ADCoutput**-->
        <Element id="ADC34PRES" refEnable="ADC3Enable,ADC4Enable" refParameter="ADC34PRES" type="devisor" x="630" y="580">
            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="ADC1CLK" to="ADC34output"/>
        </Element>
        <!--ADC MUX input**PRESADC1 from PLL ,PRESCADC2 from AHB** -->

        <Element id="ADC34output" refEnable="ADC3Enable,ADC4Enable" refParameter="ADC34outputFreq_Value" type="activeOutput" x="730" y="578">
            <Input from="ADC34PRES" signalId="ADC1CLK"/>
        </Element>

        <!--APB1-->
        <!--APB1 input **AHB** output**PCLK1,PRESCALER tim ,USART(2..5)-->
        <Element id="APB1Prescaler" refParameter="APB1CLKDivider" type="devisor" x="959" y="418">
            <Input from="AHBOutput" signalId="AHBCLK"/>
            <Output signalId="APB1PeriphClock" to="TimPrescalerAPB1"/>
            <Output signalId="PCLK1" to="APB1Output"/>
            <Output signalId="PCLK1" to="USART2Mult"/>
            <Output signalId="PCLK1" to="USART3Mult"/>
            <Output signalId="PCLK1" to="UART4Mult"/>
            <Output signalId="PCLK1" to="UART5Mult"/>
        </Element>
        <!--APB1 output PCLK1-->
        <Element id="APB1Output" refParameter="APB1Freq_Value" type="activeOutput" x="1160" y="415">
            <Input from="APB1Prescaler" signalId="PCLK1"/>
        </Element>
        <!--Diviseur TIM input**APB1**-->
        <Element id="TimPrescalerAPB1" refParameter="APB1TimCLKDivider" type="multiplicator" x="1040" y="455">
            <Input from="APB1Prescaler" signalId="APB1PeriphClock"/>
            <Output signalId="Tim1CLK" to="TimPrescOut1"/>
        </Element>
        <Element id="TimPrescOut1" refParameter="APB1TimFreq_Value" type="activeOutput" x="1160" y="457">
            <Input from="TimPrescalerAPB1" signalId="Tim1CLK"/>
            <Output signalId="Tim1CLKout" to="TIMMUX2"/>
            <Output signalId="Tim1CLKout" to="TIMMUX3"/>
           
        </Element>
		
		
	
        <!--APB2 input **AHB** output**PCLK2,PRESCALER tim ,USART(1)-->
        <Element id="APB2Prescaler" refParameter="APB2CLKDivider" type="devisor" x="959" y="488">
            <Input from="AHBOutput" signalId="AHBCLK"/>
            <Output signalId="APB2PeriphClock" to="TimPrescalerAPB2"/>
            <Output signalId="PCLK2" to="APB2Output"/>
            <Output signalId="PCLK2" to="USART1Mult"/>
        </Element>
        <Element id="APB2Output" refParameter="APB2Freq_Value" type="activeOutput" x="1160" y="485">
            <Input from="APB2Prescaler" signalId="PCLK2"/>
        </Element>
        <!--Diviseur TIM input**APB2**-->
        <Element id="TimPrescalerAPB2" refParameter="APB2TimCLKDivider" type="multiplicator" x="1040" y="527">
            <Input from="APB2Prescaler" signalId="APB2PeriphClock"/>
            <Output signalId="Tim2CLK" to="TimPrescOut2"/>
        </Element>

        <Element id="TimPrescOut2" refParameter="APB2TimFreq_Value" type="activeOutput" x="1160" y="527">
            <Input from="TimPrescalerAPB2" signalId="Tim2CLK"/>
            <Output signalId="Tim2CLKout" to="TIMMUX1"/>
            <Output signalId="Tim2CLKout" to="TIMMUX8"/>
            <Output signalId="Tim2CLKout" to="TIMMUX15"/>
            <Output signalId="Tim2CLKout" to="TIMMUX16"/>
            <Output signalId="Tim2CLKout" to="TIMMUX17"/>
            <Output signalId="Tim2CLKout" to="TIMMUX20"/>
        </Element>
        <!--multiplicateur TIM 1/8 input**PLL** output tim1/8-->
        <Element id="TIMMUL" refParameter="TIMMUL" type="multiplicator" x="640" y="636">
            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="TIMMULCLK" to="TIMMUX1"/>
            <Output signalId="TIMMULCLK" to="TIMMUX8"/>
            <Output signalId="TIMMULCLK" to="TIMMUX15"/>
            <Output signalId="TIMMULCLK" to="TIMMUX16"/>
            <Output signalId="TIMMULCLK" to="TIMMUX17"/>
            <Output signalId="TIMMULCLK" to="TIMMUX20"/>
            <Output signalId="TIMMULCLK" to="TIMMUX2"/>
            <Output signalId="TIMMULCLK" to="TIMMUX3"/>
            
        </Element>
        <!--TIM2 mux input**tim multiplicateur,APB2prescaler**-->
        <Element id="TIMMUX2" refEnable="Tim2Enable" refParameter="TIM2Selection" type="multiplexor" x="749" y="978">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

        
            <Input from="TIMMUL" refValue="RCC_TIM2CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut1" refValue="RCC_TIM2CLK_HCLK" signalId="Tim1CLKout"/>
            <Output signalId="TIM2MUXout" to="TIM2out"/>
        </Element>
        <Element id="TIM2out" refEnable="Tim2Enable" refParameter="TIM2Freq_Value" type="activeOutput" x="795" y="990">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>
            <Input from="TIMMUX2" signalId="TIM2MUXout"/>
        </Element>
		
		
        <Element id="TIMMUX2" refEnable="Tim2Enable" refParameter="TIM2Selection" type="multiplexor" x="750" y="866">
            
         
            <Input from="TIMMUL" refValue="RCC_TIM2CLK_PLLCLK" signalId="TIMMULCLK"/>
			 <Input from="TimPrescOut1" refValue="RCC_TIM2CLK_HCLK" signalId="Tim1CLKout"/>
            <Output signalId="TIM2MUXout" to="TIM2out"/>
        </Element>
        <Element id="TIM2out" refEnable="Tim2Enable" refParameter="TIM2Freq_Value" type="activeOutput" x="795" y="878">
            <Input from="TIMMUX2" signalId="TIM2MUXout"/>
        </Element>
		
        <!--TIM3 mux input**tim multiplicateur,APB2prescaler**-->
        <Element id="TIMMUX3" refEnable="Tim3Enable,Tim4Enable" refParameter="TIM34Selection" type="multiplexor" x="650" y="1030">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

    
            <Input from="TIMMUL" refValue="RCC_TIM34CLK_PLLCLK" signalId="TIMMULCLK"/>
			<Input from="TimPrescOut1" refValue="RCC_TIM34CLK_HCLK" signalId="Tim1CLKout"/>
            <Output signalId="TIM3MUXout" to="TIM3out"/>
        </Element>
        <Element id="TIM3out" refEnable="Tim3Enable,Tim4Enable" refParameter="TIM3Freq_Value" type="activeOutput" x="795" y="1043">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUX3" signalId="TIM3MUXout"/>
        </Element>
        <Element id="TIMMUX3" refEnable="Tim3Enable,Tim4Enable" refParameter="TIM34Selection" type="multiplexor" x="650" y="918">
            
         
            <Input from="TIMMUL" refValue="RCC_TIM34CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut1" refValue="RCC_TIM34CLK_HCLK" signalId="Tim1CLKout"/>
            <Output signalId="TIM3MUXout" to="TIM3out"/>
        </Element>
        <Element id="TIM3out" refEnable="Tim3Enable,Tim4Enable" refParameter="TIM3Freq_Value" type="activeOutput" x="795" y="930">

            <Input from="TIMMUX3" signalId="TIM3MUXout"/>
        </Element>
		
        <!--TIM1 mux input**tim multiplicateur,APB2prescaler**-->
        <Element id="TIMMUX1" refEnable="Tim1Enable" refParameter="TIM1Selection" type="multiplexor" x="749" y="645">
            
            <Input from="TIMMUL" refValue="RCC_TIM1CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM1CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM1MUXout" to="TIM1out"/>
        </Element>
        <Element id="TIM1out" refEnable="Tim1Enable" refParameter="TIM1Freq_Value" type="activeOutput" x="795" y="657">
            <Input from="TIMMUX1" signalId="TIM1MUXout"/>
        </Element>
        <!--TIM8 mux input**tim multiplicateur,APB2prescaler**-->
        <Element id="TIMMUX8" refEnable="Tim8Enable" refParameter="TIM8Selection" type="multiplexor" x="650" y="696">
         
            <Input from="TIMMUL" refValue="RCC_TIM8CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM8CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM8MUXout" to="TIM8out"/>
        </Element>
        <Element id="TIM8out" refEnable="Tim8Enable" refParameter="TIM8Freq_Value" type="activeOutput" x="795" y="708">
            <Input from="TIMMUX8" signalId="TIM8MUXout"/>
        </Element>
        <!--TIM15 for302xE line-->
        <Element id="TIMMUX15" refEnable="Tim15Enable" refParameter="TIM15Selection" type="multiplexor" x="749" y="755">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUL" refValue="RCC_TIM15CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM15CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM15MUXout" to="TIM15out"/>
        </Element>
        <Element id="TIM15out" refEnable="Tim15Enable" refParameter="TIM15Freq_Value" type="activeOutput" x="795" y="768">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUX15" signalId="TIM15MUXout"/>
        </Element>
        <Element id="TIMMUX15" refEnable="Tim15Enable" refParameter="TIM15Selection" type="multiplexor" x="650" y="696">
         
            <Input from="TIMMUL" refValue="RCC_TIM15CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM15CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM15MUXout" to="TIM15out"/>
        </Element>
        <Element id="TIM15out" refEnable="Tim15Enable" refParameter="TIM15Freq_Value" type="activeOutput" x="795" y="708">
            <Input from="TIMMUX15" signalId="TIM15MUXout"/>
        </Element>
		
        <!--TIM16 for302xE line-->

        <Element id="TIMMUX16" refEnable="Tim16Enable" refParameter="TIM16Selection" type="multiplexor" x="650" y="808">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUL" refValue="RCC_TIM16CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM16CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM16MUXout" to="TIM16out"/>
        </Element>
        <Element id="TIM16out" refEnable="Tim16Enable" refParameter="TIM16Freq_Value" type="activeOutput" x="795" y="820">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUX16" signalId="TIM16MUXout"/>
        </Element>
        <Element id="TIMMUX16" refEnable="Tim16Enable" refParameter="TIM16Selection" type="multiplexor" x="749" y="755">
		         

            <Input from="TIMMUL" refValue="RCC_TIM16CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM16CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM16MUXout" to="TIM16out"/>
        </Element>
        <Element id="TIM16out" refEnable="Tim16Enable" refParameter="TIM16Freq_Value" type="activeOutput" x="795" y="768">

            <Input from="TIMMUX16" signalId="TIM16MUXout"/>
        </Element>
        <Element id="TIMMUX17" refEnable="Tim17Enable" refParameter="TIM17Selection" type="multiplexor" x="749" y="866">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUL" refValue="RCC_TIM17CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM17CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM17MUXout" to="TIM17out"/>
        </Element>
        <Element id="TIM17out" refEnable="Tim17Enable" refParameter="TIM17Freq_Value" type="activeOutput" x="795" y="878">
            <Condition Diagnostic="" Expression="ADC3_Exist"/>

            <Input from="TIMMUX17" signalId="TIM17MUXout"/>
        </Element>
        <Element id="TIMMUX17" refEnable="Tim17Enable" refParameter="TIM17Selection" type="multiplexor" x="650" y="808">
				        

            <Input from="TIMMUL" refValue="RCC_TIM17CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM17CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM17MUXout" to="TIM17out"/>
        </Element>
        <Element id="TIM17out" refEnable="Tim17Enable" refParameter="TIM17Freq_Value" type="activeOutput" x="795" y="820">

            <Input from="TIMMUX17" signalId="TIM17MUXout"/>
        </Element>
        <Element id="TIMMUX20" refEnable="Tim20Enable" refParameter="TIM20Selection" type="multiplexor" x="650" y="918">
            <Input from="TIMMUL" refValue="RCC_TIM20CLK_PLLCLK" signalId="TIMMULCLK"/>
            <Input from="TimPrescOut2" refValue="RCC_TIM20CLK_HCLK" signalId="Tim2CLKout"/>
            <Output signalId="TIM20MUXout" to="TIM20out"/>
        </Element>
        <Element id="TIM20out" refEnable="Tim20Enable" refParameter="TIM20Freq_Value" type="activeOutput" x="795" y="930">
            <Input from="TIMMUX20" signalId="TIM20MUXout"/>
        </Element>
   
        <!-- Divers IP -->
        <!-- I2C1 -->
        <!-- I2C1 MUX input**HSI,SYSclock** -->
        <Element id="I2C1Mult" refEnable="I2C1Enable" refParameter="I2c1ClockSelection" type="multiplexor" x="852" y="168">
            <Input from="HSIRC" refValue="RCC_I2C1CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="SysCLKOutput" refValue="RCC_I2C1CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="I2C1CLK" to="I2C1Output"/>
        </Element>
     
         
       
        <Element id="I2C1Output" refEnable="I2C1Enable" refParameter="I2C1Freq_Value" type="activeOutput" x="1160" y="182">
            <Input from="I2C1Mult" signalId="I2C1CLK"/>
        </Element>
        <!-- I2C2 -->
        <!-- I2C2 MUX input**HSI,SYSclock** -->
        <Element id="I2C2Mult" refEnable="I2C2Enable" refParameter="I2c2ClockSelection" type="multiplexor" x="852" y="275">
            <Input from="HSIRC" refValue="RCC_I2C2CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="SysCLKOutput" refValue="RCC_I2C2CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="I2C2CLK" to="I2C2Output"/>
        </Element>
        <Element id="I2C2Output" refEnable="I2C2Enable" refParameter="I2C2Freq_Value" type="activeOutput" x="1160" y="288">
            <Input from="I2C2Mult" signalId="I2C2CLK"/>
        </Element>
        <!-- I2C3 -->
        <!-- I2C3 MUX input**HSI,SYSclock** -->
        <Element id="I2C3Mult" refEnable="I2C3Enable" refParameter="I2c3ClockSelection" type="multiplexor" x="960" y="227">
            <Input from="HSIRC" refValue="RCC_I2C3CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="SysCLKOutput" refValue="RCC_I2C3CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="I2C3CLK" to="I2C3Output"/>
        </Element>
        <Element id="I2C3Output" refEnable="I2C3Enable" refParameter="I2C3Freq_Value" type="activeOutput" x="1160" y="240">
            <Input from="I2C3Mult" signalId="I2C3CLK"/>
        </Element>
        <!-- I2S -->
        <!-- ExtPin-->
        <Element id="I2S_CKIN" refEnable="ExtClockEnable" refParameter="EXTERNAL_CLOCK_VALUE" type="variedSource" x="205" y="650">
            <!-- ExtPin-->

            <Output signalId="I2SExtClock" to="I2SSrc"/>

        </Element>
        <!-- I2S MUX input**extern clock,SYSclock** -->
        <Element id="I2SSrc" refEnable="I2SEnable" refParameter="I2SClockSource" type="multiplexor" x="355" y="657">
            <Input from="I2S_CKIN" refValue="RCC_I2SCLKSOURCE_EXT" signalId="I2SExtClock"/>
            <Input from="SysCLKOutput" refValue="RCC_I2SCLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="I2SCLK" to="I2SClocksOutput"/>
        </Element>

        <Element id="I2SClocksOutput" refEnable="I2SEnable" refParameter="I2SClocksFreq_Value" type="activeOutput" x="432" y="670">
            <Input from="I2SSrc" signalId="I2SCLK"/>
        </Element>
        <!-- USART -->
        <!-- USART1 input**SYSclock,PCLK2,HSI,LSE-->
        <Element id="USART1Mult" refEnable="USART1Enable" refParameter="Usart1ClockSelection" type="multiplexor" x="1105" y="599">
            <Input from="SysCLKOutput" refValue="RCC_USART1CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Input from="HSIRC" refValue="RCC_USART1CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="LSEOSC" refValue="RCC_USART1CLKSOURCE_LSE" signalId="LSE"/>
            <Input from="APB2Prescaler" refValue="RCC_USART1CLKSOURCE_PCLK2" signalId="PCLK2"/>
            <Output signalId="USART1CLK" to="USART1Output"/>
        </Element>
		
        <Element id="USART1Output" refEnable="USART1Enable" refParameter="USART1Freq_Value" type="activeOutput" x="1160" y="634">
            <Input from="USART1Mult" signalId="USART1CLK"/>
        </Element>
        <!-- USART2,3,4,5 input**SYSclock,PCLK1,HSI,LSE-->
        <Element id="USART2Mult" refEnable="USART2Enable" refParameter="Usart2ClockSelection" type="multiplexor" x="1010" y="708">
            <Input from="SysCLKOutput" refValue="RCC_USART2CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Input from="HSIRC" refValue="RCC_USART2CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="LSEOSC" refValue="RCC_USART2CLKSOURCE_LSE" signalId="LSE"/>
            <Input from="APB1Prescaler" refValue="RCC_USART2CLKSOURCE_PCLK1" signalId="PCLK1"/>
            <Output signalId="USART2CLK" to="USART2Output"/>
        </Element>
        <Element id="USART2Output" refEnable="USART2Enable" refParameter="USART2Freq_Value" type="activeOutput" x="1160" y="742">
            <Input from="USART2Mult" signalId="USART2CLK"/>
        </Element>
        <Element id="USART3Mult" refEnable="USART3Enable" refParameter="Usart3ClockSelection" type="multiplexor" x="1105" y="789">
            <Input from="SysCLKOutput" refValue="RCC_USART3CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Input from="HSIRC" refValue="RCC_USART3CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="LSEOSC" refValue="RCC_USART3CLKSOURCE_LSE" signalId="LSE"/>
            <Input from="APB1Prescaler" refValue="RCC_USART3CLKSOURCE_PCLK1" signalId="PCLK1"/>
            <Output signalId="USART3CLK" to="USART3Output"/>
        </Element>
        <Element id="USART3Output" refEnable="USART3Enable" refParameter="USART3Freq_Value" type="activeOutput" x="1163" y="825">
            <Input from="USART3Mult" signalId="USART3CLK"/>
        </Element>
        <Element id="UART4Mult" refEnable="UART4Enable" refParameter="Uart4ClockSelection" type="multiplexor" x="1010" y="898">
            <Input from="SysCLKOutput" refValue="RCC_UART4CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Input from="HSIRC" refValue="RCC_UART4CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="LSEOSC" refValue="RCC_UART4CLKSOURCE_LSE" signalId="LSE"/>
            <Input from="APB1Prescaler" refValue="RCC_UART4CLKSOURCE_PCLK1" signalId="PCLK1"/>
            <Output signalId="UART4CLK" to="UART4Output"/>
        </Element>
        <Element id="UART4Output" refEnable="UART4Enable" refParameter="UART4Freq_Value" type="activeOutput" x="1163" y="930">
            <Input from="UART4Mult" signalId="UART4CLK"/>
        </Element>
        <Element id="UART5Mult" refEnable="UART5Enable" refParameter="Uart5ClockSelection" type="multiplexor" x="1105" y="979">
            <Input from="SysCLKOutput" refValue="RCC_UART5CLKSOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Input from="HSIRC" refValue="RCC_UART5CLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="LSEOSC" refValue="RCC_UART5CLKSOURCE_LSE" signalId="LSE"/>
            <Input from="APB1Prescaler" refValue="RCC_UART5CLKSOURCE_PCLK1" signalId="PCLK1"/>
            <Output signalId="UART5CLK" to="UART5Output"/>
        </Element>
        <Element id="UART5Output" refEnable="UART5Enable" refParameter="UART5Freq_Value" type="activeOutput" x="1163" y="1013">
            <Input from="UART5Mult" signalId="UART5CLK"/>
        </Element>
        <Tree id="PLL">
            <!--PLLsource MUX source pour PLL mul-->
            <Element id="PLLSource" orientation="LEFT" refParameter="PLLSourceVirtual" type="multiplexor" x="386" y="478">
                <Input from="HSIRC" refValue="RCC_PLLSOURCE_HSI" signalId="HSI8"/>
                <Input from="HSEOSC" refValue="RCC_PLLSOURCE_HSE" signalId="HSE"/>
            
                <Output signalId="VCOInput" to="PLLDiv"/>
            </Element>
		
            <Element id="PLLDiv" refParameter="PLLDivider" type="devisor" x="415" y="495">
               
                <Input from="PLLSource" signalId="VCOInput"/>
                <Output signalId="VCO2divoutput" to="VCO2output"/>
           
            
            </Element>
		
		
		
            <Element id="VCO2output" refParameter="VCOOutput2Freq_Value" type="output" x="474" y="493">
                <Input from="PLLDiv" signalId="VCO2divoutput"/>
                <Output signalId="VCO2Input" to="PLLMUL"/>
            </Element>
            <Element id="PLLMUL" refParameter="PLLMUL" type="multiplicator" x="540" y="495">
                <Input from="VCO2output" signalId="VCO2Input"/>

                <Output signalId="PLLCLK" to="SysClkSource"/>
                <Output signalId="PLLCLK" to="MCOMultDivisor"/>
                <Output signalId="PLLCLK" to="PRESCALERUSB"/>
                <Output signalId="PLLCLK" to="ADC34PRES"/>
                <Output signalId="PLLCLK" to="ADC12PRES"/>
                <Output signalId="PLLCLK" to="TIMMUL"/>
                <Output signalId="PLLCLK" to="TIMMUX2"/>
                <Output signalId="PLLCLK" to="TIMMUX3"/>
            


            </Element>
        </Tree>
    </Tree>

    <Signals>
        <Signal id="HSI8" refParameter="HSI_VALUE"/>
        <Signal id="HSE" refParameter="HSE_VALUE"/>
        <Signal id="LSI" refParameter="LSI_VALUE"/>
        <Signal id="LSE" refParameter="LSE_VALUE"/>
        <Signal id="VCOInput" refParameter=""/>
       
        <Signal id="VCO2Input" refParameter="VCOOutput2Freq_Value"/>
        <Signal id="VCO2divoutput" refParameter="VCOOutput2Freq_Value"/>

        <Signal id="SYSCLK" refParameter=""/>
        <Signal id="SYSCLKOUT" refParameter="SYSCLKFreq_VALUE"/>
        <Signal id="USBCLK" refParameter=""/>
        <Signal id="ADC1CLK" refParameter=""/>
        <Signal id="ADC2CLK" refParameter=""/>
        <Signal id="HSE_RTC" refParameter="RTCHSEDivFreq_Value"/>
        <Signal id="RTCCLK" refParameter="RTCFreq_Value"/>
        <Signal id="PLLCLK_MCO" refParameter="PLLMCOFreq_Value"/>
        <Signal id="HCLK" refParameter="AHBFreq_Value"/>
        <Signal id="PLLCLK" refParameter="PLLCLKFreq_Value"/>

        <Signal id="AHBCLK"/>
        <Signal id="AHBCLK2" refParameter=""/>
        <Signal id="PCLK1" refParameter=""/>
        <Signal id="APB1PeriphClock" refParameter="APB1Freq_Value"/>
        <Signal id="Tim1CLK" refParameter=""/>
        <Signal id="Tim2CLKout" refParameter=""/>
        <Signal id="Tim1CLKout" refParameter=""/>
        <Signal id="TIMMULCLK" refParameter=""/>
        <Signal id="TIM1MUXout" refParameter=""/>
        <Signal id="TIM8MUXout" refParameter=""/>
        <Signal id="TIM15MUXout" refParameter=""/>
        <Signal id="TIM16MUXout" refParameter=""/>
        <Signal id="TIM17MUXout" refParameter=""/>
        <Signal id="TIM20MUXout" refParameter=""/>
        <Signal id="TIM2MUXout" refParameter=""/>
        <Signal id="TIM3MUXout" refParameter=""/>
        <Signal id="TIM4MUXout" refParameter=""/>
        <Signal id="PCLK2" refParameter=""/>
        <Signal id="APB2PeriphClock" refParameter="APB2Freq_Value"/>
        <Signal id="Tim2CLK"/>
        <Signal id="USART1CLK" refParameter="USART1Freq_Value"/>
        <Signal id="USART2CLK" refParameter="USART2Freq_Value"/>
        <Signal id="USART3CLK" refParameter="USART3Freq_Value"/>
        <Signal id="UART4CLK" refParameter="UART4Freq_Value"/>
        <Signal id="UART5CLK" refParameter="UART5Freq_Value"/>
        <Signal id="I2C1CLK" refParameter="I2C1Freq_Value"/>
        <Signal id="I2C2CLK" refParameter="I2C2Freq_Value"/>
        <Signal id="I2C3CLK" refParameter="I2C3Freq_Value"/>
        <Signal id="I2SCLK" refParameter=""/>
        <Signal id="MCOout" refParameter=""/>
        <Signal id="MCOoutDiv" refParameter=""/>
        <Signal id="I2SExtClock" refParameter=""/>
        <Signal id="TIMMUX1" refParameter=""/>
        <Signal id="TIMMUX8" refParameter=""/>
        <Signal id="TIMMUX15" refParameter=""/>
        <Signal id="TIMMUX16" refParameter=""/>
        <Signal id="TIMMUX17" refParameter=""/>
        <Signal id="TIMMUX20" refParameter=""/>



    </Signals>
   
    <Label id="RTCMuxLabel" posX="501" posY="157" refEnable="RTCEnable" text="RTC Clock Mux" type="muxLabel"/>
    <!--Element id="RTCClkSource" type="multiplexor" refParameter="RCC_RTC_Clock_Source" x="531" y="194" refEnable="EnableHSERTCDevisor"-->
    <Label id="LSEForRTCLabel" posX="490" posY="212" refEnable="EnableLSERTC" text="LSE" type="signal">
    </Label>
    <Label id="LSIForRTCLabel" posX="490" posY="247" refEnable="RTCEnable" text="LSI" type="signal">
    </Label>
   
    <Label id="HSEForRTCLabel" posX="375" posY="176" refEnable="EnableHSERTCDevisor" text="HSE" type="signal"/>
    <!--Element id="HSERTCDevisor" type="devisor" refParameter="RCC_RTC_Clock_Source_FROM_HSE" x="414" y="190" refEnable="EnableHSERTCDevisor"-->
    <Label id="HSERTCForRTCLabel" posX="466" posY="176" refEnable="EnableHSERTCDevisor" text="HSE_RTC" type="signal"/>
    
    <Label id="RTCOutputLabel" posX="635" posY="219" refEnable="RTCEnable" text="To RTC (KHz)" type="SpecialInfo">
    </Label>
    <!--Element id="RTCOutput" type="output" refParameter="RTCFreq_Value" x="586" y="222" refEnable="EnableHSERTCDevisor"-->
    <Label id="LSI_RCLabel" posX="302" posY="240" text="LSI RC" type="Info">
    </Label>
   
    
    <!--LSIRC<Element id="LSIRC" type="fixedSource" refParameter="LSI_VALUE" x="290" y="280" >-->
    <Label id="LSI_RCcST" posX="302" posY="275" text="40 KHz" type="constraint">
    </Label>

    
    <!--LSIRC<Element id="LSIRC" type="fixedSource" refParameter="LSI_VALUE" x="290" y="280" >-->
    <!-- IWDG -->
    <Label id="ToIWDGLabel" posX="635" posY="282" refEnable="IWDGEnable" text="To IWDG (KHz)" type="SpecialInfo"/>
    <!--FlitFCLK -->
    <Label id="ToFLITCLKLabel" posX="635" posY="311" text="To FLITFCLK (MHz)" type="SpecialInfo"/>
	
	
    <!--Block System Clock-->
    <!--Label id="" type="Info" posX="-180" posY="290" text="HSE frequency" /-->
    <Label id="I2C1OutputLabel" posX="1223" posY="187" refEnable="I2C1Enable" text="To I2C1 (MHz)" type="SpecialInfo">
    </Label>
    <Label id="I2C1MuxLabel" posX="812" posY="142" refEnable="I2C1Enable" text="I2C1 Clock Mux" type="SpecialInfo">
    </Label>
    <Label id="I2C1MuxHSILabel" posX="808" posY="158" refEnable="I2C1Enable" text="HSI" type="signal">
    </Label>
    <Label id="I2C1MuxSYSLabel" posX="808" posY="192" refEnable="I2C1Enable" text="SYSCLK" type="signal">
    </Label>
   

    
    <Label id="I2C2Label" posX="1223" posY="292" refEnable="I2C2Enable" text="To I2C2 (MHz)" type="SpecialInfo"/>
    <Label id="I2C2MuxLabel" posX="812" posY="245" refEnable="I2C2Enable" text="I2C2 Clock Mux" type="SpecialInfo"/>
    <Label id="I2C2MuxHSILabel" posX="808" posY="264" refEnable="I2C2Enable" text="HSI" type="signal"/>
    <Label id="I2C2MuxSYSLabel" posX="808" posY="301" refEnable="I2C2Enable" text="SYSCLK" type="signal"/>
    
    
    <Label id="I2C3Label" posX="1223" posY="246" refEnable="I2C3Enable" text="To I2C3 (MHz)" type="SpecialInfo">
    </Label>
    <Label id="I2C3MuxLabel" posX="925" posY="198" refEnable="I2C3Enable" text="I2C3 Clock Mux" type="SpecialInfo">
    </Label>
    <Label id="I2C3MuxHSILabel" posX="918" posY="215" refEnable="I2C3Enable" text="HSI" type="signal">
    </Label>
    <Label id="I2C3MuxSYSLabel" posX="918" posY="252" refEnable="I2C3Enable" text="SYSCLK" type="signal">
    </Label>
    <!--Element id="EthernetPtpOutput" type="activeOutput" refParameter="EthernetFreq_Value" x="1103" y="249"-->
    <Label id="HCLK1" posX="1223" posY="323" text="To AHB bus, core, memory and DMA (MHz)" type="SpecialInfo"/>
    <!--Element id="HCLKOutput" type="activeOutput" refParameter="HCLKFreq_Value" x="1102" y="280-->
    <Label id="HCLK2" posX="1223" posY="357" text="To Cortex System timer (MHz)" type="SpecialInfo"/>
    <!--Element id="CortexPrescaler" type="devisor" refParameter="Cortex_Div" x="959" y="316"-->
    <Label id="HCLK3" posX="1223" posY="389" text="FCLK Cortex clock (MHz)" type="SpecialInfo"/>
    <!--Element id="FCLKCortexOutput" type="activeOutput" refParameter="FCLKCortexFreq_Value" x="1102" y="350"-->
    <Label id="HCLK4" posX="1223" posY="419" text="APB1 peripheral clocks (MHz)" type="SpecialInfo"/>
    <!--Element id="APB1Output" type="activeOutput" refParameter="APB1Freq_Value" x="1102" y="386"-->
    <Label id="HCLK5" posX="1223" posY="460" text="APB1 timer clocks (MHz)" type="SpecialInfo"/>
    <!--Element id="TimPrescOut" type="activeOutput" refParameter="APB1TimFreq_Value" x="1102" y="418"-->
    <Label id="HCLK6" posX="1223" posY="489" text="APB2 peripheral clocks (MHz)" type="SpecialInfo"/>
    <Label id="HCLK7" posX="1223" posY="532" text="APB2 timer clocks (MHz)" type="SpecialInfo"/>
    <!--Element id="USBOTGOutput" type="activeOutput" refParameter="48MHZClocksFreq_Value" x="1101" y="520" refEnable="USBFSEnable"-->
    <!--Element id="I2SClocksOutput" type="output" refParameter="I2SClocksFreq_Value" x="1102" y="584" -->
    <Label id="APB1Presc" posX="955" posY="402" text="APB1 Prescaler" type="Info"/>
    <Label id="APB2Presc" posX="955" posY="469" text="APB2 Prescaler" type="Info"/>
    <!--constraint/Info SYSCLK-->
    <Label id="Cst1" posX="1050" posY="430" text="36 MHz max" type="constraint"/>
    <Label id="Cst2" posX="1050" posY="503" text="72 MHz max" type="constraint"/>
    <Label id="HCLKLabel" posX="870" posY="370" text="HCLK (MHz)" type="info"/>
    <Label id="HCLKCLabel" posX="867" posY="411" text="72 MHz max" type="constraint"/>
    <Label id="AHBPrescalerLabel" posX="790" posY="370" text="AHB Prescaler" type="info"/>
    <Label id="SYSCLKLabel" posX="688" posY="370" text="SYSCLK (MHz)" type="info"/>
    <Label id="SystemCLKMuxLabel" posX="600" posY="330" text="System Clock Mux" type="muxLabel"/>
    <Label id="SystemCLKHSILabel" posX="610" posY="346" text="HSI" type="signal"/>
    <Label id="SystemCLKHSELabel" posX="610" posY="382" refEnable="EnableHSE" text="HSE" type="signal"/>
    <Label id="SystemCLKPLLCLKLabel" posX="610" posY="417" text="PLLCLK" type="signal"/>
    <!--ADC labels-->
    <Label id="ADC1PrescalerLabel" posX="620" posY="520" refEnable="ADC1Enable,ADC2Enable" text="ADC1,2 Prescaler" type="info">
    </Label>
 
   
    <Label id="ADC3PrescalerLabel" posX="620" posY="565" refEnable="ADC3Enable,ADC4Enable" text="ADC3,4 Prescaler" type="info"/>
    <Label id="ADC1Output" posX="795" posY="537" refEnable="ADC1Enable,ADC2Enable" text="To ADC1,2 (MHz)" type="SpecialInfo"> 	
       
    </Label>
	
   
    
    <Label id="ADC3Output" posX="795" posY="583" refEnable="ADC3Enable,ADC4Enable" text="To ADC3,4 (MHz)" type="SpecialInfo"/> 	
    <Label id="USBOutput" posX="795" posY="497" refEnable="USBEnable" text="To USB (MHz)" type="SpecialInfo"/> 	
    <Label id="USBPrescalerLabel" posX="627" posY="480" refEnable="USBEnable" text="USB Prescaler" type="info">
       
    </Label>
    <Label id="HSIRCLabel" posX="302" posY="340" text="HSI RC" type="info"/>
    <Label id="HSIRCCstLabel" posX="302" posY="380" text="8 MHz" type="constraint"/>
    <Label id="PLLINLabel" posX="540" posY="482" text="*PLLMul" type="info"/>
    <Label id="PLLINLabeldiv" posX="420" posY="482" text="PREDiv" type="info"/>

    <Label id="PLLILabel" posX="476" posY="530" text="PLL" type="muxLabel"/>
    <Label id="PLLSourcMuxHSILabel" posX="364" posY="468" text="HSI" type="signal"/>
    <Label id="PLLSourcMuxHSELabel" posX="364" posY="503" text="HSE" type="signal"/>
	
    <Label id="PLLSourcMuxLabel" posX="370" posY="448" text="PLL Source Mux" type="muxLabel"/>
	
	
	
    <Label id="I2SCLK" posX="494" posY="674" refEnable="I2SEnable" text="To I2S (MHz)" type="SpecialInfo">
    </Label>
    <Label id="I2SSourcMuxLabel" posX="325" posY="628" refEnable="I2SEnable" text="I2S Source Mux" type="muxLabel">
    </Label>
    <Label id="I2SSourcMuxHSILabel" posX="315" posY="646" refEnable="I2SEnable" text="I2S_Ext" type="signal">
    </Label>
    <Label id="I2SSourcMuxHSELabel" posX="315" posY="682" refEnable="I2SEnable" text="SYSCLK" type="signal">
    </Label>
    <!--USART1 mux-->
    <Label id="USART1MUXLabel" posX="1060" posY="570" refEnable="USART1Enable" text="USART1 Clock Mux" type="muxLabel"/>
    <Label id="USART1Output" posX="1223" posY="640" refEnable="USART1Enable" text="To USART1 (MHz)" type="SpecialInfo"/>
    <Label id="USART1SYSCLKLabel" posX="1064" posY="590" refEnable="USART1Enable" text="SYSCLK" type="signal"/>
    <Label id="USART1HSILabel" posX="1064" posY="615" refEnable="USART1Enable" text="HSI" type="signal">
    </Label>

    <Label id="USART1LSELabel" posX="1064" posY="638" refEnable="USART1Enable" text="LSE" type="signal">
    </Label>
    <Label id="USART1PCLK2Label" posX="1064" posY="665" refEnable="USART1Enable" text="PCLK2" type="signal">
    </Label>
 
    <!--USART2 mux-->
    <Label id="USART2MUXLabel" posX="960" posY="678" refEnable="USART2Enable" text="USART2 Clock Mux" type="muxLabel"/>
    <Label id="USART2SYSCLKLabel" posX="968" posY="697" refEnable="USART2Enable" text="SYSCLK" type="signal"/>
    <Label id="USART2HSILabel" posX="968" posY="724" refEnable="USART2Enable" text="HSI" type="signal">
    </Label>
 
    <Label id="USART2LSELabel" posX="968" posY="748" refEnable="USART2Enable" text="LSE" type="signal">
    </Label>
    <Label id="USART2PCLK1Label" posX="968" posY="773" refEnable="USART2Enable" text="PCLK1" type="signal"/>

    <Label id="USART2Output" posX="1223" posY="747" refEnable="USART2Enable" text="To USART2 (MHz)" type="SpecialInfo"/> 	
    <!--USART3 mux-->
    <Label id="USART3MUXLabel" posX="1060" posY="760" refEnable="USART3Enable" text="USART3 Clock Mux" type="muxLabel"/>
    <Label id="USART3SYSCLKLabel" posX="1064" posY="780" refEnable="USART3Enable" text="SYSCLK" type="signal"/>
    <Label id="USART3HSILabel" posX="1064" posY="805" refEnable="USART3Enable" text="HSI" type="signal"/>
    <Label id="USART3LSELabel" posX="1064" posY="830" refEnable="USART3Enable" text="LSE" type="signal"/>
    <Label id="USART3PCLK1Label" posX="1064" posY="854" refEnable="USART3Enable" text="PCLK1" type="signal"/>

    <Label id="USART3Output" posX="1223" posY="830" refEnable="USART3Enable" text="To USART3 (MHz)" type="SpecialInfo"/> 	
    
    <!--UART4 mux-->
    <Label id="UART1MUXLabel" posX="960" posY="865" refEnable="UART4Enable" text="UART4 Clock Mux" type="muxLabel"/>
    <Label id="UART1SYSCLKLabel" posX="968" posY="885" refEnable="UART4Enable" text="SYSCLK" type="signal"/>
    <Label id="UART1HSILabel" posX="968" posY="910" refEnable="UART4Enable" text="HSI" type="signal"/>
    <Label id="UART1LSELabel" posX="968" posY="935" refEnable="UART4Enable" text="LSE" type="signal"/>
    <Label id="UART1PCLK1Label" posX="968" posY="960" refEnable="UART4Enable" text="PCLK1" type="signal"/>

    <Label id="USART1Output" posX="1223" posY="935" refEnable="UART4Enable" text="To UART4 (MHz)" type="SpecialInfo"/> 	
    <!--UART5 mux-->
    <Label id="UART2SYSCLKLabel" posX="1060" posY="950" refEnable="UART5Enable" text="UART5 Clock Mux" type="muxLabel"/>
    <Label id="UART2SYSCLKLabel" posX="1064" posY="967" refEnable="UART5Enable" text="SYSCLK" type="signal"/>
    <Label id="UART2HSILabel" posX="1064" posY="993" refEnable="UART5Enable" text="HSI" type="signal"/>
    <Label id="UART2LSELabel" posX="1064" posY="1019" refEnable="UART5Enable" text="LSE" type="signal"/>
    <Label id="UART2PCLK1Label" posX="1064" posY="1042" refEnable="UART5Enable" text="PCLK1" type="signal"/>
    <Label id="UART2Output" posX="1223" posY="1017" refEnable="UART5Enable" text="To UART5 (MHz)" type="SpecialInfo"/> 	
	
    <!--TIM labels-->
    <Label id="TIM1Output" posX="855" posY="660" refEnable="Tim1Enable" text="To TIM1 (MHz)" type="SpecialInfo"/> 	
	
    <Label id="TIM1uxLabel" posX="699" posY="617" refEnable="Tim1Enable" text="TIM1 source Mux" type="muxLabel"/>
    
    <Label id="TIM1PCLK2Label" posX="703" posY="673" refEnable="Tim1Enable" text="PCLK2" type="signal"/>
    <Label id="TIM1PLLLabel" posX="603" posY="633" refEnable="Tim1Enable" text="PLLCLK" type="signal"/>
    <Label id="TIM1PLLMUL2Label" posX="700" posY="633" refEnable="Tim1Enable" text="PLLCLK*2" type="signal"/>
    <Label id="TIM8PLL2Label" posX="600" posY="686" refEnable="Tim8Enable" text="PLLCLK*2" type="signal"/>
    <Label id="TIM8PCLK2Label" posX="603" posY="726" refEnable="Tim8Enable" text="PCLK2" type="signal"/>
    <Label id="TIM8uxLabel" posX="600" posY="665" refEnable="Tim8Enable" text="TIM8 source Mux" type="muxLabel"/>
    <Label id="TIM8Output" posX="855" posY="715" refEnable="Tim8Enable" text="To TIM8 (MHz)" type="SpecialInfo"/> 	
    <!--tim15-->
    <Label id="TIM15Output" posX="855" posY="775" refEnable="Tim15Enable" text="To TIM15 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM15uxLabel" posX="699" posY="730" refEnable="Tim15Enable" text="TIM15 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM15PCLK2Label" posX="703" posY="785" refEnable="Tim15Enable" text="PCLK2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM15PLLMULLabel" posX="700" posY="745" refEnable="Tim15Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
	
	
    <Label id="TIM15Output" posX="855" posY="725" refEnable="Tim15Enable" text="To TIM15 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM15uxLabel" posX="600" posY="670" refEnable="Tim15Enable" text="TIM15 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM15PCLK2Label" posX="603" posY="728" refEnable="Tim15Enable" text="PCLK2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    
    <Label id="TIM15PLLMULLabel" posX="600" posY="685" refEnable="Tim15Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>

    </Label>
    <!--tim16-->
    <Label id="TIM16Output" posX="865" posY="825" refEnable="Tim16Enable" text="To TIM16 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM16uxLabel" posX="600" posY="775" refEnable="Tim16Enable" text="TIM16 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM16PCLK2Label" posX="603" posY="835" refEnable="Tim16Enable" text="PCLK2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM16PLLMUL2Label" posX="600" posY="795" refEnable="Tim16Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
		
    <Label id="TIM16Output" posX="855" posY="775" refEnable="Tim16Enable" text="To TIM16 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM16uxLabel" posX="700" posY="725" refEnable="Tim16Enable" text="TIM16 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM16PCLK2Label" posX="703" posY="783" refEnable="Tim16Enable" text="PCLK2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM16PLLMUL2Label" posX="700" posY="743" refEnable="Tim16Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>

    <!--tim17-->
    <Label id="TIM17Output" posX="855" posY="885" refEnable="Tim17Enable" text="To TIM17 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM17uxLabel" posX="700" posY="840" refEnable="Tim17Enable" text="TIM17 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM17PCLK2Label" posX="703" posY="895" refEnable="Tim17Enable" text="PCLK2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM17PLLMUL2Label" posX="700" posY="855" refEnable="Tim17Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
	
    <Label id="TIM17Output" posX="855" posY="825" refEnable="Tim17Enable" text="To TIM17 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM17uxLabel" posX="600" posY="780" refEnable="Tim17Enable" text="TIM17 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM17PCLK2Label" posX="603" posY="838" refEnable="Tim17Enable" text="PCLK2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM17PLLMUL2Label" posX="600" posY="798" refEnable="Tim17Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>

    </Label>
	
    <!--tim20-->
    <Label id="TIM20Output" posX="855" posY="935" refEnable="Tim20Enable" text="To TIM20 (MHz)" type="SpecialInfo"> 
    </Label>
    <Label id="TIM20uxLabel" posX="600" posY="888" refEnable="Tim20Enable" text="TIM20 source Mux" type="muxLabel"> 
    </Label>
    <Label id="TIM20PCLK2Label" posX="603" posY="949" refEnable="Tim20Enable" text="PCLK2" type="signal"> 
    </Label>
    <Label id="TIM20PLLMUL2Label" posX="600" posY="907" refEnable="Tim20Enable" text="PLLCLK*2" type="signal"> 
    </Label>
	
    <!--tim2-->
    <Label id="TIM2Output" posX="855" posY="995" refEnable="Tim2Enable" text="To TIM2 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
    <Label id="TIM2uxLabel" posX="700" posY="952" refEnable="Tim2Enable" text="TIM2 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
    <Label id="TIM2PCLK2Label" posX="703" posY="1007" refEnable="Tim2Enable" text="PCLK1" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
    <Label id="TIM2PLLCLKLabel" posX="700" posY="967" refEnable="Tim2Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
	
    <Label id="TIM2Output" posX="855" posY="885" refEnable="Tim2Enable" text="To TIM2 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM2uxLabel" posX="700" posY="840" refEnable="Tim2Enable" text="TIM2 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM2PCLK2Label" posX="703" posY="895" refEnable="Tim2Enable" text="PCLK1" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM2PLLCLKLabel" posX="700" posY="855" refEnable="Tim2Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>

	
    <!--tim3-->
    <Label id="TIM3Output" posX="855" posY="1050" refEnable="Tim3Enable,Tim4Enable" text="To TIM3/4 (MHz)" type="SpecialInfo">
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
	
    </Label>
    <Label id="TIM3uxLabel" posX="600" posY="998" refEnable="Tim3Enable,Tim4Enable" text="TIM3/4 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM3PCLK2Label" posX="603" posY="1060" refEnable="Tim3Enable,Tim4Enable" text="PCLK1" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>

    </Label>
    <Label id="TIM3PLLCLKLabel" posX="600" posY="1020" refEnable="Tim3Enable,Tim4Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="ADC3_Exist"/>
    </Label>
	
    <Label id="TIM3Output" posX="855" posY="935" refEnable="Tim3Enable,Tim4Enable" text="To TIM3/4 (MHz)" type="SpecialInfo"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM3uxLabel" posX="600" posY="888" refEnable="Tim3Enable,Tim4Enable" text="TIM3/4 source Mux" type="muxLabel"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM3PCLK2Label" posX="603" posY="950" refEnable="Tim3Enable,Tim4Enable" text="PCLK1" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>
    </Label>
    <Label id="TIM3PLLCLKLabel" posX="600" posY="910" refEnable="Tim3Enable,Tim4Enable" text="PLLCLK*2" type="signal"> 
        <Condition Diagnostic="" Expression="!ADC3_Exist"/>

    </Label>
    

    
    <!--MCO-->
    <Label id="MCOLabel" posX="220" posY="888" refEnable="MCOEnable" text="(MHz) MCO" type="signal"/>

    
       
    <Label id="MCOMuxLabel" posX="443" posY="795" refEnable="MCOEnable" text="MCO source Mux" type="muxLabel">
    </Label>
   
    <Label id="MCOHSELabel" posX="573" posY="845" refEnable="MCOEnable" text="LSE" type="signal">
    </Label>
    <Label id="MCOPLLLabel" posX="557" posY="897" refEnable="MCOEnable" text="PLLCLK" type="signal">
    </Label>

    <Label id="MCOLSILabel" posX="573" posY="922" refEnable="MCOEnable" text="LSI" type="signal">
    </Label>
   
    <Label id="MCOLSELabel" posX="573" posY="872" refEnable="MCOEnable" text="HSE" type="signal">
    </Label>
    <Label id="MCOHSILabel" posX="573" posY="819" refEnable="MCOEnable" text="HSI" type="signal">
    </Label>
  
    <Label id="MCOSYSCLKLabel" posX="557" posY="947" refEnable="MCOEnable" text="SYSCLK" type="signal">
    </Label>
    <Label id="ABP1labelPCLK1" posX="1060" posY="410" text="PCLK1" type="signal"/>
    <Label id="ABP2labelPCLK2" posX="1060" posY="480" text="PCLK2" type="signal"/>

    <BButton id="CSSEnable" refParameter="EnbaleCSS" text="CSS" x="627" y="460"/>
    
   

    
</Clock>