HAL Power Modes Typedef Documentation

 

AppResumeAddress_t

typedef void(* AppResumeAddress_t

 

Location: power_modes.h:217

 

Function pointer for the application return address.

 

A pointer used in the LowPowerModeCfg_t configuration structure to store the address of an application-level function that the system will resume from once the wakeup process has completed.

NOTE: This address is only applicable when using Sleep Mode with memory retention selected.

 

AppPeripheralFunc_t

typedef void(* AppPeripheralFunc_t

 

Location: power_modes.h:228

 

Function pointer for the peripheral reconfiguration addresses.

 

A pointer used in the configuration structure (LowPowerModeCfg_t) to store the address of an application-level save function and restore function that are called when entering and exiting a low-power mode, respectively. The user must define and assign the functions to reconfigure any required peripherals (e.g. GPIO, LSAD, interrupts, etc.).