1.36.13.4 RSTC_ResetCauseGet Function
C
RSTC_RESET_CAUSE RSTC_ResetCauseGet (void)
Summary
Reports the cause of the last reset.
Description
This function returns the cause of the last reset.
Precondition
None.
Parameters
None.
Returns
Returns the cause of the last reset.
Example
if (RSTC_RESET_CAUSE_WDT_RESET == RSTC_ResetCauseGet()) { //Application related tasks }
Remarks
None.