ospipsv
Vitis Drivers API Documentation
XOspiPsv Struct Reference

The XOspiPsv driver instance data. More...

Public Member Functions

u8 UnalignReadBuffer[4] __attribute__ ((aligned(64)))
 Read Buffer. More...
 

Data Fields

XOspiPsv_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...
 
u32 TxBytes
 Number of bytes to transfer (state) More...
 
u32 RxBytes
 Number of bytes left to transfer(state) More...
 
u32 IsBusy
 A transfer is in progress (state) More...
 
u32 OpMode
 Operating Mode DAC or INDAC. More...
 
u32 SdrDdrMode
 Edge mode can be SDR or DDR. More...
 
u8 ChipSelect
 Chip select information. More...
 
XOspiPsv_MsgMsg
 Pointer to the Flash Message structure. More...
 
XOspiPsv_StatusHandler StatusHandler
 Status/Callback handler. More...
 
void * StatusRef
 Callback reference for status handler. More...
 
u8 IsUnaligned
 Flag used to indicate bytecnt is aligned or not. More...
 
u32 DeviceIdData
 Contains Device Id Data information. More...
 
u8 Extra_DummyCycle
 Contains extra dummy cycle data. More...
 
u8 DllMode
 DLL mode. More...
 
u8 DualByteOpcodeEn
 Flag to indicate Dual Byte Opcode. More...
 

Detailed Description

The XOspiPsv driver instance data.

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

Member Function Documentation

u8 UnalignReadBuffer [4] XOspiPsv::__attribute__ ( (aligned(64))  )

Read Buffer.

Field Documentation

u8 XOspiPsv::ChipSelect

Chip select information.

Referenced by XOspiPsv_SelectFlash().

u32 XOspiPsv::DeviceIdData

Contains Device Id Data information.

Referenced by FlashReadID(), FlashSetSDRDDRMode(), XOspiPsv_CalculateRxTap(), and XOspiPsv_CfgInitialize().

u8 XOspiPsv::IsUnaligned

Flag used to indicate bytecnt is aligned or not.

Referenced by XOspiPsv_CfgInitialize(), XOspiPsv_Dma_Read(), XOspiPsv_IntrHandler(), and XOspiPsv_IntrTransfer().

u8* XOspiPsv::SendBufferPtr
XOspiPsv_StatusHandler XOspiPsv::StatusHandler

Status/Callback handler.

Referenced by XOspiPsv_CfgInitialize(), XOspiPsv_IntrHandler(), and XOspiPsv_SetStatusHandler().

void* XOspiPsv::StatusRef

Callback reference for status handler.

Referenced by XOspiPsv_IntrHandler(), and XOspiPsv_SetStatusHandler().

u32 XOspiPsv::TxBytes