scugic
Vitis Drivers API Documentation
xscugic.h File Reference

Data Structures

struct  XScuGic_Config
 This typedef contains configuration information for the device. More...
 
struct  XScuGic
 The XScuGic driver instance data. More...
 

Macros

#define XSCUGIC_H
 < prevent circular inclusions More...
 
EFUSE status Register information

EFUSE Status Register

#define EFUSE_STATUS_OFFSET   0x10
 
#define EFUSE_STATUS_CPU_MASK   0x80
 
#define ARMA9
 ARMA9 macro to identify cortexA9. More...
 

GICD_CTLR Register information

GICD_CTLR Status Register

#define XSCUGIC500_DCTLR_ARE_NS_ENABLE   0x20
 
#define XSCUGIC500_DCTLR_ARE_S_ENABLE   0x10
 
#define XScuGic_CPUWriteReg(InstancePtr, RegOffset, Data)
 Write the given CPU Interface register. More...
 
#define XScuGic_CPUReadReg(InstancePtr, RegOffset)   (XScuGic_ReadReg(((InstancePtr)->Config->CpuBaseAddress), (RegOffset)))
 Read the given CPU Interface register. More...
 
#define XScuGic_DistWriteReg(InstancePtr, RegOffset, Data)
 Write the given Distributor Interface register. More...
 
#define XScuGic_DistReadReg(InstancePtr, RegOffset)   (XScuGic_ReadReg(((InstancePtr)->Config->DistBaseAddress), (RegOffset)))
 Read the given Distributor Interface register. More...
 
XScuGic_Config XScuGic_ConfigTable []
 Config table. 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_CfgInitialize (XScuGic *InstancePtr, XScuGic_Config *ConfigPtr, u32 EffectiveAddr)
 CfgInitialize a specific interrupt controller instance/driver. 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_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_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_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...
 
XScuGic_ConfigXScuGic_LookupConfig (u16 DeviceId)
 Looks up the device configuration based on the unique device ID. More...
 
XScuGic_ConfigXScuGic_LookupConfigBaseAddr (UINTPTR BaseAddress)
 Looks up the device configuration based on the BaseAddress. More...
 
void XScuGic_InterruptHandler (XScuGic *InstancePtr)
 This function is the primary interrupt handler for the driver. More...
 
s32 XScuGic_SelfTest (XScuGic *InstancePtr)
 Run a self-test on the driver/device. More...