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.
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. |