AVR32SD20 SWDT registers

The 8 registers of SWDT (Synchronous Watchdog Timer), from 0xE20, with their reset value and every field. The AVR32SD20 has 580 registers in 51 peripherals, one page each.

SWDT Synchronous Watchdog Timer

CTRLAControl A

Address
0xE20
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3CCP
  6. 2LOCK
  7. 1MODE
  8. 0ENABLE
4 fields
FieldBitsWhat it does
CCP3SWDT Register Lock
LOCK2Register Lock
  • 0 SWDT SFRs are not LOCK-Protected
  • 1 SWDT SFRs are LOCK-Protected
MODE1Peripheral Mode
  • 0 SWDT counts clock cycles
  • 1 SWDT counts executed instructions
ENABLE0Peripheral Enable

CTRLBControl B

Address
0xE21
Reset
0x00
Access
write only
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0TEST
1 field
FieldBitsWhat it does
TEST0Test

INTCTRLInterrupt Control

Address
0xE22
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3ERROR
  6. 2–
  7. 1–
  8. 0–
1 field
FieldBitsWhat it does
ERROR3SWDT Error interrupt enable

INTFLAGSInterrupt Flags

Address
0xE23
Reset
0x00
Access
read/write
  1. 7BADPC
  2. 6BADC
  3. 5UC
  4. 4EXP
  5. 3ERROR
  6. 2–
  7. 1PRECLEAR
  8. 0CLEAR
7 fields
FieldBitsWhat it does
BADPC7Non-PRECLEAR Command received while expecting PRECLEAR
BADC6Non-CLEAR Command received while expecting CLEAR
UC5Unexpected Command
EXP4Counter has expired
ERROR3SWDT Error has occured
PRECLEAR1Preclear Ready
CLEAR0Clear Ready

CNTCounter

Address
0xE24
Reset
0x00000000
Access
read only
Size
32-bit
1 field
FieldBitsWhat it does
CNT23:0SWDT Counter

RESETCounter Reset

Address
0xE28
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
RESET23:0SWDT Counter Reset Value

WINDOWCounter Window

Address
0xE2C
Reset
0x0000
Access
read/write
Size
16-bit

COMMANDCommand

Address
0xE2E
Reset
0x00
Access
write only
  1. 7COMMAND7
  2. 6COMMAND6
  3. 5COMMAND5
  4. 4COMMAND4
  5. 3COMMAND3
  6. 2COMMAND2
  7. 1COMMAND1
  8. 0COMMAND0
1 field
FieldBitsWhat it does
COMMAND7:0SWDT Command
  • 8 Step 1 in the SWDT clear sequence
  • 16 Step 2 in the SWDT clear sequence