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

Prototype

XStatus XPm_ResetAssert(const u32 ResetId, const u32 Action);

Parameters

The following table lists the XPm_ResetAssert function arguments.

Table 1. XPm_ResetAssert Arguments
Type Name Description
const u32 ResetId Reset ID
const u32 Action Reset action to be taken
  • PM_RESET_ACTION_RELEASE for Release Reset
  • PM_RESET_ACTION_ASSERT for Assert Reset
  • PM_RESET_ACTION_PULSE for Pulse Reset

Returns

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