1.2.18.1 1.3.21.1 1.4.19.1 1.5.20.1 1.8.16.2 1.9.17.1 1.25.16.4 1.26.14.4 1.27.16.4 1.28.19.4 1.29.20.1 1.32.23.1 1.34.14.4 1.35.10.4 1.36.13.4 1.38.19.1 1.39.16.1 1.40.18.1 1.41.15.4 1.42.14.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.