XIpiPs_RegisterIrq - 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 registers an irq.

Prototype

XStatus XIpiPs_RegisterIrq(XScuGic *IntcInstancePtr, XMailbox *InstancePtr, u32 IpiIntrId);

Parameters

The following table lists the XIpiPs_RegisterIrq function arguments.

Table 1. XIpiPs_RegisterIrq Arguments
Type Name Description
XScuGic * IntcInstancePtr Pointer to the scugic instance
XMailbox * InstancePtr Pointer to the XMailbox instance
u32 IpiIntrId is the interrupt id of the IPI

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE if unsuccessful