XPm_ResetAssert - 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 is used to assert or release reset for a particular reset line. Alternatively a reset pulse can be requested as well.

Note: None

Prototype

XStatus XPm_ResetAssert(const enum XPmReset reset, const enum XPmResetAction resetaction);

Parameters

The following table lists the XPm_ResetAssert function arguments.

Table 1. XPm_ResetAssert Arguments
Type Name Description
const enum XPmReset reset ID of the reset line
const enum XPmResetAction resetaction Identifies action:
  • PM_RESET_ACTION_RELEASE : release reset,
  • PM_RESET_ACTION_ASSERT : assert reset,
  • PM_RESET_ACTION_PULSE : pulse reset,

Returns

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