MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- -------------------------------------------------------- 1.00a ecm 08/16/01 First release 1.00b jhl 02/21/02 Repartitioned the driver for smaller files 1.00b jhl 04/24/02 Made LookupConfig global and compressed ack before table in the configuration into a bit mask 1.00c rpm 10/17/03 New release. Support the static vector table created in the xintc_g.c configuration table. 1.00c rpm 04/23/04 Removed check in XIntc_Connect for a previously connected handler. Always overwrite the vector table handler with the handler provided as an argument. 1.10c mta 03/21/07 Updated to new coding style 1.11a sv 11/21/07 Updated driver to support access through a DCR bridge
Functions | |
int | XIntc_Initialize (XIntc *InstancePtr, u16 DeviceId) |
int | XIntc_Start (XIntc *InstancePtr, u8 Mode) |
void | XIntc_Stop (XIntc *InstancePtr) |
int | XIntc_Connect (XIntc *InstancePtr, u8 Id, XInterruptHandler Handler, void *CallBackRef) |
void | XIntc_Disconnect (XIntc *InstancePtr, u8 Id) |
void | XIntc_Enable (XIntc *InstancePtr, u8 Id) |
void | XIntc_Disable (XIntc *InstancePtr, u8 Id) |
void | XIntc_Acknowledge (XIntc *InstancePtr, u8 Id) |
XIntc_Config * | XIntc_LookupConfig (u16 DeviceId) |
|
Acknowledges the interrupt source provided as the argument Id. When the interrupt is acknowledged, it causes the interrupt controller to clear its interrupt condition.
|
|
Makes the connection between the Id of the interrupt source and the associated handler that is to run when the interrupt is recognized. The argument provided in this call as the Callbackref is used as the argument for the handler when it is called.
|
|
Disables the interrupt source provided as the argument Id such that the interrupt controller will not cause interrupts for the specified Id. The interrupt controller will continue to hold an interrupt condition for the Id, but will not cause an interrupt.
|
|
Updates the interrupt table with the Null Handler and NULL arguments at the location pointed at by the Id. This effectively disconnects that interrupt source from any handler. The interrupt is disabled also.
|
|
Enables the interrupt source provided as the argument Id. Any pending interrupt condition for the specified Id will occur after this function is called.
|
|
Initialize a specific interrupt controller instance/driver. The initialization entails:
|
|
Looks up the device configuration based on the unique device ID. A table contains the configuration info for each device in the system.
|
|
Starts the interrupt controller by enabling the output from the controller to the processor. Interrupts may be generated by the interrupt controller after this function is called. It is necessary for the caller to connect the interrupt handler of this component to the proper interrupt source.
|
|
Stops the interrupt controller by disabling the output from the controller so that no interrupts will be caused by the interrupt controller.
|
Copyright © 1995-2009 Xilinx, Inc. All rights reserved.