XPm_ResetGetStatus - 2023.1 English

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

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

Call this function to get the current status of the selected reset line.

Note: None

Prototype

XStatus XPm_ResetGetStatus(const enum XPmReset reset, u32 *status);

Parameters

The following table lists the XPm_ResetGetStatus function arguments.

Table 1. XPm_ResetGetStatus Arguments
Type Name Description
const enum XPmReset reset Reset line
u32 * status Status of specified reset (true - asserted, false - released)

Returns

Returns 1/XST_FAILURE for 'asserted' or 0/XST_SUCCESS for 'released'.