<?xml version="1.0" encoding="utf-8" standalone="no"?> <!-- STM32F0 -->
<Die xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../../../../../doc/V4/Development/Specifications/db/plugins/power/die.xsd"
    Number="440-regon">
    <Datasheets>
        <Datasheet Ref="Yes" DocId="022265" Rev="7" InternetId="DM00039193" DS="8668"> <!-- STM32F051 -->
        </Datasheet>
    </Datasheets>
    <MaxCurrent Value="120000000"/>
    <!-- Sum(IVDD) Total current into sum of all VDD_x power lines (source) / Maximum current into each VDD_x power line (source)(1): IDD(pin)=100mA -->
    <TJMax Value="105"/>
    <!-- General operating conditions: range 6/7 = 105/125 -->
    <Packages>
        <Package Names="LQFP64" ThermalResistance="45"/>
        <Package Names="LQFP48" ThermalResistance="55"/>
        <Package Names="LQFP32" ThermalResistance="56"/>
        <Package Names="UFBGA64" ThermalResistance="65"/>
        <!-- Package name warning: should be removed in 022265 DS : not in st.com and in MX DB -->
        <Package Names="UFQFPN48" ThermalResistance="32"/>
        <Package Names="UFQFPN32" ThermalResistance="38"/>
        <Package Names="WLCSP36" ThermalResistance="60"/>
    </Packages>
    <DMIPS FlashValueByMHz="0" RamValueByMhz="0"/>
    <Peripherals>
        <Peripheral Name="APB-Bridge" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <!-- same conso at 1.8 than at 3.3 -->
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="3000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SYS" ImpactPinout="Yes:SYS" LinkedPeripheral="COMP1" Type="Analog"
            Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption GlobalConsumption="1200" ConsumptionByMHz="3000"
                        PeripheralMode="Ultra_Low_Power"/>
                    <Consumption GlobalConsumption="3000" ConsumptionByMHz="3000"
                        PeripheralMode="Low_Power"/>
                    <Consumption GlobalConsumption="10000" ConsumptionByMHz="3000"
                        PeripheralMode="Medium_Power"/>
                    <Consumption GlobalConsumption="75000" ConsumptionByMHz="3000"
                        PeripheralMode="High_Speed"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="COMP1" ImpactPinout="Yes:COMP1" Type="Analog" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="STOP">
                    <!-- conso in Stop mode ? -->
                    <Consumption GlobalConsumption="1200" PeripheralMode="Ultra_Low_Power"/>
                    <Consumption GlobalConsumption="3000" PeripheralMode="Low_Power"/>
                    <Consumption GlobalConsumption="10000" PeripheralMode="Medium_Power"/>
                    <Consumption GlobalConsumption="75000" PeripheralMode="High_Speed"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SYS" ImpactPinout="Yes:SYS" LinkedPeripheral="COMP2" Type="Analog"
            Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <!-- Vdd taken is right ? -->
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption GlobalConsumption="1200" ConsumptionByMHz="3000"
                        PeripheralMode="Ultra_Low_Power"/>
                    <Consumption GlobalConsumption="3000" ConsumptionByMHz="3000"
                        PeripheralMode="Low_Power"/>
                    <Consumption GlobalConsumption="10000" ConsumptionByMHz="3000"
                        PeripheralMode="Medium_Power"/>
                    <Consumption GlobalConsumption="75000" ConsumptionByMHz="3000"
                        PeripheralMode="High_Speed"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="COMP2" ImpactPinout="Yes:COMP2" Type="Analog" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="STOP">
                    <!-- conso in Stop mode ? -->
                    <Consumption GlobalConsumption="1200" PeripheralMode="Ultra_Low_Power"/>
                    <Consumption GlobalConsumption="3000" PeripheralMode="Low_Power"/>
                    <Consumption GlobalConsumption="10000" PeripheralMode="Medium_Power"/>
                    <Consumption GlobalConsumption="75000" PeripheralMode="High_Speed"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="ADC" ImpactPinout="Yes:ADC" Type="Analog" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <!-- Vdd taken is right ? -->
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="5000" GlobalConsumption="900000"/>
                    <!-- GlobalConsumption is given at 3.3V and at 14MHz / GlobalConsumption should eb added on Idda (analog conso) / ADC can be enabled only at vdda>=2.4V -->
                </PowerModes>
                <!-- Improvement could be to mention that ADC requires vdda>=2.4V  -->
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM1" ImpactPinout="Yes:TIM1" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="17000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SPI1" ImpactPinout="Yes:SPI1" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="10000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="USART1" ImpactPinout="Yes:USART1" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="19000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM15" ImpactPinout="Yes:TIM15" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="11000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM16" ImpactPinout="Yes:TIM16" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="8000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM17" ImpactPinout="Yes:TIM17" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="8000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="DBGMCU" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="500"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM2" ImpactPinout="Yes:TIM2" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="17000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM3" ImpactPinout="Yes:TIM3" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="13000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM6" ImpactPinout="Yes:TIM6" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="3000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM14" ImpactPinout="Yes:TIM14" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="6000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="WWDG" ImpactPinout="Yes:WWDG" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SPI2" ImpactPinout="Yes:SPI2" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="7000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="USART2" ImpactPinout="Yes:USART2" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="7000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="I2C1" ImpactPinout="Yes:I2C1" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <!-- I2C conso in STOP mode should be confirmed ... -->
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="4000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="I2C2" ImpactPinout="Yes:I2C2" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <!-- I2C conso in STOP mode should be confirmed ... -->
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="5000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="DAC" ImpactPinout="Yes:DAC" Type="Analog" Prescaler="APB">
            <!-- Improvement could be to mention that ADC requires vdda>=2.4V  -->
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption PeripheralMode="OUT1-Middle_code" ConsumptionByMHz="2000" GlobalConsumption="600000"/>
                    <Consumption PeripheralMode="OUT1-Worst_code" ConsumptionByMHz="2000" GlobalConsumption="700000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="PWR" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="HDMI_CEC" ImpactPinout="Yes:HDMI_CEC" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="2000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption GlobalConsumption="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="BusMatrix" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="5000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="DMA1" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="7000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SRAM" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="FLASH" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="14000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="CRC" ImpactPinout="Yes:CRC" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="2000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="GPIOA" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="9000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="GPIOB" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="12000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="GPIOC" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="2000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="GPIOD" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="GPIOF" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1000"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TSC" ImpactPinout="Yes:TSC" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="6000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="IWDG" ImpactPinout="Yes:IWDG" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP,STOP">
                    <Consumption GlobalConsumption="250"/>
                    <!-- WARNING: value not found ??????????????????? -->
                </PowerModes>
                <PowerModes PowerModesList="STANDBY">
                    <Consumption GlobalConsumption="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="RTC" ImpactPinout="Yes:RTC" Type="Analog" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP,STOP,VBAT,STANDBY">
                    <Consumption GlobalConsumption="0"/>
                    <!-- value not available for F0 so far -->
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
    </Peripherals>
    <PeripheralsLists>
        <PowerMode Name="RUN">
            <Filter IpsFromList="All"/>
        </PowerMode>
        <PowerMode Name="SLEEP">
            <Filter IpsFromList="All"/>
        </PowerMode>
        <PowerMode Name="STOP">
            <!-- Confirm this list with Najoua -->
            <Filter IpsFromList="Include"/>
            <Peripheral Name="GPIOA"/>
            <Peripheral Name="GPIOB"/>
            <Peripheral Name="GPIOC"/>
            <Peripheral Name="GPIOD"/>
            <Peripheral Name="GPIOF"/>
            <Peripheral Name="RTC"/>
            <Peripheral Name="I2C1"/>
            <!-- conso should be zero  -->
            <Peripheral Name="USART1"/>
            <!-- conso should be zero  -->
            <Peripheral Name="COMP1"/>
            <Peripheral Name="COMP2"/>
            <Peripheral Name="HDMI_CEC"/>
            <Peripheral Name="IWDG"/>
        </PowerMode>
        <PowerMode Name="STANDBY">
            <Filter IpsFromList="Include"/>
            <Peripheral Name="RTC"/>
            <Peripheral Name="IWDG"/>
        </PowerMode>
        <PowerMode Name="VBAT">
            <!-- cf Vbat table of datasheet -->
            <Filter IpsFromList="Include"/>
            <Peripheral Name="RTC"/>
        </PowerMode>
    </PeripheralsLists>
</Die>