microblaze_register_exception_handler - 2023.1 English

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

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

Registers an exception handler for the MicroBlaze.

The argument provided in this call as the DataPtr is used as the argument for the handler when it is called.

Prototype

void microblaze_register_exception_handler(u32 ExceptionId, Xil_ExceptionHandler Handler, void *DataPtr);

Parameters

The following table lists the microblaze_register_exception_handler function arguments.

Table 1. microblaze_register_exception_handler Arguments
Name Description
ExceptionId is the id of the exception to register this handler for.
Top level handler.
DataPtr is a reference to data that will be passed to the handler when it gets called.

Returns

None.