ospipsv: xospipsv.h File Reference

| ospipsv Xilinx SDK Drivers API Documentation

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

Data Structures | Typedefs | Functions
xospipsv.h File Reference

## Data Structures
struct | XOspiPsv_Msg
| This typedef contains configuration information for a flash message. More...
struct | XOspiPsv_Config
| This typedef contains configuration information for the device. More...
struct | XOspiPsv
| The XOspiPsv driver instance data. More...

## Typedefs
typedef void(* | XOspiPsv_StatusHandler )(void *CallBackRef, u32 StatusEvent)
| The handler data type allows the user to define a callback function to handle the asynchronous processing for the OSPIPSV device. More...

## Functions
XOspiPsv_Config * | XOspiPsv_LookupConfig (u16 DeviceId)
| Looks up the device configuration based on the unique device ID. More...
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 (const XOspiPsv *InstancePtr)
| This function reset the configuration register. More...
u32 | XOspiPsv_SetClkPrescaler (XOspiPsv *InstancePtr, u8 Prescaler)
| Configures the clock according to the prescaler passed. More...
u32 | XOspiPsv_SelectFlash (XOspiPsv *InstancePtr, u8 chip_select)
| This function should be used to tell the OSPIPSV driver the HW flash configuration being used. More...
u32 | XOspiPsv_SetOptions (XOspiPsv *InstancePtr, u32 Options)
| This function sets the options for the OSPIPSV device driver.The options control how the device behaves relative to the OSPIPSV bus. More...
u32 | XOspiPsv_GetOptions (const XOspiPsv *InstancePtr)
| This function gets the options for the OSPIPSV device. More...
u32 | XOspiPsv_PollTransfer (XOspiPsv *InstancePtr, XOspiPsv_Msg *Msg)
| This function performs a transfer on the bus in polled mode. 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_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...
u32 | XOspiPsv_SetSdrDdrMode (XOspiPsv *InstancePtr, u32 Mode)
| Configures the edge mode (SDR or DDR) More...
void | XOspiPsv_ConfigureAutoPolling (XOspiPsv *InstancePtr, u32 FlashMode)
| Configures how the controller will poll the device following a write transfer in DAC mode. 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_DeviceReset (u8 Type)
| This function reset the OSPI flash device. More...