[−][src]Module stm32l0x1_hal::power
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
CR | Power control register |
CSR | Power control/status register |
Power | The constrained Power peripheral |
RtcDis | RTC disabled (type state) |
RtcEn | RTC enabled (type state) |
VCoreRange1 | Range 1 is the "high performance" range. VCore = 1.8V |
VCoreRange2 | Range 2 is the "medium performance" range. VCore = 1.5V |
VCoreRange3 | Range 3 is the "low power" range. VCore = 1.2V |
VddHigh | 1.71 V - 3.6 V |
VddLow | 1.65 V - 3.6 V |
Enums
VCoreRange | Available VCore Ranges |