XPm_GetBootStatus - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

This Function returns information about the boot reason. If the boot is not a system startup but a resume, power down request bitfield for this processor will be cleared.

Note: None

Prototype

enum 
               XPmBootStatus
             XPm_GetBootStatus(void);

Returns

Returns processor boot status
  • PM_RESUME : If the boot reason is because of system resume.
  • PM_INITIAL_BOOT : If this boot is the initial system startup.