1.2.12.7 FCW_ErrorGet Function
C
FCW_ERROR FCW_ErrorGet( void )
Summary
Returns the error state of FCW controller.
Description
This function returns the erorr status of the last FCW operation.
Precondition
None.
Parameters
None
Returns
Return FCW_ERROR type of value. In case of error, this value can be a combination of multiple and different error conditions.
Example
if(FCW_ErrorGet() != FCW_ERROR_NONE) { // The error status can indicate multiple error conditions. if(FCW_ErrorGet() & (FCW_ERROR_WRITE | FCW_ERROR_RESET)) { // There are multiple error conditions. } }
Remarks
None.