XIsf_GetStatus - 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 Serial Flash Status Register.

Note: The contents of the Status Register is stored at second byte pointed by the ReadPtr.

Prototype

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

Parameters

The following table lists the XIsf_GetStatus function arguments.

Table 1. XIsf_GetStatus Arguments
Type Name Description
XIsf * InstancePtr Pointer to the XIsf instance.
u8 * ReadPtr Pointer to the memory where the Status Register content is copied.

Returns

XST_SUCCESS if successful else XST_FAILURE.