scugic
Vitis Drivers API Documentation
xscugic.c File Reference

Macros

#define DEFAULT_PRIORITY   0xa0a0a0a0U
 Default value for priority_level register. More...
 

Functions

GICD_CTLR Register information

GICD_CTLR Status Register

s32 XScuGic_CfgInitialize (XScuGic *InstancePtr, XScuGic_Config *ConfigPtr, u32 EffectiveAddr)
 CfgInitialize a specific interrupt controller instance/driver. More...
 
s32 XScuGic_Connect (XScuGic *InstancePtr, u32 Int_Id, Xil_InterruptHandler Handler, void *CallBackRef)
 Makes the connection between the Int_Id of the interrupt source and the associated handler that is to run when the interrupt is recognized. More...
 
void XScuGic_Disconnect (XScuGic *InstancePtr, u32 Int_Id)
 Updates the interrupt table with the Null Handler and NULL arguments at the location pointed at by the Int_Id. More...
 
void XScuGic_Enable (XScuGic *InstancePtr, u32 Int_Id)
 Enables the interrupt source provided as the argument Int_Id. More...
 
void XScuGic_Disable (XScuGic *InstancePtr, 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. More...
 
s32 XScuGic_SoftwareIntr (XScuGic *InstancePtr, u32 Int_Id, u32 Cpu_Identifier)
 Allows software to simulate an interrupt in the interrupt controller. More...
 
void XScuGic_SetPriorityTriggerType (XScuGic *InstancePtr, u32 Int_Id, u8 Priority, u8 Trigger)
 Sets the interrupt priority and trigger type for the specificd IRQ source. More...
 
void XScuGic_GetPriorityTriggerType (XScuGic *InstancePtr, u32 Int_Id, u8 *Priority, u8 *Trigger)
 Gets the interrupt priority and trigger type for the specificd IRQ source. More...
 
void XScuGic_InterruptMaptoCpu (XScuGic *InstancePtr, u8 Cpu_Identifier, u32 Int_Id)
 Sets the target CPU for the interrupt of a peripheral. More...
 
void XScuGic_InterruptUnmapFromCpu (XScuGic *InstancePtr, u8 Cpu_Identifier, u32 Int_Id)
 Unmaps specific SPI interrupt from the target CPU. More...
 
void XScuGic_UnmapAllInterruptsFromCpu (XScuGic *InstancePtr, u8 Cpu_Identifier)
 Unmaps all SPI interrupts from the target CPU. More...
 
void XScuGic_Stop (XScuGic *InstancePtr)
 It checks if the interrupt target register contains all interrupts to be targeted for current CPU. More...
 
void XScuGic_SetCpuID (u32 CpuCoreId)
 This updates the CpuId global variable. More...
 
u32 XScuGic_GetCpuID (void)
 This function returns the CpuId variable. More...
 
u8 XScuGic_IsInitialized (u32 DeviceId)
 It checks whether the XScGic is initialized or not given the device id. More...