1.6.20.1 1.7.21.1 1.10.19.1 1.11.19.1 1.12.20.1 1.13.18.1 1.14.13.1 1.15.14.1 1.16.17 1.17.16.1 1.18.16.1 1.19.16.1 1.20.17 1.21.18 1.22.21.1 1.23.20.1 1.24.17.1 RCON_ResetCauseGet Function
C
RCON_RESET_CAUSE RCON_ResetCauseGet( void );
Summary
Reports the cause of the last reset.
Description
This function returns the cause of the last reset. The reset could be due to multiple reasons. The application should compare the returned value against different values in the RCON_RESET_CAUSE enumeration to identify the possible causes.
Precondition
None.
Parameters
None.
Returns
RCON_RESET_CAUSE - Identifies type of reset.
Example
if (RCON_ResetCauseGet() == RCON_RESET_CAUSE_WDTO) { //Application related tasks }
Remarks
None.