See reset_cause_quickstart.
|
typedef uint8_t | reset_cause_t |
| Chip-specific reset cause type capable of holding all chip reset causes. More...
|
|
#define CHIP_RESET_CAUSE_BOD_CPU RST_BORF_bm |
Brown-out detected reset cause, same as for I/O
#define CHIP_RESET_CAUSE_BOD_IO RST_BORF_bm |
brown-out detected reset cause, same as for CPU
#define CHIP_RESET_CAUSE_EXTRST RST_EXTRF_bm |
#define CHIP_RESET_CAUSE_OCD RST_PDIRF_bm |
On-chip debug system reset cause
#define CHIP_RESET_CAUSE_POR RST_PORF_bm |
Power-on-reset reset cause
#define CHIP_RESET_CAUSE_SOFT RST_SRF_bm |
Software reset reset cause
#define CHIP_RESET_CAUSE_SPIKE RST_SDRF_bm |
Spike detected reset cause
#define CHIP_RESET_CAUSE_WDT RST_WDRF_bm |
Watchdog timeout reset cause
Chip-specific reset cause type capable of holding all chip reset causes.
Typically reflects the size of the reset cause register.
static void reset_do_soft_reset |
( |
void |
| ) |
|
|
inlinestatic |