XPm_ResetGetStatus - 2022.2 English

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

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

This function is used to get the status of reset.

Prototype

XStatus XPm_ResetGetStatus(const u32 ResetId, u32 *const State);

Parameters

The following table lists the XPm_ResetGetStatus function arguments.

Table 1. XPm_ResetGetStatus Arguments
Type Name Description
const u32 ResetId Reset ID
u32 *const State Pointer to store the status of specified reset
  • 0 for reset released
  • 1 for reset asserted

Returns

XST_SUCCESS if successful else XST_FAILURE or an error code or a reason code