10.8.1 WDTCON0
Note:
- Times are approximate. WDT time is based on 31 kHz LFINTOSC.
- When WDTCPS in CONFIG3 =
11111
, the Reset value (q) of WDTPS is ‘01011
’. Otherwise, the Reset value of WDTPS is equal to WDTCPS in CONFIG3. - When WDTCPS in CONFIG3L ≠
11111
, these bits are read-only.
Name: | WDTCON0 |
Offset: | 0xED2 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
WDTPS[4:0] | SEN | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | q | q | q | q | q | 0 |
Bits 5:1 – WDTPS[4:0] Watchdog Timer Prescale Select bits(1)
Value | Description |
---|---|
11111 to
10011 |
Reserved. Results in minimum interval (1 ms) |
10010 |
1:8388608 (223) (Interval 256s nominal) |
10001 |
1:4194304 (222) (Interval 128s nominal) |
10000 |
1:2097152 (221) (Interval 64s nominal) |
01111 |
1:1048576 (220) (Interval 32s nominal) |
01110 |
1:524288 (219) (Interval 16s nominal) |
01101 |
1:262144 (218) (Interval 8s nominal) |
01100 |
1:131072 (217) (Interval 4s nominal) |
01011 |
1:65536 (Interval 2s nominal) (Reset value) |
01010 |
1:32768 (Interval 1s nominal) |
01001 |
1:16384 (Interval 512 ms nominal) |
01000 |
1:8192 (Interval 256 ms nominal) |
00111 |
1:4096 (Interval 128 ms nominal) |
00110 |
1:2048 (Interval 64 ms nominal) |
00101 |
1:1024 (Interval 32 ms nominal) |
00100 |
1:512 (Interval 16 ms nominal) |
00011 |
1:256 (Interval 8 ms nominal) |
00010 |
1:128 (Interval 4 ms nominal) |
00001 |
1:64 (Interval 2 ms nominal) |
00000 |
1:32 (Interval 1 ms nominal) |
Bit 0 – SEN Software Enable/Disable for Watchdog Timer bit
Value | Name | Description |
---|---|---|
— | If WDTE =
1x |
This bit is ignored |
1 |
If WDTE =
01 |
WDT is turned on |
0 |
If WDTE =
01 |
WDT is turned off |
— | If WDTE =
00 |
This bit is ignored |