qspipsu
Vitis Drivers API Documentation
xqspipsu_options.c File Reference

Macros

#define XQSPIPSU_NUM_OPTIONS   (sizeof(OptionsTable) / sizeof(OptionsMap))
 Number of options in option table. More...
 

Functions

s32 XQspiPsu_SetOptions (XQspiPsu *InstancePtr, u32 Options)
 Sets the options for the QSPIPSU device driver.The options control how the device behaves relative to the QSPIPSU bus. More...
 
s32 XQspiPsu_ClearOptions (XQspiPsu *InstancePtr, u32 Options)
 Resets the options for the QSPIPSU device driver. More...
 
u32 XQspiPsu_GetOptions (const XQspiPsu *InstancePtr)
 Gets the options for the QSPIPSU device. More...
 
s32 XQspiPsu_SetClkPrescaler (const XQspiPsu *InstancePtr, u8 Prescaler)
 Configures the clock according to the prescaler passed. More...
 
void XQspiPsu_SelectFlash (XQspiPsu *InstancePtr, u8 FlashCS, u8 FlashBus)
 Used to tell the QSPIPSU driver the hardware flash configuration being used. More...
 
s32 XQspiPsu_SetReadMode (XQspiPsu *InstancePtr, u32 Mode)
 Sets the Read mode for the QSPIPSU device driver. More...
 
void XQspiPsu_SetWP (const XQspiPsu *InstancePtr, u8 Value)
 Sets the Write Protect and Hold options for the QSPIPSU device driver. More...