AN202
V1.0 | Page 24/73
www.cmostek.com
4.1.11
WDTCON
(
Addr:0x18
)
Table 4-18. WDTCON Register
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
WDTCON
-
-
-
WDTPS<3:0>
SWDTEN
Reset
-
-
-
0
1
0
0
0
Type
-
-
-
RW
RW
RW
RW
RW
Table 4-19. WDTCON Bit Function Description
2
TMR2ON
Timer2 On bit
1 = Timer2 is on
0 = Timer2 is off
1:0
T2CKPS<1:0>
Timer2 Clock Prescale Select bits
00 = 1:1 Prescaler is 1
01 = 1:4 Prescaler is 4
1x = 1:16 Prescaler is 16
Bit
Name
Function
7:5
-
Reserved-bits, read as 0
4:1
WDTPS<3:0>
Watchdog TimerPeriod Select Bits
0000 = 1:32
0001 = 1:64
0010 = 1:128
0011 = 1:256
0100 = 1:512 (Reset value)
0101 = 1:1024
0110 = 1:2048
0111 = 1:4096
1000 = 1:8192
1001 = 1:16384
1010 = 1:32768
1011 = 1:65536
11xx = 1:65536
0
SWDTEN
Software Enable or Disable the watchdog timer
1 = WDT is turned on
0 = WDT is turned off
Содержание CMT2189C
Страница 32: ...AN202 V1 0 Page 32 73 www cmostek com...