DRV_MX25L_ResetFlash Function
C
bool DRV_MX25L_ResetFlash(void);
Summary
Reset the flash device to standby mode.
Description
This function schedules a blocking operation for resetting the flash device to standby mode. All the volatile bits and settings will be cleared then, which makes the device return to the default status as power on.
Precondition
The DRV_MX25L_Open() routine must have been called for the specified MX25L driver instance.
Parameters
Param | Description |
---|---|
handle | A valid open-instance handle, returned from the driver's open routine |
Returns
true - if the reset is successfully completed
false - if Reset-Enable or Reset flash command itself fails
Example
if(DRV_MX25L_ResetFlash() == false) { // Error handling here }
Remarks
This routine will block wait for request to complete.