1.3.15.5 1.4.13.5 1.5.14.5 1.29.15.5 1.30.10.5 1.31.10.5 1.32.16.6 1.33.10.5 1.37.10.5 1.38.13.5 1.39.10.5 1.40.13.5 NVMCTRL_ErrorGet Function

C

The prototype of NVMCTRL_ErrorGet() varies based on device family. Refer to the generated header file for the actual prototype to be used.

NVMCTRL_ERROR NVMCTRL_ErrorGet( void );

uint16_t NVMCTRL_ErrorGet( void );

Summary

Returns the error state of NVM controller.

Description

This function returns the error status of the last NVMCTRL operation. The return value can be either None, a single error or a combination of multiple error conditions.

Precondition

None.

Parameters

None

Returns

Return NVMCTRL_ERROR type of value. In case of error, this value can be a combination of multiple and different error conditions.

Example

uint16_t nvm_error = 0;

nvm_error = NVMCTRL_ErrorGet();

Remarks

None.