Xil_GetExceptionRegisterHandler - 2023.1 English

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

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

Get a handler for a specific exception.

This handler is being called when the processor encounters the specified exception.

Prototype

void Xil_GetExceptionRegisterHandler(u32 Exception_id, Xil_ExceptionHandler *Handler, void **Data);

Parameters

The following table lists the Xil_GetExceptionRegisterHandler function arguments.

Table 1. Xil_GetExceptionRegisterHandler Arguments
Name Description
Exception_id contains the ID of the exception source and should be in the range of 0 to XIL_EXCEPTION_ID_LAST. See xil_exception.h for further information.
Handler Handler for that exception.
Data Reference to data that will be passed to the Handler when it gets called.

Returns

None.