Driver API for PM (plib_pm.h) More...
Typedefs | |
| typedef uint32_t | PM_VREG_MODE |
| Standby voltage regulator mode selection. | |
Functions | |
| void | PM_EnterIdle0SleepMode (void) |
| Enter Idle0 sleep mode. | |
| void | PM_EnterIdle2SleepMode (void) |
| Enter Idle2 sleep mode. | |
| void | PM_EnterStandbySleepMode (void) |
| Configures the Power Manager to enter Standby sleep mode and executes the WFI instruction. | |
| void | PM_EnableStandbySRAMBackBias (void) |
| Enable SRAM back-biasing in Standby sleep mode. | |
| void | PM_DisableStandbySRAMBackBias (void) |
| Disable SRAM back-biasing in Standby sleep mode. | |
| void | PM_SetStandbyRegulatorMode (PM_VREG_MODE mode) |
| Configure voltage regulator mode for Standby sleep mode. | |
Driver API for PM (plib_pm.h)
The following example demonstrates typical usage of the PM peripheral:
| typedef uint32_t PM_VREG_MODE |
Standby voltage regulator mode selection.
| void PM_DisableStandbySRAMBackBias | ( | void | ) |
Disable SRAM back-biasing in Standby sleep mode.
Keeps SRAM in normal operating mode during Standby sleep, allowing DMA access.
| void PM_EnableStandbySRAMBackBias | ( | void | ) |
Enable SRAM back-biasing in Standby sleep mode.
Reduces power consumption by back-biasing SRAM during Standby mode. When enabled, DMA access to SRAM is not available in Standby mode.
| void PM_EnterIdle0SleepMode | ( | void | ) |
Enter Idle0 sleep mode.
Configures the Power Manager to enter Idle0 sleep mode and executes the Wait For Interrupt (WFI) instruction.
| void PM_EnterIdle2SleepMode | ( | void | ) |
Enter Idle2 sleep mode.
Configures the Power Manager to enter Idle2 sleep mode and executes the Wait For Interrupt (WFI) instruction.
| void PM_EnterStandbySleepMode | ( | void | ) |
Configures the Power Manager to enter Standby sleep mode and executes the WFI instruction.
| void PM_SetStandbyRegulatorMode | ( | PM_VREG_MODE | mode | ) |
Configure voltage regulator mode for Standby sleep mode.
| mode | Use one of: PM_STDBYCFG_VREGSMOD_AUTO PM_STDBYCFG_VREGSMOD_PERFORMANCE PM_STDBYCFG_VREGSMOD_LP |