scugic: xscugic.c File Reference

| scugic Xilinx SDK Drivers API Documentation

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

Functions
xscugic.c File Reference

## Functions
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_Id)
| 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_Id, u32 Int_Id)
| Sets the target CPU for the interrupt of a peripheral. More...
void | XScuGic_InterruptUnmapFromCpu (XScuGic *InstancePtr, u8 Cpu_Id, u32 Int_Id)
| Unmaps specific SPI interrupt from the target CPU. More...
void | XScuGic_UnmapAllInterruptsFromCpu (XScuGic *InstancePtr, u8 Cpu_Id)
| 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...