iicps: xiicps_slave.c File Reference

| iicps Xilinx SDK Drivers API Documentation

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

xiicps_slave.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 | 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...
void | XIicPs_SetupSlave (XIicPs *InstancePtr, u16 SlaveAddr)
| This function sets up the device to be a slave. More...
void | XIicPs_SlaveSend (XIicPs *InstancePtr, u8 *MsgPtr, s32 ByteCount)
| This function setup a slave interrupt-driven send. More...
void | XIicPs_SlaveRecv (XIicPs *InstancePtr, u8 *MsgPtr, s32 ByteCount)
| This function setup a slave interrupt-driven receive. More...
s32 | XIicPs_SlaveSendPolled (XIicPs *InstancePtr, u8 *MsgPtr, s32 ByteCount)
| This function sends a buffer in polled mode as a slave. More...
s32 | XIicPs_SlaveRecvPolled (XIicPs *InstancePtr, u8 *MsgPtr, s32 ByteCount)
| This function receives a buffer in polled mode as a slave. More...
void | XIicPs_SlaveInterruptHandler (XIicPs *InstancePtr)
| The interrupt handler for slave mode. More...