Microblaze Pseudo-asm Macros and Interrupt Handling 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

Microblaze BSP includes macros to provide convenient access to various registers in the MicroBlaze processor.

Some of these macros are very useful within exception handlers for retrieving information about the exception.Also, the interrupt handling functions help manage interrupt handling on MicroBlaze processor devices.To use these functions, include the header file mb_interface.h in your source code

Table 1. Quick Function Reference
Type Name Arguments
void microblaze_register_handler
  • XInterruptHandler Handler
  • void * DataPtr
void microblaze_register_exception_handler
  • u32 ExceptionId
  • Top
  • void * DataPtr