iomodule
Vitis Drivers API Documentation
xiomodule_l.h File Reference

Data Structures

struct  XIOModule_VectorTableEntry
 Defines the number of timer counters within a single hardware device. More...
 

Macros

#define XIOModule_EnableIntr(BaseAddress, EnableMask)   XIomodule_Out32((BaseAddress) + XIN_IER_OFFSET, (EnableMask))
 Enable specific interrupt(s) in the interrupt controller. More...
 
#define XIOModule_DisableIntr(BaseAddress, DisableMask)   XIomodule_Out32((BaseAddress) + XIN_IER_OFFSET, ~(DisableMask))
 Disable specific interrupt(s) in the interrupt controller. More...
 
#define XIOModule_AckIntr(BaseAddress, AckMask)   XIomodule_Out32((BaseAddress) + XIN_IAR_OFFSET, (AckMask))
 Acknowledge specific interrupt(s) in the interrupt controller. More...
 
#define XIOModule_GetIntrStatus(BaseAddress)   (XIomodule_In32((BaseAddress) + XIN_IPR_OFFSET))
 Get the interrupt status from the interrupt controller which indicates which interrupts are active and enabled. More...
 
#define XIOModule_GetStatusReg(BaseAddress)   XIomodule_In32((BaseAddress) + XUL_STATUS_REG_OFFSET)
 Get the contents of the UART status register. More...
 
#define XIOModule_IsReceiveEmpty(BaseAddress)
 Check to see if the UART receiver has data. More...
 
#define XIOModule_IsTransmitFull(BaseAddress)
 Check to see if the transmitter is full. More...
 
#define XIOModule_WriteReg(BaseAddress, RegOffset, Data)   XIomodule_Out32((BaseAddress) + (RegOffset), (u32)(Data))
 Write a value to a GPO register. More...
 
#define XIOModule_ReadReg(BaseAddress, RegOffset)   XIomodule_In32((BaseAddress) + (RegOffset))
 Read a value from a GPI register. More...
 

Functions

void XIOModule_SendByte (UINTPTR BaseAddress, u8 Data)
 This functions sends a single byte using the UART. More...
 
u8 XIOModule_RecvByte (UINTPTR BaseAddress)
 This functions receives a single byte using the UART. More...
 
void XIOModule_DeviceInterruptHandler (void *DeviceId)
 This function is the primary interrupt handler for the driver. More...
 
void XIOModule_SetIntrSvcOption (UINTPTR BaseAddress, s32 Option)
 Set the interrupt service option, which can configure the driver so that it services only a single interrupt at a time when an interrupt occurs, or services all pending interrupts when an interrupt occurs. More...
 
void XIOModule_RegisterHandler (UINTPTR BaseAddress, s32 InterruptId, XInterruptHandler Handler, void *CallBackRef)
 Register a handler function for a specific interrupt ID. More...