Chapter 4. Peripheral Hardware
4.1.5 Watch Dog Timer
Watch Dog Timer(WDT) consists of 6-bit binary counter, 6-bit comparator, and Watch
Dog Timer Register (WDTR).
0
5
CLR WDTON
WDT0
WDT1
WDT2
WDT3
WDT4
WDT5
IFBIT
To Reset circuit
6BIT COMPARATOR
IF WDT
0
6
WDTCL
WDTR0
WDTR1
WDTR2
WDTR3
WDTR4
WDTR5
WDTR
W <00C8H>
Internal Data Bus
Fig. 4.5 Block diagram of Watch Dog Timer
4.1.5.1 Control of WDT
Watch Dog Timer can be used 6-bit general Timer or specific Watch dog timer by setting
bit5(WDTON) of Clock Control Register(CKCTLR).
Clock Control Register
7
0
-
-
WDTON
ENPCK
BTCL
BTS2
BTS1
BTS0
CKCTLR
W <00C7H>
WDTON
Watch Dog Timer Function Control
6-bit Timer
0
1
Watch Dog Timer
4 - 7