<?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="STM32F0WithCEC" name="STM32F0WithCEC" x="630" y="685">
        <Condition Diagnostic="" Expression="HDMI_CEC_Exist"/>
    </Background>
	
    <Background imageName="STM32F0WITHU2AND3" name="STM32F0WITHU2AND3" x="1004" y="685">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Background>
	
    <Background imageName="STM32F091WithI2S" name="STM32F091WithI2S" x="831" y="160">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Background>
    <Background imageName="STM32F0WithoutHSI48AndWithprediv" name="STM32F0WithoutHSI48AndWithprediv" x="195" y="226">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>
    </Background>
	
    <Background imageName="STM32F0WithMCODivWithoutHSI48" name="STM32F0WithMCODivWithoutHSI48" x="280" y="740">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>
    </Background>

    <Tree id="ClockTree">
        <Element id="HSIRC" isKey="true" refParameter="HSI_VALUE" type="fixedSource" x="302" y="312">
            <Output signalId="HSI8" to="PLLSource"/>
            <Output signalId="HSI8" to="HSICECDiv"/>
            <Output signalId="HSI8" to="SysClkSource"/>
            <Output signalId="HSI8" to="MCOMult"/>
            <Output signalId="HSI8" to="I2C1Mult"/>
            <Output signalId="HSI8" to="USART1Mult"/>
            <Output signalId="HSI8" to="USART2Mult"/>
            <Output signalId="HSI8" to="USART3Mult"/>
            <Output signalId="HSI8" to="FLITFCLKoutput"/>
        </Element>
        <Element id="FLITFCLKoutput" refParameter="FLITFCLKFreq_Value" type="output" x="590" y="313">
            <Input from="HSIRC" signalId="HSI8"/>
        </Element>
        <Element id="HSICECDiv" isKey="true" refEnable="CECEnable" refParameter="HSICECDiv" type="devisor" x="700" y="675">
            <Input from="HSIRC" signalId="HSI8"/>
            <Output signalId="HSI_CEC" to="CECMult"/>
        </Element>
        <!--HSI48 ***sys clock pll source et mco mux***-->
        <Element id="HSIRC48" isKey="true" refParameter="HSI48_VALUE" type="fixedSource" x="302" y="398">
            <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
            <Output signalId="HSI48" to="PLLSource"/>
            <Output signalId="HSI48" to="SysClkSource"/>
            <Output signalId="HSI48" to="MCOMult"/>
            <Output signalId="HSI48" to="USBMult"/>
        </Element>
        <Element id="HSIRC14" isKey="true" refParameter="HSI14_VALUE" type="fixedSource" x="302" y="640">
            <Output signalId="HSI14" to="ADCoutput"/>
            <Output signalId="HSI14" to="MCOMult"/>
        </Element>
        <Element id="ADCoutput" refEnable="ADCEnable" refParameter="ADCoutputFreq_Value" type="output" x="402" y="640">
            <Input from="HSIRC14" signalId="HSI14"/>
        </Element>
        <Element id="LSIRC" refParameter="LSI_VALUE" type="fixedSource" x="302" y="245">
            <Output signalId="LSI" to="IWDGOutput"/>
            <Output signalId="LSI" to="RTCClkSource"/>
            <Output signalId="LSI" to="MCOMult"/>
        </Element> 
        <!--LSE source pour RTC,Usart,MCO,CEC-->
        <Element id="LSEOSC" refEnable="EnableLSE" refParameter="LSE_VALUE" type="variedSource" x="205" y="207">
            <Output signalId="LSE" to="RTCClkSource"/>
            <Output signalId="LSE" to="USART1Mult"/>
            <Output signalId="LSE" to="USART2Mult"/>
            <Output signalId="LSE" to="USART3Mult"/>
            <Output signalId="LSE" to="MCOMult"/>
            <Output signalId="LSE" to="CECMult"/>
        </Element>
        <!--HDMI CEC MUX ***DiviseurCEC_HSI ,LSE***-->
        <Element id="CECMult" refEnable="CECEnable" refParameter="CECClockSelection" type="multiplexor" x="753" y="678">
            <Input from="HSICECDiv" refValue="RCC_CECCLKSOURCE_HSI" signalId="HSI_CEC"/>
            <Input from="LSEOSC" refValue="RCC_CECCLKSOURCE_LSE" signalId="LSE"/>
            <Output signalId="CECCLK" to="CECOutput"/>
        </Element>
		
        <Element id="CECOutput" refEnable="CECEnable" refParameter="CECFreq_Value" type="output" x="812" y="695">
            <Input from="CECMult" signalId="CECCLK"/>
        </Element>
        <Element id="HSEOSC" refEnable="EnableHSE" refParameter="HSE_VALUE" type="variedSource" x="205" y="577">
            <Output signalId="HSE" to="SysClkSource"/>
            <Output signalId="HSE" to="HSERTCDevisor"/>
            <Output signalId="HSE" to="PLLSource"/>
            <Output signalId="HSE" to="MCOMult"/>
        </Element>
        <Element id="SysClkSource" refParameter="SYSCLKSource" type="multiplexor" x="712" y="380">
            <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>


            <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>
        <Element id="SysClkSource" refParameter="SYSCLKSource" type="multiplexor" x="712" y="380">

            <Input from="HSIRC" refValue="RCC_SYSCLKSOURCE_HSI" signalId="HSI8"/>
            <Input from="HSIRC48" refValue="RCC_SYSCLKSOURCE_HSI48" signalId="HSI48"/>
            
            <Input from="HSEOSC" refValue="RCC_SYSCLKSOURCE_HSE" signalId="HSE"/>
            <Input from="PLLMUL" refValue="RCC_SYSCLKSOURCE_PLLCLK" signalId="PLLCLK"/>
            <Output signalId="SYSCLK" to="SysCLKOutput"/>
        </Element>
        <Element id="SysCLKOutput" refParameter="SYSCLKFreq_VALUE" type="output" x="747" y="410">
            <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="I2C1Mult"/>
            <Output signalId="SYSCLKOUT" to="I2SOutput"/> 
            
        </Element>
        <Element id="I2SOutput" refEnable="I2S1Enable,I2S2Enable" refParameter="I2SFreq_Value" type="activeOutput" x="1102" y="260">
            <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>

            <Input from="SysCLKOutput" signalId="SYSCLKOUT"/>
        </Element>
        <!--RTC-->
        <!-- diviseur de HSE pour RTC-->
        <Element id="HSERTCDevisor" refEnable="EnableHSERTCDevisor" refParameter="RCC_RTC_Clock_Source_FROM_HSE" type="devisor" x="415" y="170">
            <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="532" y="177">
            <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="590" y="207">
            <Input from="RTCClkSource" signalId="RTCCLK"/>
        </Element>
        <!-- IWDG input**LSI** -->
        <Element id="IWDGOutput" refEnable="IWDGEnable" refParameter="WatchDogFreq_Value" type="output" x="590" y="268">
            <Input from="LSIRC" signalId="LSI"/>
        </Element>
        <Element id="MCOMultDivisor" refEnable="MCOEnable" refParameter="RCC_MCOMult_Clock_Source_FROM_PLLMUL" type="devisor" x="506" y="725">
            <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>
            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="PLLCLK_MCO" to="MCOMult"/>
        </Element>
        <Element id="MCOMultDivisor" refEnable="MCOEnable" refParameter="RCC_MCOMult_Clock_Source_FROM_PLLMUL" type="devisor" x="506" y="712">

            <Input from="PLLMUL" signalId="PLLCLK"/>
            <Output signalId="PLLCLK_MCO" to="MCOMult"/>
        </Element>
        <Element id="MCOMult" refEnable="MCOEnable" refParameter="RCC_MCOSource" type="multiplexor" x="474" y="729">
            <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>
            <Input from="MCOMultDivisor" signalId="PLLCLK_MCO"/>
            <Input from="HSIRC" refValue="RCC_MCO1SOURCE_HSI" signalId="HSI8"/>
           
            <Input from="HSIRC14" refValue="RCC_MCO1SOURCE_HSI14" signalId="HSI14"/>
            <Input from="HSEOSC" refValue="RCC_MCO1SOURCE_HSE" signalId="HSE"/>
            <Input from="LSIRC" refValue="RCC_MCO1SOURCE_LSI" signalId="LSI"/>
            <Input from="LSEOSC" refValue="RCC_MCO1SOURCE_LSE" signalId="LSE"/>
            <Input from="SysCLKOutput" refValue="RCC_MCO1SOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="MCOout" to="MCODivider"/>
        </Element>
        <Element id="MCOMult" refEnable="MCOEnable" refParameter="RCC_MCOSource" type="multiplexor" x="473" y="717">
            <Input from="MCOMultDivisor" signalId="PLLCLK_MCO"/>
            <Input from="HSIRC" refValue="RCC_MCO1SOURCE_HSI" signalId="HSI8"/>
            <Input from="HSIRC48" refValue="RCC_MCO1SOURCE_HSI48" signalId="HSI48"/>
            <Input from="HSIRC14" refValue="RCC_MCO1SOURCE_HSI14" signalId="HSI14"/>
            <Input from="HSEOSC" refValue="RCC_MCO1SOURCE_HSE" signalId="HSE"/>
            <Input from="LSIRC" refValue="RCC_MCO1SOURCE_LSI" signalId="LSI"/>
            <Input from="LSEOSC" refValue="RCC_MCO1SOURCE_LSE" signalId="LSE"/>
            <Input from="SysCLKOutput" refValue="RCC_MCO1SOURCE_SYSCLK" signalId="SYSCLKOUT"/>
            <Output signalId="MCOout" to="MCODivider"/>
        </Element>
        <Element id="MCODivider" refEnable="MCOEnable" refParameter="RCC_MCODiv" type="devisor" x="395" y="800">
            <Input from="MCOMult" signalId="MCOout"/>
            <Output signalId="MCODivOut" to="MCOoutput"/>
        </Element>
        <Element id="MCOoutput" refEnable="MCOEnable" refParameter="MCOFreq_Value" type="output" x="318" y="799">
            <Input from="MCODivider" signalId="MCODivOut"/>
        </Element>
        <!-- AHB Prescaler -->
        <!-- AHB input**SYSclock** -->
        <Element id="AHBPrescaler" refParameter="AHBCLKDivider" type="devisor" x="828" y="413">
            <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="903" y="410">
            <Input from="AHBPrescaler" signalId="HCLK"/>
            <Output signalId="AHBCLK" to="FCLKCortexOutput"/>
            <Output signalId="AHBCLK" to="HCLKOutput"/>
            <Output signalId="AHBCLK" to="TimSysPresc"/>
            <Output signalId="AHBCLK" to="APB1Prescaler"/>
           
        </Element>
        <!-- HCLKout to AHB bus core memory input**AHP** -->
        <Element id="HCLKOutput" refParameter="AHBFreq_Value" type="activeOutput" x="1102" y="305">
            <Input from="AHBOutput" signalId="AHBCLK"/>
        </Element>
        <!-- FHCLKout corteex free running input**AHP** -->
        <Element id="FCLKCortexOutput" refParameter="FCLKCortexFreq_Value" type="activeOutput" x="1102" y="370">
            <Input from="AHBOutput" signalId="AHBCLK"/>
        </Element>
		
        <!-- diviseur cortex input**AHB**  -->
        <Element id="TimSysPresc" refParameter="TimSys_Div" type="devisor" x="1005" y="335">
            <Input from="AHBOutput" signalId="AHBCLK"/>
            <Output signalId="AHBCLK2" to="TimSysOutput"/>
        </Element>
        <!-- diviseur cortex output to cortex system timer  -->
        <Element id="TimSysOutput" refParameter="TimSysFreq_Value" type="activeOutput" x="1102" y="335">
            <Input from="TimSysPresc" signalId="AHBCLK2"/>
        </Element>
        <!--APB1-->
        <!--APB1 input **AHB** output**PCLK1,PRESCALER tim ,USART(2..5)-->
        <Element id="APB1Prescaler" refParameter="APB1CLKDivider" type="devisor" x="983" y="413">
            <Input from="AHBOutput" signalId="AHBCLK"/>
            <Output signalId="APB1PeriphClock" to="TimPrescalerAPB1"/>
            <Output signalId="PCLK" to="APB1Output"/>
            <Output signalId="PCLK" to="USART2Mult"/>
            <Output signalId="PCLK" to="USART1Mult"/>
            <Output signalId="PCLK" to="USART3Mult"/>
            
        </Element>
        <!--APB1 output PCLK1-->
        <Element id="APB1Output" refParameter="APB1Freq_Value" type="activeOutput" x="1102" y="410">
            <Input from="APB1Prescaler" signalId="PCLK"/>
        </Element>
        <!--Diviseur TIM input**APB1**-->
        <Element id="TimPrescalerAPB1" refParameter="APB1TimCLKDivider" type="multiplicator" x="1050" y="460">
            <Input from="APB1Prescaler" signalId="APB1PeriphClock"/>
            <Output signalId="Tim1CLK" to="TimPrescOut1"/>
        </Element>
        <Element id="TimPrescOut1" refParameter="APB1TimFreq_Value" type="activeOutput" x="1102" y="460">
            <Input from="TimPrescalerAPB1" signalId="Tim1CLK"/>
        </Element>
        <!-- Divers IP -->
        <!-- I2C1 -->
        <!-- I2C1 MUX input**HSI,SYSclock** -->
        <Element id="I2C1Mult" refEnable="I2C1Enable" refParameter="I2c1ClockSelection" type="multiplexor" x="868" y="178">
            <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="1102" y="192">
            <Input from="I2C1Mult" signalId="I2C1CLK"/>
        </Element>
     
        
        <!-- USART -->
        <!-- USART1 input**SYSclock,PCLK2,HSI,LSE-->
        <Element id="USART1Mult" refEnable="USART1Enable" refParameter="Usart1ClockSelection" type="multiplexor" x="1065" y="532">
            <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="APB1Prescaler" refValue="RCC_USART1CLKSOURCE_PCLK1" signalId="PCLK"/>
            <Output signalId="USART1CLK" to="USART1Output"/>
        </Element>
        <Element id="USART1Output" refEnable="USART1Enable" refParameter="USART1Freq_Value" type="activeOutput" x="1102" y="563">
            <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="1065" y="675">
            <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
            <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="PCLK"/>
            <Output signalId="USART2CLK" to="USART2Output"/>
        </Element>
        <Element id="USART2Output" refEnable="USART2Enable" refParameter="USART2Freq_Value" type="activeOutput" x="1102" y="705">
            <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
            <Input from="USART2Mult" signalId="USART2CLK"/>
        </Element> 
        <Element id="USART3Mult" refEnable="USART3Enable" refParameter="Usart3ClockSelection" type="multiplexor" x="1065" y="825">
            <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>

            <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="PCLK"/>
            <Output signalId="USART3CLK" to="USART3Output"/>
        </Element>
        <Element id="USART3Output" refEnable="USART3Enable" refParameter="USART3Freq_Value" type="activeOutput" x="1102" y="855">
            <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
            <Input from="USART3Mult" signalId="USART3CLK"/>
        </Element>
        <Tree id="PLL">
            <!--PLLsource MUX source pour PLL mul-->
            <Element id="PLLSource" orientation="LEFT" refParameter="PLLSourceVirtual" type="multiplexor" x="445" y="528">
                <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>
                <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="PLLSource" orientation="LEFT" refParameter="PLLSourceVirtual" type="multiplexor" x="442" y="511">
                <Input from="HSIRC" refValue="RCC_PLLSOURCE_HSI" signalId="HSI8"/>
                <Input from="HSIRC48" refValue="RCC_PLLSOURCE_HSI48" signalId="HSI48"/>
                <Input from="HSEOSC" refValue="RCC_PLLSOURCE_HSE" signalId="HSE"/>
				
                <Output signalId="VCOInput" to="PLLDiv"/>
            </Element>
            <Element id="PLLDiv" refParameter="PLLDivider" type="devisor" x="478" y="545">
                <Input from="PLLSource" signalId="VCOInput"/>
                <Output signalId="VCO2divoutput" to="VCO2output"/>
           
            
            </Element>
            <Element id="VCO2output" refParameter="VCOOutput2Freq_Value" type="output" x="539" y="542">
                <Input from="PLLDiv" signalId="VCO2divoutput"/>
                <Output signalId="VCO2Input" to="PLLMUL"/>
               
            </Element>
            <Element id="PLLMUL" refParameter="PLLMUL" type="multiplicator" x="605" y="545">
                <Input from="VCO2output" signalId="VCO2Input"/>
                <Output signalId="PLLCLK" to="SysClkSource"/>
                <Output signalId="PLLCLK" to="MCOMultDivisor"/>
                <Output signalId="PLLCLK" to="USBMult"/>
            </Element>
        </Tree>
    </Tree>

    <Signals>
        <Signal id="HSI_CEC" refParameter="HSICECFreq_Value"/>
        <Signal id="CECCLK" refParameter=""/>
        <Signal id="HSI8"/>
        <Signal id="HSI48"/>
        <Signal id="HSI14"/>
        <Signal id="HSE"/>
        <Signal id="LSI"/>
        <Signal id="LSE"/>
      
        <Signal id="VCO2Input" refParameter=""/>
        <Signal id="VCOInput" refParameter=""/>
        <Signal id="VCO2divoutput" refParameter=""/>
        <Signal id="SYSCLK" refParameter=""/>
        <Signal id="SYSCLKOUT"/>
        <Signal id="USBCLK" refParameter=""/>
        <Signal id="HSE_RTC" refParameter=""/>
        <Signal id="RTCCLK"/>
        <Signal id="PLLCLK_MCO" refParameter="PLLMCOFreq_Value"/>
        <Signal id="HCLK"/>
        <Signal id="PLLCLK" refParameter="PLLCLKFreq_Value"/>
        <Signal id="AHBCLK"/>
        <Signal id="AHBCLK2"/>
        <Signal id="PCLK"/>
        <Signal id="APB1PeriphClock"/>
        <Signal id="Tim1CLK" refParameter=""/>
        <Signal id="USART1CLK"/>
        <Signal id="USART2CLK"/>
        <Signal id="USART3CLK"/>
        <Signal id="I2C1CLK"/>
        <Signal id="MCOout" refParameter=""/>
        <Signal id="MCODivOut" refParameter=""/>
        <Signal id="HSI_PLL" refParameter=""/>
        <Signal id="HSE_PLL" refParameter=""/>
        


    </Signals>
	
	
    <Label id="RTCMuxLabel" posX="505" posY="145" 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="500" posY="205" refEnable="EnableLSERTC" text="LSE" type="signal">
    </Label>
    <Label id="LSIForRTCLabel" posX="500" posY="240" refEnable="RTCEnable" text="LSI" type="signal">
    </Label>
	
    
    
   
    <Label id="HSEForRTCLabel" posX="385" posY="169" refEnable="EnableHSERTCDevisor" text="HSE" type="signal">
    </Label>

    <!--Element id="HSERTCDevisor" type="devisor" refParameter="RCC_RTC_Clock_Source_FROM_HSE" x="414" y="190" refEnable="EnableHSERTCDevisor"-->
    <Label id="HSERTCForRTCLabel" posX="476" posY="169" refEnable="EnableHSERTCDevisor" text="HSE_RTC" type="signal">
    </Label>

	
 
    <Label id="RTCOutputLabel" posX="655" posY="212" 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="233" 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="270" text="40 KHz" type="constraint">
    </Label>
   
    <!--LSIRC<Element id="LSIRC" type="fixedSource" refParameter="LSI_VALUE" x="290" y="280" >-->
    <!-- IWDG -->
    <Label id="ToIWDGLabel" posX="655" posY="275" refEnable="IWDGEnable" text="To IWDG (KHz)" type="SpecialInfo"/>
    <Label id="ToFLITF" posX="655" posY="320" text="To FLITF (MHz)" type="SpecialInfo"/>
    

    
    <!--Block System Clock-->
    <!--Label id="" type="Info" posX="-180" posY="290" text="HSE frequency" /-->
    <Label id="I2C1OutputLabel" posX="1163" posY="195" refEnable="I2C1Enable" text="To I2C1 (MHz)" type="SpecialInfo">
        <Condition Diagnostic="" Expression="I2C1_Exist"/>
    </Label>
    <Label id="I2C1MuxLabel" posX="840" posY="145" refEnable="I2C1Enable" text="I2C1 Clock Mux" type="SpecialInfo">
        <Condition Diagnostic="" Expression="I2C1_Exist"/>
    </Label>
    <Label id="I2C1MuxHSILabel" posX="823" posY="170" refEnable="I2C1Enable" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="I2C1_Exist"/>
    </Label>
    <Label id="I2C1MuxSYSLabel" posX="823" posY="205" refEnable="I2C1Enable" text="SYSCLK" type="signal">
        <Condition Diagnostic="" Expression="I2C1_Exist"/>
    </Label>

    
    <!--Label id="" type="Info" posX="-180" posY="290" text="HSE frequency" /-->
    <Label id="I2S1OutputLabel" posX="1164" posY="262" refEnable="I2S1Enable,I2S2Enable" text="To I2S1/I2S2 (MHz)" type="SpecialInfo">
        <Condition Diagnostic="" Expression="I2S1_Exist&amp;I2S2_Exist"/>
    </Label>
    <Label id="I2S1OutputLabel" posX="1164" posY="262" refEnable="I2S1Enable" text="To I2S1 (MHz)" type="SpecialInfo">
        <Condition Diagnostic="" Expression="I2S1_Exist&amp;!I2S2_Exist"/>
    </Label>
	
	
	
    <Label id="CECLabel" posX="877" posY="700" refEnable="CECEnable" text="To CEC (KHz)" type="SpecialInfo">
    </Label>
    <Label id="CECMuxLabel" posX="720" posY="650" refEnable="CECEnable" text="CEC Clock Mux" type="SpecialInfo">
    </Label>

    <Label id="CECMuxHSILabel" posX="680" posY="665" refEnable="CECEnable" text="HSI" type="signal">
    </Label>

    <Label id="CECMuxSYSLabel" posX="680" posY="705" refEnable="CECEnable" text="LSE" type="signal">
    </Label>
	
	

	

	
	
	
	
    <!--Element id="EthernetPtpOutput" type="activeOutput" refParameter="EthernetFreq_Value" x="1103" y="249"-->
    <Label id="HCLK1" posX="1163" posY="313" text="HCLK 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="1163" posY="340" text="To Cortex System timer (MHz)" type="SpecialInfo"/>
    <Label id="FCLK" posX="1163" posY="375" text="FCLK (MHz)" type="SpecialInfo"/>
	
    <!--Element id="CortexPrescaler" type="devisor" refParameter="Cortex_Div" x="959" y="316"-->
    
    <Label id="HCLK4" posX="1163" posY="415" text="APB1 peripheral clocks (MHz)" type="SpecialInfo"/>
    <!--Element id="APB1Output" type="activeOutput" refParameter="APB1Freq_Value" x="1102" y="386"-->
    <Label id="HCLK5" posX="1163" posY="465" text="APB1 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="980" posY="395" text="APB1 Prescaler" type="Info"/>
    
    <!--constraint/Info SYSCLK-->
    <Label id="Cst1" posX="1047" posY="430" text="48 MHz max" type="constraint"/>
    
    <Label id="HCLKLabel" posX="905" posY="395" text="HCLK (MHz)" type="info"/>
    <Label id="HCLKCLabel" posX="905" posY="434" text="48 MHz max" type="constraint"/>
    <Label id="AHBPrescalerLabel" posX="825" posY="395" text="AHB Prescaler" type="info"/>
    <Label id="SYSCLKLabel" posX="745" posY="395" text="SYSCLK (MHz)" type="info"/>

    <Label id="SystemCLKMuxLabel" posX="675" posY="345" text="System Clock Mux" type="muxLabel">
    </Label>

	
    <Label id="SystemCLKHSILabel" posX="672" posY="390" text="HSI48" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="SystemCLKHSELabel" posX="672" posY="405" refEnable="EnableHSE" text="HSE" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label> 
	
    <Label id="SystemCLKHSELabel" posX="672" posY="415" refEnable="EnableHSE" text="HSE" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>

    </Label>

    <Label id="SystemCLKPLLCLKLabel" posX="672" posY="440" text="PLLCLK" type="signal"/>
    <Label id="SystemHSILabel" posX="672" posY="370" text="HSI" type="signal"/>
    <!--USART1 mux-->
    <Label id="USART1MUXLabel" posX="1010" posY="500" refEnable="USART1Enable" text="USART1 Clock Mux" type="muxLabel"/>
    <Label id="USART1Output" posX="1163" posY="565" refEnable="USART1Enable" text="To USART1 (MHz)" type="SpecialInfo"/>
    <Label id="USART1SYSCLKLabel" posX="1015" posY="520" refEnable="USART1Enable" text="SYSCLK" type="signal">
        <Condition Diagnostic="" Expression="USART1_Exist&amp;( !UFQFPN32&amp;!UFQFPN28&amp;!UFQFPN36&amp;!TSSOP20&amp;!LQFP32)"/>
    </Label>
    <Label id="USART1HSILabel" posX="1015" posY="545" refEnable="USART1Enable" text="HSI" type="signal">
    </Label>
    <Label id="USART1LSELabel" posX="1015" posY="570" refEnable="USART1Enable" text="LSE" type="signal">
    </Label>
    <Label id="USART1PCLK2Label" posX="1015" posY="595" refEnable="USART1Enable" text="PCLK1" type="signal">
    </Label>
	
	
	

	


    <!--USART2 mux-->
    <Label id="USART2MUXLabel" posX="1010" posY="640" refEnable="USART2Enable" text="USART2 Clock Mux" type="muxLabel">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
	
    <Label id="USART2SYSCLKLabel" posX="1015" posY="662" refEnable="USART2Enable" text="SYSCLK" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="USART2HSILabel" posX="1015" posY="687" refEnable="USART2Enable" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="USART2LSELabel" posX="1015" posY="712" refEnable="USART2Enable" text="LSE" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
	
    <Label id="USART2PCLK1Label" posX="1015" posY="737" refEnable="USART2Enable" text="PCLK1" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>

    <Label id="USART2Output" posX="1163" posY="710" refEnable="USART2Enable" text="To USART2 (MHz)" type="SpecialInfo">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <!--USART3 mux-->
    <Label id="USART3MUXLabel" posX="1010" posY="790" refEnable="USART3Enable" text="USART3 Clock Mux" type="muxLabel">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
	
    <Label id="USART3SYSCLKLabel" posX="1015" posY="812" refEnable="USART3Enable" text="SYSCLK" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="USART3HSILabel" posX="1015" posY="837" refEnable="USART3Enable" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="USART3LSELabel" posX="1015" posY="862" refEnable="USART3Enable" text="LSE" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
	
    <Label id="USART3PCLK1Label" posX="1015" posY="887" refEnable="USART3Enable" text="PCLK1" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>

    <Label id="USART3Output" posX="1163" posY="860" refEnable="USART3Enable" text="To USART3 (MHz)" type="SpecialInfo">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>	

    
    <!--Pll-->
    <Label id="HSIRCLabel" posX="302" posY="300" text="HSI RC" type="info"/>
    <Label id="HSIRCCstLabel" posX="302" posY="337" text="8 MHz" type="constraint"/>
    <Label id="HSI48RCLabel" posX="302" posY="386" text="HSI48 RC" type="info">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="HSI48RCCstLabel" posX="302" posY="423" text="48 MHz" type="constraint">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="PLLINLabel" posX="612" posY="528" text="*PLLMul" type="info"/>
    <Label id="PLLDIVLabel" posX="482" posY="528" text="PREDiv" type="info">
    </Label>
	 
    <Label id="PLLSourcMuxHSILabel" posX="410" posY="513" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
    <Label id="PLLSourcMuxHSELabel" posX="410" posY="555" refEnable="EnableHSE" text="HSE" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label> 
	
    <Label id="PLLSourcMuxHSILabel" posX="410" posY="503" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>

    </Label>
    <Label id="PLLSourcMuxHSELabel" posX="410" posY="570" refEnable="EnableHSE" text="HSE" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>

    </Label>
	
      
	
    <Label id="PLLSourcMuxLabel" posX="420" posY="494" text="PLL Source Mux" type="muxLabel">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label> 
    <Label id="PLLSourcMuxLabel" posX="420" posY="484" text="PLL Source Mux" type="muxLabel">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>

    </Label>
    <Label id="PLLVCOInputLabel" posX="545" posY="526" text="VCOInput" type="info"/>
	 
    <Label id="PLLILabel" posX="550" posY="570" text="PLL" type="muxLabel"/>

    <Label id="PLLSourcMuxHSI48Label" posX="410" posY="535" text="HSI48" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
	

	
    <!--ADC-->
    <Label id="HSI14RCLabel" posX="302" posY="627" text="HSI14 RC" type="info"/>
    <Label id="HSI14 RCCstLabel" posX="302" posY="664" text="14 MHz" type="constraint"/>
    <Label id="ADCLabel" posX="463" posY="645" refEnable="ADCEnable" text="To ADC (MHz)" type="SpecialInfo"/>
    
    <!--MCO Div + 48+ LSE-->
    <Label id="MCOMuxLabel" posX="445" posY="680" refEnable="MCOEnable" text="MCO source Mux" type="muxLabel">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
	
	
    </Label>
    <Label id="MCOLabel" posX="227" posY="805" refEnable="MCOEnable" text="(MHz) MCO" type="signal">   
	
    </Label>

        
    <Label id="MCOPLLLabel" posX="575" posY="705" refEnable="MCOEnable" text="PLLCLK" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="MCOHSILabel" posX="589" posY="730" refEnable="MCOEnable" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="MCOHSI48Label" posX="579" posY="753" refEnable="MCOEnable" text="HSI48" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="MCOHSI14Label" posX="579" posY="775" refEnable="MCOEnable" text="HSI14" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="MCOHSELabel" posX="587" posY="802" refEnable="MCOEnable" text="HSE" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>

    <Label id="MCOLSILabel" posX="590" posY="828" refEnable="MCOEnable" text="LSI" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="MCOLSELabel" posX="590" posY="855" refEnable="MCOEnable" text="LSE" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
    <Label id="MCOSYSCLKLabel" posX="571" posY="883" refEnable="MCOEnable" text="SYSCLK" type="signal">
        <Condition Diagnostic="" Expression="!STM32F0x0_Value_Line"/>
    </Label>
	
    <Label id="MCOMuxLabel" posX="445" posY="695" refEnable="MCOEnable" text="MCO source Mux" type="muxLabel">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>
	
    </Label>


    <!--Value line MCO-->
    <Label id="MCOPLLLabel" posX="575" posY="720" refEnable="MCOEnable" text="PLLCLK" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
    <Label id="MCOHSILabel" posX="589" posY="745" refEnable="MCOEnable" text="HSI" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
 
    <Label id="MCOHSI14Label" posX="579" posY="770" refEnable="MCOEnable" text="HSI14" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
    <Label id="MCOHSELabel" posX="587" posY="795" refEnable="MCOEnable" text="HSE" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>

    <Label id="MCOLSILabel" posX="590" posY="820" refEnable="MCOEnable" text="LSI" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
    <Label id="MCOLSELabel" posX="590" posY="845" refEnable="MCOEnable" text="LSE" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
    <Label id="MCOSYSCLKLabel" posX="571" posY="870" refEnable="MCOEnable" text="SYSCLK" type="signal">
        <Condition Diagnostic="" Expression="STM32F0x0_Value_Line"/>

    </Label>
    <Label id="ABP1labelPCLK1" posX="1055" posY="410" text="PCLK1" type="signal"/>
  
    <BButton id="CSSEnable" refParameter="EnbaleCSS" text="CSS" x="687" y="490"/>
	
		
		
		
</Clock>