ospipsv
Vitis Drivers API Documentation
xospipsv.c File Reference

Macros

#define SILICON_VERSION_1   0x10U
 Silicon version. More...
 
#define XOSPIPSV_TAP_GRAN_SEL_MIN_FREQ   120000000U
 Minimum frequency for Tap grain selection. More...
 
#define READ_ID   0x9FU
 Read Id opcode. More...
 

Functions

u32 XOspiPsv_CfgInitialize (XOspiPsv *InstancePtr, const XOspiPsv_Config *ConfigPtr)
 Initializes a specific XOspiPsv instance such that the driver is ready to use. More...
 
void XOspiPsv_Reset (XOspiPsv *InstancePtr)
 This function reset the configuration register. More...
 
u32 XOspiPsv_DeviceReset (u8 Type)
 This function reset the OSPI flash device. More...
 
u32 XOspiPsv_PollTransfer (XOspiPsv *InstancePtr, XOspiPsv_Msg *Msg)
 This function performs a transfer on the bus in polled mode. More...
 
u32 XOspiPsv_StartDmaTransfer (XOspiPsv *InstancePtr, XOspiPsv_Msg *Msg)
 This function start a DMA transfer. More...
 
u32 XOspiPsv_CheckDmaDone (XOspiPsv *InstancePtr)
 This function check for DMA transfer complete. More...
 
u32 XOspiPsv_IntrTransfer (XOspiPsv *InstancePtr, XOspiPsv_Msg *Msg)
 This function performs a transfer on the bus in interrupt mode. More...
 
u32 XOspiPsv_IntrHandler (XOspiPsv *InstancePtr)
 This function handles interrupt based transfers. More...
 
void XOspiPsv_Idle (const XOspiPsv *InstancePtr)
 Stops the transfer of data to internal DST FIFO from stream interface and also stops the issuing of new write commands to memory. More...
 
u32 XOspiPsv_SetDllDelay (XOspiPsv *InstancePtr)
 Configure TX and RX DLL Delay. More...
 
u32 XOspiPsv_ConfigDualByteOpcode (XOspiPsv *InstancePtr, u8 Enable)
 This function configures the dual-byte opcode mode. More...
 
void XOspiPsv_SetStatusHandler (XOspiPsv *InstancePtr, void *CallBackRef, XOspiPsv_StatusHandler FuncPointer)
 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...