Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AVR32 reset cause

See Quick start guide for reset cause service.

Modules

 

Typedefs

typedef uint32_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   AVR32_PM_RCAUSE_EXT_MASK
 
#define CHIP_RESET_CAUSE_BOD_CPU   AVR32_PM_RCAUSE_BOD_MASK
 
#define CHIP_RESET_CAUSE_BOD_IO   AVR32_PM_RCAUSE_BOD33_MASK
 
#define CHIP_RESET_CAUSE_OCD   AVR32_PM_RCAUSE_OCDRST_MASK
 
#define CHIP_RESET_CAUSE_POR   AVR32_PM_RCAUSE_POR_MASK
 
#define RCAUSE_JTAG   AVR32_PM_RCAUSE_JTAG_MASK
 
#define RCAUSE_JTAGHARD   AVR32_PM_RCAUSE_JTAGHARD_MASK
 
#define RCAUSE_AWIRE   AVR32_PM_RCAUSE_AWIRE_MASK
 
#define RCAUSE_AWIREHARD   AVR32_PM_RCAUSE_AWIREHARD_MASK
 
#define CHIP_RESET_CAUSE_JTAG
 
#define CHIP_RESET_CAUSE_WDT   AVR32_PM_RCAUSE_WDT_MASK
 
#define CHIP_RESET_CAUSE_CPU_ERROR   AVR32_PM_RCAUSE_CPUERR_MASK
 
#define CHIP_RESET_CAUSE_SLEEP   AVR32_PM_RCAUSE_SLEEP_MASK
 

#define CHIP_RESET_CAUSE_BOD_CPU   AVR32_PM_RCAUSE_BOD_MASK

Brown-out detected on CPU power domain reset cause

#define CHIP_RESET_CAUSE_BOD_IO   AVR32_PM_RCAUSE_BOD33_MASK

Brown-out detected on I/O power domain reset cause

#define CHIP_RESET_CAUSE_CPU_ERROR   AVR32_PM_RCAUSE_CPUERR_MASK

CPU error reset cause

#define CHIP_RESET_CAUSE_EXTRST   AVR32_PM_RCAUSE_EXT_MASK

External reset cause

#define CHIP_RESET_CAUSE_JTAG
Value:
#define RCAUSE_JTAGHARD
Definition: avr32_reset_cause.h:99
#define RCAUSE_AWIRE
Definition: avr32_reset_cause.h:104
#define RCAUSE_JTAG
Definition: avr32_reset_cause.h:94
#define RCAUSE_AWIREHARD
Definition: avr32_reset_cause.h:109

JTAG reset reset cause

#define CHIP_RESET_CAUSE_OCD   AVR32_PM_RCAUSE_OCDRST_MASK

On-chip debug system reset cause

#define CHIP_RESET_CAUSE_POR   AVR32_PM_RCAUSE_POR_MASK

Power-on-reset reset cause

#define CHIP_RESET_CAUSE_SLEEP   AVR32_PM_RCAUSE_SLEEP_MASK

Wake from Shutdown sleep mode reset cause

#define CHIP_RESET_CAUSE_WDT   AVR32_PM_RCAUSE_WDT_MASK

Watchdog timeout reset cause

#define RCAUSE_AWIRE   AVR32_PM_RCAUSE_AWIRE_MASK
#define RCAUSE_AWIREHARD   AVR32_PM_RCAUSE_AWIREHARD_MASK
#define RCAUSE_JTAG   AVR32_PM_RCAUSE_JTAG_MASK
#define RCAUSE_JTAGHARD   AVR32_PM_RCAUSE_JTAGHARD_MASK

typedef uint32_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.