Xmega Application Note


XMEGA reset cause
[CPU reset cause]

Collaboration diagram for XMEGA reset cause:

Typedefs

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.

Chip-specific reset causes

For internal use only.



#define CHIP_RESET_CAUSE_BOD_CPU   RST_BORF_bm
#define CHIP_RESET_CAUSE_BOD_IO   RST_BORF_bm
#define CHIP_RESET_CAUSE_EXTRST   RST_EXTRF_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 Documentation

#define CHIP_RESET_CAUSE_BOD_CPU   RST_BORF_bm

For internal use only.

Brown-out detected reset cause, same as for I/O

Definition at line 64 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_BOD_IO   RST_BORF_bm

For internal use only.

brown-out detected reset cause, same as for CPU

Definition at line 62 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_EXTRST   RST_EXTRF_bm

For internal use only.

External reset cause

Definition at line 60 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_OCD   RST_PDIRF_bm

For internal use only.

On-chip debug system reset cause

Definition at line 66 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_POR   RST_PORF_bm

For internal use only.

Power-on-reset reset cause

Definition at line 68 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_SOFT   RST_SRF_bm

For internal use only.

Software reset reset cause

Definition at line 70 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_SPIKE   RST_SDRF_bm

For internal use only.

Spike detected reset cause

Definition at line 72 of file xmega_reset_cause.h.

#define CHIP_RESET_CAUSE_WDT   RST_WDRF_bm

For internal use only.

Watchdog timeout reset cause

Definition at line 74 of file xmega_reset_cause.h.


Typedef Documentation

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.

Definition at line 55 of file xmega_reset_cause.h.

@DOC_TITLE@
Generated on Fri Oct 22 12:15:26 2010 for AVR1300 Using the Xmega ADC by doxygen 1.6.3