<?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="445-regon">
    <Datasheets>
        <Datasheet Ref="Yes" DocId="025832" Rev="5" InternetId="DM00105814" DS="10147">
            <!-- STM32F042 -->
        </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="LQFP48" ThermalResistance="55"/>
        <Package Names="UFQFPN48" ThermalResistance="33"/>
        <Package Names="WLCSP36" ThermalResistance="64"/>
        <Package Names="LQFP32" ThermalResistance="57"/>
        <Package Names="UFQFPN32" ThermalResistance="38"/>
        <Package Names="UFQFPN28" ThermalResistance="118"/>
        <Package Names="TSSOP20" ThermalResistance="76"/>
    </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="2900"/>
                </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="3900" 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="CAN" ImpactPinout="Yes:CAN" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="12900"/>
                </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="1500"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption GlobalConsumption="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="CRS" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="DBGMCU" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="200"/>
                </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="3600"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="PWR" ImpactPinout="No" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1400"/>
                </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="8500"/>
                </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="6100"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SYS" ImpactPinout="Yes:SYS" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1800"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TIM1" ImpactPinout="Yes:TIM1" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="15100"/>
                </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="16800"/>
                </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="11700"/>
                </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="5500"/>
                </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="7000"/>
                </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="6900"/>
                </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="17800"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </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="5600"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="USB" ImpactPinout="Yes:USB" Type="Digital" Prescaler="APB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="4900"/>
                </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="1400"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="BusMatrix" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="2200"/>
                </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="1900"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="DMA" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="5100"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="FLASH" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="15000"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="GPIOA" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="8200"/>
                </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="7700"/>
                </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="2100"/>
                </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="1800"/>
                </PowerModes>
                <PowerModes PowerModesList="STOP">
                    <Consumption ConsumptionByMHz="0"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="SRAM" ImpactPinout="No" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP">
                    <Consumption ConsumptionByMHz="1100"/>
                </PowerModes>
            </PeripheralConsumption>
        </Peripheral>
        <Peripheral Name="TSC" ImpactPinout="Yes:TSC" Type="Digital" Prescaler="AHB">
            <PeripheralConsumption Vdd="1.8" Temperature="25">
                <PowerModes PowerModesList="RUN,SLEEP,STOP">
                    <Consumption ConsumptionByMHz="4900"/>
                </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>
            </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"/>
                    <!-- WARNING: value not found yyyyyyyyyyyyyyyyy Antoine to provide the data -->
                </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="GPIOF"/>
            <Peripheral Name="RTC"/>
            <Peripheral Name="I2C1"/>
            <!-- conso is zero -->
            <Peripheral Name="USART1"/>
            <!-- conso is zero -->
            <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>