XPm_GetBootStatus - 2022.1 English

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

Document ID
UG643
Release Date
2022-04-21
Version
2022.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.

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.