Module stm32l0x1_hal::power

source ·
Expand description

Power configuration and management

At present this module only contains functions to permit setting the appropriate VCore range for a desired frequency. You should probably not need to use this API yourself, as this is done by the Rcc::freeze method.

If you do decide to use this directly for some reason, please note that changing the VCORE type state of the Power object does not take effect immediately. This is due to the fact that we must be able to control the ordering of changing the power level and adjusting the clocks. In order to make the type state change take effect, you must call the enact method.

Structs

Power control register
Power control/status register
The constrained Power peripheral
RTC disabled (type state)
RTC enabled (type state)
Range 1 is the “high performance” range. VCore = 1.8V
Range 2 is the “medium performance” range. VCore = 1.5V
Range 3 is the “low power” range. VCore = 1.2V
1.71 V - 3.6 V
1.65 V - 3.6 V

Enums

Available VCore Ranges