MicroBlaze Exception APIs - 2023.1 English

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

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

The xil_exception.h file, available in the <install-directory>/src/microblaze folder, contains Microblaze specific exception related APIs and macros.

Application programs can use these APIs for various exception related operations. For example, enable exception, disable exception, register exception hander.

Note: To use exception related functions, xil_exception.h must be added in source code
Table 1. Quick Function Reference
Type Name Arguments
void Xil_ExceptionNullHandler
  • void * Data
void Xil_ExceptionInit
  • void
void Xil_ExceptionEnable
  • void
void Xil_ExceptionDisable
  • void
void Xil_ExceptionRegisterHandler
  • u32 Id
  • Xil_ExceptionHandler Handler
  • void * Data
void Xil_ExceptionRemoveHandler
  • u32 Id