1.6.16.6 1.7.17.6 1.10.14.7 1.11.15.7 1.12.15.7 1.13.14.7 1.14.11.6 1.15.12.6 1.16.11.6 1.17.11.6 1.18.11.6 1.19.11.6 1.20.11.6 1.21.12.6 1.22.16.7 1.23.15.7 1.24.13.7 NVM_ErrorGet Function
C
NVM_ERROR NVM_ErrorGet( void )
Summary
Returns the error state of NVM controller.
Description
This function returns the erorr status of the last NVM operation.
Precondition
None.
Parameters
None
Returns
Return NVM_ERROR type of value. In case of error, this value can be a combination of multiple and different error conditions.
Example
if(NVM_ErrorGet() != NVM_ERROR_NONE) { // The error status can indicate multiple error conditions. if(NVM_ErrorGet() & (NVM_ERROR_WRITE | NVM_ERROR_LOWVOLTAGE)) { // There are multiple error conditions. } }
Remarks
None.