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 | to the Handler for that exception. |
Data | is a reference to Data that will be passed to the Handler when it gets called. |