iomodule: xiomodule.c File Reference

| iomodule Xilinx SDK Drivers API Documentation

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

Functions
xiomodule.c File Reference

## Functions
int | XIOModule_Initialize (XIOModule *InstancePtr, u16 DeviceId)
| Initialize a specific interrupt controller instance/driver. More...
int | XIOModule_Start (XIOModule *InstancePtr)
| Starts the IO Module. More...
void | XIOModule_Stop (XIOModule *InstancePtr)
| Stops the interrupt controller by disabling the output from the controller so that no interrupts will be caused by the interrupt controller. More...
int | XIOModule_Connect (XIOModule *InstancePtr, u8 Id, XInterruptHandler Handler, void *CallBackRef)
| Makes the connection between the Id of the interrupt source and the associated handler that is to run when the interrupt is recognized. More...
void | XIOModule_Disconnect (XIOModule *InstancePtr, u8 Id)
| Updates the interrupt table with the Null Handler and NULL arguments at the location pointed at by the Id. More...
void | XIOModule_Enable (XIOModule *InstancePtr, u8 Id)
| Enables the interrupt source provided as the argument Id. More...
void | XIOModule_Disable (XIOModule *InstancePtr, u8 Id)
| Disables the interrupt source provided as the argument Id such that the interrupt controller will not cause interrupts for the specified Id. More...
void | XIOModule_Acknowledge (XIOModule *InstancePtr, u8 Id)
| Acknowledges the interrupt source provided as the argument Id. More...
XIOModule_Config * | XIOModule_LookupConfig (u16 DeviceId)
| Looks up the device configuration based on the unique device ID. More...
int | XIOModule_ConnectFastHandler (XIOModule *InstancePtr, u8 Id, XFastInterruptHandler Handler)
| Makes the connection between the Id of the interrupt source and the associated handler that is to run when the interrupt is recognized. More...
void | XIOModule_SetNormalIntrMode (XIOModule *InstancePtr, u8 Id)
| Sets the normal interrupt mode for the specified interrupt in the Interrupt Mode Register, by resetting the vector to (BaseVector & 0xFFFFFF80) | 0x10 and selecting normal mode. More...
u32 | XIOModule_DiscreteRead (XIOModule *InstancePtr, unsigned Channel)
| Read state of discretes for the specified GPI channel. More...
void | XIOModule_DiscreteWrite (XIOModule *InstancePtr, unsigned Channel, u32 Data)
| Write to discretes register for the specified GPO channel. More...
int | XIOModule_Timer_Initialize (XIOModule *InstancePtr, u16 DeviceId)
| Initializes a specific timer instance/driver. More...
void | XIOModule_Timer_Start (XIOModule *InstancePtr, u8 TimerNumber)
| Starts the specified timer counter of the device such that it starts running. More...
void | XIOModule_Timer_Stop (XIOModule *InstancePtr, u8 TimerNumber)
| Stops the timer by disabling it. More...
u32 | XIOModule_GetValue (XIOModule *InstancePtr, u8 TimerNumber)
| Get the current value of the specified timer counter. More...
void | XIOModule_SetResetValue (XIOModule *InstancePtr, u8 TimerNumber, u32 ResetValue)
| Set the reset value for the specified timer counter. More...
u32 | XIOModule_GetCaptureValue (XIOModule *InstancePtr, u8 TimerNumber)
| Returns the timer counter value that was captured the last time the external capture input was asserted. More...
void | XIOModule_Reset (XIOModule *InstancePtr, u8 TimerNumber)
| Resets the specified timer counter of the device. More...
int | XIOModule_IsExpired (XIOModule *InstancePtr, u8 TimerNumber)
| Checks if the specified timer counter of the device has expired. More...
u32 | XIOModule_IoReadWord (XIOModule *InstancePtr, u32 ByteOffset)
| Read 32-bit word from the IO Bus memory mapped IO. More...
u16 | XIOModule_IoReadHalfword (XIOModule *InstancePtr, u32 ByteOffset)
| Read 16-bit halfword from the IO Bus memory mapped IO. More...
u8 | XIOModule_IoReadByte (XIOModule *InstancePtr, u32 ByteOffset)
| Read byte from the IO Bus memory mapped IO. More...
void | XIOModule_IoWriteWord (XIOModule *InstancePtr, u32 ByteOffset, u32 Data)
| Write 32-bit word to the IO Bus memory mapped IO. More...
void | XIOModule_IoWriteHalfword (XIOModule *InstancePtr, u32 ByteOffset, u16 Data)
| Write 16-bit word to the IO Bus memory mapped IO. More...
void | XIOModule_IoWriteByte (XIOModule *InstancePtr, u32 ByteOffset, u8 Data)
| Write 8-bit word to the IO Bus memory mapped IO. More...