spips: xspips.c File Reference

| spips Xilinx SDK Drivers API Documentation

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

Functions
xspips.c File Reference

## Functions
s32 | XSpiPs_CfgInitialize (XSpiPs *InstancePtr, const XSpiPs_Config *ConfigPtr, u32 EffectiveAddr)
| Initializes a specific XSpiPs instance such that the driver is ready to use. More...
void | XSpiPs_Reset (XSpiPs *InstancePtr)
| Resets the SPI device. More...
s32 | XSpiPs_Transfer (XSpiPs *InstancePtr, u8 *SendBufPtr, u8 *RecvBufPtr, u32 ByteCount)
| Transfers specified data on the SPI bus. More...
s32 | XSpiPs_PolledTransfer (XSpiPs *InstancePtr, u8 *SendBufPtr, u8 *RecvBufPtr, u32 ByteCount)
| Transfers specified data on the SPI bus in polled mode. More...
s32 | XSpiPs_SetSlaveSelect (XSpiPs *InstancePtr, u8 SlaveSel)
| Selects or deselect the slave with which the master communicates. More...
u8 | XSpiPs_GetSlaveSelect (const XSpiPs *InstancePtr)
| Gets the current slave select setting for the SPI device. More...
void | XSpiPs_SetStatusHandler (XSpiPs *InstancePtr, void *CallBackRef, XSpiPs_StatusHandler FunctionPtr)
| Sets the status callback function, the status handler, which the driver calls when it encounters conditions that should be reported to upper layer software. More...
void | XSpiPs_InterruptHandler (XSpiPs *InstancePtr)
| The interrupt handler for SPI interrupts. More...
void | XSpiPs_Abort (XSpiPs *InstancePtr)
| Aborts a transfer in progress by disabling the device and resetting the FIFOs if present. More...