16.7.11 Watchdog Timer Setup

Name: WDT_SETUP
Offset: 0x898
Reset: 0x00
Property: RW

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
     EWOFFSET[3:0] 
Access RWRWRWRW 
Reset 0000 
Bit 15141312111098 
 WINDOW[3:0]PER[3:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 76543210 
 ALWAYSONRUNSTDBY   WENENABLE  
Access RWRWRWRW 
Reset 0000 

Bits 19:16 – EWOFFSET[3:0] Early Warning Interrupt Time Offset

These bits determine the number of GCLK_WDT clock cycles between the start of the watchdog time-out period and the generation of the Early Warning interrupt.

ValueNameDescription
0x0 CYC8 8 clock cycles
0x1 CYC16 16 clock cycles
0x2 CYC32 32 clock cycles
0x3 CYC64 64 clock cycles
0x4 CYC128 128 clock cycles
0x5 CYC256 256 clock cycles
0x6 CYC512 512 clock cycles
0x7 CYC1024 1024 clock cycles
0x8 CYC2048 2048 clock cycles
0x9 CYC4096 4096 clock cycles
0xA CYC8192 8192 clock cycles
0xB CYC16384 16384 clock cycles

Bits 15:12 – WINDOW[3:0] Window Mode Time-Out Period

In Window mode, these bits determine the watchdog closed window period as a number of cycles of the 1024 Hz CLK_WDT_OSC clock..

ValueNameDescription
0x0 CYC8 8 clock cycles
0x1 CYC16 16 clock cycles
0x2 CYC32 32 clock cycles
0x3 CYC64 64 clock cycles
0x4 CYC128 128 clock cycles
0x5 CYC256 256 clock cycles
0x6 CYC512 512 clock cycles
0x7 CYC1024 1024 clock cycles
0x8 CYC2048 2048 clock cycles
0x9 CYC4096 4096 clock cycles
0xA CYC8192 8192 clock cycles
0xB CYC16384 16384 clock cycles

Bits 11:8 – PER[3:0] Time-Out Period

These bits determine the watchdog time-out period as a number of 1024 Hz CLK_WDTOSC clock cycles. In Window mode operation, these bits define the open window period.

ValueNameDescription
0x0 CYC8 8 clock cycles
0x1 CYC16 16 clock cycles
0x2 CYC32 32 clock cycles
0x3 CYC64 64 clock cycles
0x4 CYC128 128 clock cycles
0x5 CYC256 256 clock cycles
0x6 CYC512 512 clock cycles
0x7 CYC1024 1024 clock cycles
0x8 CYC2048 2048 clock cycles
0x9 CYC4096 4096 clock cycles
0xA CYC8192 8192 clock cycles
0xB CYC16384 16384 clock cycles

Bit 7 – ALWAYSON Always-On

This bit allows the WDT to run continuously. After being set, this bit cannot be written to '0', and the WDT will remain enabled until a Power-on Reset is received.

Writing a '0' to this bit has no effect.

ValueDescription
0 The WDT is enabled and disabled through the ENABLE bit.
1 The WDT is enabled and can only be disabled by a power-on reset (POR).

Bit 6 – RUNSTDBY Run During Standby

This bit controls the behavior of the watchdog during Standby Sleep mode.

ValueDescription
0 The WDT is disabled during Standby sleep mode.
1 The WDT is enabled continues to operate during Standby sleep mode.

Bit 2 – WEN Watchdog Timer Window Mode Enable

This bit enables Window mode.

ValueDescription
0 Window mode is disabled (normal operation).
1 Window mode is enabled.

Bit 1 – ENABLE Enable

ValueDescription
0 The WDT is disabled.
1 The WDT is enabled.