qspips
Vitis Drivers API Documentation
XQspiPs Struct Reference

The XQspiPs driver instance data. More...

Data Fields

XQspiPs_Config Config
 Configuration structure. More...
 
u32 IsReady
 Device is initialized and ready. More...
 
u8 * SendBufferPtr
 Buffer to send (state) More...
 
u8 * RecvBufferPtr
 Buffer to receive (state) More...
 
int RequestedBytes
 Number of bytes to transfer (state) More...
 
int RemainingBytes
 Number of bytes left to transfer(state) More...
 
u32 IsBusy
 A transfer is in progress (state) More...
 
void * StatusRef
 Callback reference for status handler. More...
 
u32 ShiftReadData
 Flag to indicate whether the data read from the Rx FIFO needs to be shifted in cases where the data is less than 4 bytes. More...
 

Detailed Description

The XQspiPs driver instance data.

The user is required to allocate a variable of this type for every QSPI device in the system. A pointer to a variable of this type is then passed to the driver API functions.

Field Documentation

u8* XQspiPs::RecvBufferPtr
int XQspiPs::RemainingBytes
int XQspiPs::RequestedBytes
u8* XQspiPs::SendBufferPtr
u32 XQspiPs::ShiftReadData

Flag to indicate whether the data read from the Rx FIFO needs to be shifted in cases where the data is less than 4 bytes.

Referenced by XQspiPs_PolledTransfer(), and XQspiPs_Transfer().

void* XQspiPs::StatusRef

Callback reference for status handler.

Referenced by XQspiPs_InterruptHandler(), and XQspiPs_SetStatusHandler().