spi: xspi.c File Reference

| spi Xilinx SDK Drivers API Documentation

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

Functions
xspi.c File Reference

## Functions
void | XSpi_Abort (XSpi *InstancePtr)
| Aborts a transfer in progress by setting the stop bit in the control register, then resetting the FIFOs if present. More...
int | XSpi_CfgInitialize (XSpi *InstancePtr, XSpi_Config *Config, UINTPTR EffectiveAddr)
| Initializes a specific XSpi instance such that the driver is ready to use. More...
int | XSpi_Start (XSpi *InstancePtr)
| This function enables interrupts for the SPI device. More...
int | XSpi_Stop (XSpi *InstancePtr)
| This function stops the SPI device by disabling interrupts and disabling the device itself. More...
void | XSpi_Reset (XSpi *InstancePtr)
| Resets the SPI device by writing to the Software Reset register. More...
int | XSpi_Transfer (XSpi *InstancePtr, u8 *SendBufPtr, u8 *RecvBufPtr, unsigned int ByteCount)
| Transfers the specified data on the SPI bus. More...
int | XSpi_SetSlaveSelect (XSpi *InstancePtr, u32 SlaveMask)
| Selects or deselect the slave with which the master communicates. More...
u32 | XSpi_GetSlaveSelect (XSpi *InstancePtr)
| Gets the current slave select bit mask for the SPI device. More...
void | XSpi_SetStatusHandler (XSpi *InstancePtr, void *CallBackRef, XSpi_StatusHandler FuncPtr)
| Sets the status callback function, the status handler, which the driver calls when it encounters conditions that should be reported to the higher layer software. More...
void | XSpi_InterruptHandler (void *InstancePtr)
| The interrupt handler for SPI interrupts. More...