iicps
Xilinx SDK Drivers API Documentation
xiicps.c File Reference

Functions

Role constants

These constants are used to pass into the device setup routines to set up the device according to transfer direction.

s32 XIicPs_CfgInitialize (XIicPs *InstancePtr, XIicPs_Config *ConfigPtr, u32 EffectiveAddr)
 Initializes a specific XIicPs instance such that the driver is ready to use. More...
 
s32 XIicPs_BusIsBusy (XIicPs *InstancePtr)
 Check whether the I2C bus is busy. More...
 
void XIicPs_Abort (XIicPs *InstancePtr)
 Aborts a transfer in progress by resetting the FIFOs. More...
 
void XIicPs_Reset (XIicPs *InstancePtr)
 Resets the IIC device. More...
 
s32 TransmitFifoFill (XIicPs *InstancePtr)
 Put more data into the transmit FIFO, number of bytes is ether expected number of bytes for this transfer or available space in FIFO, which ever is less. More...