Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
XMEGA reset cause

See Quick start guide for reset cause service.

Typedefs

typedef uint8_t reset_cause_t
 Chip-specific reset cause type capable of holding all chip reset causes. More...
 

Chip-specific reset causes

#define CHIP_RESET_CAUSE_EXTRST   RST_EXTRF_bm
 
#define CHIP_RESET_CAUSE_BOD_IO   RST_BORF_bm
 
#define CHIP_RESET_CAUSE_BOD_CPU   RST_BORF_bm
 
#define CHIP_RESET_CAUSE_OCD   RST_PDIRF_bm
 
#define CHIP_RESET_CAUSE_POR   RST_PORF_bm
 
#define CHIP_RESET_CAUSE_SOFT   RST_SRF_bm
 
#define CHIP_RESET_CAUSE_SPIKE   RST_SDRF_bm
 
#define CHIP_RESET_CAUSE_WDT   RST_WDRF_bm
 

#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

External reset cause

#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

typedef uint8_t reset_cause_t

Chip-specific reset cause type capable of holding all chip reset causes.

Typically reflects the size of the reset cause register.