Initializes a specific XOspiPsv instance so that the driver is ready to
use.
Prototype
u32 XSfl_OspiInit(XSfl_Interface *Ptr, const XSfl_UserConfig *UserConfig);
Parameters
The following table lists the XSfl_OspiInit function arguments.
| Type | Name | Description |
|---|---|---|
| u32 | Ptr | Pointer to the Sfl_Interface instance. |
| const | UserConfig |
UserConfig the structure containing information about a specific OSPI device. This function initializes an Instance object for a specific device specified by the contents of UserConfig. |
Returns
- XST_SUCCESS if successful.
- XST_FAILURE if init fails.