XIsf_GetDeviceInfo - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

This API reads the Joint Electron Device Engineering Council (JEDEC) information of the Serial Flash.

Note: The Device information is stored at the second byte pointed by the ReadPtr.

Prototype

int XIsf_GetDeviceInfo(XIsf *InstancePtr, u8 *ReadPtr);

Parameters

The following table lists the XIsf_GetDeviceInfo function arguments.

Table 1. XIsf_GetDeviceInfo Arguments
Type Name Description
XIsf * InstancePtr Pointer to the XIsf instance.
u8 * ReadPtr Pointer to the buffer where the Device information is copied.

Returns

XST_SUCCESS if successful else XST_FAILURE.