Microchip® Advanced Software Framework

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

Driver for CPU specific features.

It provides functions for MCU Reset Cause.

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   PM_RCAUSE_EXT
 
#define CHIP_RESET_CAUSE_BOD_CPU   PM_RCAUSE_BOD
 
#define CHIP_RESET_CAUSE_BOD_IO   PM_RCAUSE_BOD33
 
#define CHIP_RESET_CAUSE_OCD   PM_RCAUSE_OCDRST
 
#define CHIP_RESET_CAUSE_POR   PM_RCAUSE_POR
 
#define CHIP_RESET_CAUSE_POR_IO   PM_RCAUSE_POR33
 
#define CHIP_RESET_CAUSE_WDT   PM_RCAUSE_WDT
 

#define CHIP_RESET_CAUSE_BOD_CPU   PM_RCAUSE_BOD

Brown-out detected on CPU power domain reset cause

#define CHIP_RESET_CAUSE_BOD_IO   PM_RCAUSE_BOD33

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

#define CHIP_RESET_CAUSE_EXTRST   PM_RCAUSE_EXT

External reset cause

#define CHIP_RESET_CAUSE_OCD   PM_RCAUSE_OCDRST

On-chip debug system reset cause

#define CHIP_RESET_CAUSE_POR   PM_RCAUSE_POR

Power-on-reset reset cause

#define CHIP_RESET_CAUSE_POR_IO   PM_RCAUSE_POR33

Power-on-reset on I/O power domain reset cause

#define CHIP_RESET_CAUSE_WDT   PM_RCAUSE_WDT

Watchdog timeout reset cause

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.