This API reads the Serial Flash Status Register 2.
Note: The contents of the Status Register 2 is stored at the second byte pointed by the ReadPtr. This operation is available only in Winbond Serial Flash.
Prototype
int XIsf_GetStatusReg2(XIsf *InstancePtr, u8 *ReadPtr);
Parameters
The following table lists the XIsf_GetStatusReg2
function arguments.
Type | Name | Description |
---|---|---|
XIsf * | InstancePtr | Pointer to the XIsf instance. |
u8 * | ReadPtr | Pointer to the memory where the Status Register content is copied. |