ATSAML21E16B RSTC registers

The 6 registers of RSTC (Reset Controller), from 0x40000800, with their reset value and every field. The ATSAML21E16B has 1205 registers in 40 peripherals, one page each.

RSTC Reset Controller

RCAUSEReset Cause

Address
0x40000800
Reset
0x00
Access
read only
  1. 7BACKUP
  2. 6SYST
  3. 5WDT
  4. 4EXT
  5. 3–
  6. 2BOD33
  7. 1BOD12
  8. 0POR
7 fields
FieldBitsWhat it does
BACKUP7Backup Reset
SYST6System Reset Request
WDT5Watchdog Reset
EXT4External Reset
BOD332Brown Out 33 Detector Reset
BOD121Brown Out 12 Detector Reset
POR0Power On Reset

BKUPEXITBackup Exit Source

Address
0x40000802
Reset
0x00
Access
read only
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2BBPS
  7. 1RTC
  8. 0EXTWAKE
3 fields
FieldBitsWhat it does
BBPS2Battery Backup Power Switch
RTC1Real Timer Counter Interrupt
EXTWAKE0External Wakeup

WKDBCONFWakeup Debounce Configuration

Address
0x40000804
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4WKDBCNT4
  5. 3WKDBCNT3
  6. 2WKDBCNT2
  7. 1WKDBCNT1
  8. 0WKDBCNT0
1 field
FieldBitsWhat it does
WKDBCNT4:0Wakeup Debounce Counter
  • 0 No debouncing.Input pin is low or high level sensitive depending on its WKPOLx bit.
  • 1 Input pin shall be active for at least two 32kHz clock period.
  • 2 Input pin shall be active for at least three 32kHz clock period.
  • 3 Input pin shall be active for at least 32 32kHz clock period.
  • 4 Input pin shall be active for at least 512 32kHz clock period.
  • 5 Input pin shall be active for at least 4096 32kHz clock period.
  • 6 Input pin shall be active for at least 32768 32kHz clock period.

WKPOLWakeup Polarity

Address
0x40000808
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
WKPOL7:0Wakeup Polarity

WKENWakeup Enable

Address
0x4000080C
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
WKEN7:0Wakeup Enable

WKCAUSEWakeup Cause

Address
0x40000810
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
WKCAUSE15:0Wakeup Cause