HAL Power Modes Enumeration Type Documentation

 

PowerMode_t

 

Location: power_modes.h:187

 

Power Mode options available for the system.

 

This set of options is used to select which level of Power Mode the system should use when entering a low-power state. If RUN_MODE is selected, the system will avoid entering a low-power state. If IDLE_MODE is selected, the system will enter the ARM wait-for-interrupt (__WFI) state. If STANDBY_MODE or SLEEP_MODE is selected the system will attempt to enter the respective state.

 

Members

  • RUN_MODE
  • IDLE_MODE
  • STANDBY_MODE
  • SLEEP_MODE

 

 

RetentionType_t

 

Location: power_modes.h:201

 

Retention options available for Sleep Mode.

 

This set of options is used to select which type of retention (core, memory, or no retention) is desired for the application when entering Sleep Mode.

 

Members

  • NO_RETENTION

 

Sleep with no retention.
  • MEMORY_RETENTION

 

Sleep with memory retention only.
  • CORE_RETENTION

 

Sleep with Core retention.