Module pm

Source
Expand description

Implementation of the power manager (PM) peripheral.

Structs§

PowerManager
Contains state for the power management peripheral. This includes the configurations for various system clocks and the final frequency that the system is running at.

Enums§

Clock
ClockMask
HSBClock
MainClock
OscillatorFrequency
Frequency of the external oscillator.
OscillatorStartup
Configuration for the startup time of the external oscillator.
PBAClock
PBBClock
PBCClock
PBDClock
RcfastFrequency
SystemClockSource
Which source the system clock should be generated from.

Functions§

deep_sleep_ready
Determines if the chip can safely go into deep sleep without preventing currently active peripherals from operating.
disable_clock
enable_clock
is_clock_enabled