scugic
Xilinx Vitis Drivers API Documentation
xscugic_hw.c File Reference

Functions

s32 XScuGic_DeviceInitialize (u32 DeviceId)
 Initialize the GIC based on the device id.
 
void XScuGic_DeviceInterruptHandler (void *DeviceId)
 This function is the primary interrupt handler for the driver.
 
void XScuGic_RegisterHandler (u32 BaseAddress, s32 InterruptID, Xil_InterruptHandler IntrHandler, void *CallBackRef)
 Register a handler function for a specific interrupt ID.
 
void XScuGic_SetPriTrigTypeByDistAddr (u32 DistBaseAddress, u32 Int_Id, u8 Priority, u8 Trigger)
 Sets the interrupt priority and trigger type for the specificd IRQ source.
 
void XScuGic_GetPriTrigTypeByDistAddr (u32 DistBaseAddress, u32 Int_Id, u8 *Priority, u8 *Trigger)
 Gets the interrupt priority and trigger type for the specificd IRQ source.
 
void XScuGic_InterruptMapFromCpuByDistAddr (u32 DistBaseAddress, u8 Cpu_Id, u32 Int_Id)
 Sets the target CPU for the interrupt of a peripheral.
 
void XScuGic_InterruptUnmapFromCpuByDistAddr (u32 DistBaseAddress, u8 Cpu_Id, u32 Int_Id)
 Unmaps specific SPI interrupt from the target CPU.
 
void XScuGic_UnmapAllInterruptsFromCpuByDistAddr (u32 DistBaseAddress, u8 Cpu_Id)
 Unmaps all SPI interrupts from the target CPU.
 
void XScuGic_EnableIntr (u32 DistBaseAddress, u32 Int_Id)
 Enables the interrupt source provided as the argument Int_Id.
 
void XScuGic_DisableIntr (u32 DistBaseAddress, u32 Int_Id)
 Disables the interrupt source provided as the argument Int_Id such that the interrupt controller will not cause interrupts for the specified Int_Id.