Expand description
Implementation of the power manager (PM) peripheral.
Structs§
- Power
Manager  - 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
 - Clock
Mask  - HSBClock
 - Main
Clock  - Oscillator
Frequency  - Frequency of the external oscillator.
 - Oscillator
Startup  - Configuration for the startup time of the external oscillator.
 - PBAClock
 - PBBClock
 - PBCClock
 - PBDClock
 - Rcfast
Frequency  - System
Clock Source  - 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