| intc Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Macros | Functions
xintc_l.h File Reference

## Macros
#define | XIntc_MasterEnable(BaseAddress)
| Enable all interrupts in the Master Enable register of the interrupt controller. More...
#define | XIntc_MasterDisable(BaseAddress) XIntc_Out32((BaseAddress) + XIN_MER_OFFSET, 0)
| Disable all interrupts in the Master Enable register of the interrupt controller. More...
#define | XIntc_EnableIntr(BaseAddress, EnableMask) XIntc_Out32((BaseAddress) + XIN_IER_OFFSET, (EnableMask))
| Enable specific interrupt(s) in the interrupt controller. More...
#define | XIntc_DisableIntr(BaseAddress, DisableMask) XIntc_Out32((BaseAddress) + XIN_IER_OFFSET, ~(DisableMask))
| Disable specific interrupt(s) in the interrupt controller. More...
#define | XIntc_AckIntr(BaseAddress, AckMask) XIntc_Out32((BaseAddress) + XIN_IAR_OFFSET, (AckMask))
| Acknowledge specific interrupt(s) in the interrupt controller. More...
#define | XIntc_GetIntrStatus(BaseAddress)
| Get the interrupt status from the interrupt controller which indicates which interrupts are active and enabled. More...

## Functions
void | XIntc_DeviceInterruptHandler (void *DeviceId)
| This function is the primary interrupt handler for the driver. More...
void | XIntc_SetIntrSvcOption (UINTPTR BaseAddress, int Option)
| Set the interrupt service option, which can configure the driver so that it services only a single interrupt at a time when an interrupt occurs, or services all pending interrupts when an interrupt occurs. More...
void | XIntc_RegisterHandler (UINTPTR BaseAddress, int InterruptId, XInterruptHandler Handler, void *CallBackRef)
| Register a handler function for a specific interrupt ID. More...
void | XIntc_RegisterFastHandler (UINTPTR BaseAddress, u8 Id, XFastInterruptHandler FastHandler)
| Register a fast handler function for a specific interrupt ID. More...