System reset. More...
Defines | |
#define | NUT_RSTTYP_UNKNOWN 0 |
#define | NUT_RSTTYP_POWERUP 1 |
#define | NUT_RSTTYP_WATCHDOG 2 |
#define | NUT_RSTTYP_EXTERNAL 3 |
#define | NUT_RSTTYP_SOFTWARE 4 |
#define | NUT_RSTTYP_BROWNOUT 5 |
Functions | |
void | NutReset (void) |
System reset. | |
int | NutResetCause (void) |
Retrieve the cause of the last system reset. |
System reset.
Platform independent system reset.
#define NUT_RSTTYP_UNKNOWN 0 |
Referenced by At91ResetCause(), Avr32ResetCause(), Cortex_ResetCause(), and NutResetCause().
#define NUT_RSTTYP_POWERUP 1 |
Referenced by At91ResetCause(), and Avr32ResetCause().
#define NUT_RSTTYP_WATCHDOG 2 |
Referenced by At91ResetCause(), and Avr32ResetCause().
#define NUT_RSTTYP_EXTERNAL 3 |
Referenced by At91ResetCause(), and Avr32ResetCause().
#define NUT_RSTTYP_SOFTWARE 4 |
Referenced by At91ResetCause().
#define NUT_RSTTYP_BROWNOUT 5 |
Referenced by At91ResetCause(), and Avr32ResetCause().
void NutReset | ( | void | ) |
System reset.
Typically this function will not return. If it does, then the reset failed or the function is not supported.
References At91Reset(), Avr32Reset(), AvrWatchDogStart(), and Cortex_Reset().
int NutResetCause | ( | void | ) |
Retrieve the cause of the last system reset.
Not implemented, always returns NUT_RSTTYP_UNKNOWN.
References At91ResetCause(), Avr32ResetCause(), Cortex_ResetCause(), and NUT_RSTTYP_UNKNOWN.