ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 10 Watchdog Timer
10-3
10.2.2 Watchdog Timer Control Register (WDTCON)
Address: 0F00EH
Access: R/W
Access size: 8-bit
Initial value: 00H
7 6 5 4 3 2 1 0
WDTCON
d7 d6 d5 d4 d3 d2 d1
WDP/d0
R/W W W W W W W W
R/W
Initial
value
0 0 0 0 0 0 0 0
WDTCON is a special function register (SFR) to clear the WDT counter.
When WDTCON is read, the value of the internal pointer (WDP) is read from bit 0.
[Description of Bits]
•
WDP/d0
(bit 0)
The value of the internal pointer (WDP) is read from this bit. The WDP is reset to “0” at the system reset or WDT
counter overflow and is inverted every writing to WDTCON.
•
d7-d0
(bits 7-0)
This bit is used to write data to clear the WDT counter. The WDT counter can be cleared by writing "5AH" with
the internal pointer (WDP) is "0", then writing "0A5H" with the WDP "1".
Note:
When the WDT interrupt (WDTINT) occurs by the first WDT counter overflow, the counter and the internal pointer
(WDP) are initialiaed for a half cycle of low speed clock (about 15us). During the time period that they are initialized,
writing to WDTCON is disable and the logic of WDP does not change. Therefore, in the case of that you have
program codes handle to clear the WDT when the first overflow WDT interrupt occurs and also the codes run at
high-speed system clock, please check the WDP gets reversed after writing to WDTCON to see if the writing was
surely successful. For example of the program code, see Section 10.3.1, "Handling example when you do not want to
use the watch dog timer".
Summary of Contents for ML610472
Page 12: ...Chapter 1 Overview...
Page 38: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 48: ...Chapter 4 MCU Control Function...
Page 62: ...Chapter 5 Interrupts...
Page 82: ...Chapter 6 Clock Generation Circuit...
Page 94: ...Chapter 7 Time Base Counter...
Page 105: ...Chapter 8 Capture...
Page 114: ...Chapter 9 Timer...
Page 133: ...Chapter 10 Watchdog Timer...
Page 141: ...Chapter 11 UART...
Page 164: ...Chapter 12 Port 0...
Page 173: ...Chapter 13 Port 2...
Page 180: ...Chapter 14 Port 3...
Page 188: ...Chapter 15 Port 4...
Page 199: ...Chapter 16 Port 6...
Page 205: ...Chapter 17 RC Oscillation Type A D Converter...
Page 225: ...Chapter 18 LCD Drivers...
Page 243: ...Chapter 19 Power Supply Circuit...
Page 245: ...Chapter 20 uEASE Flash Writer System...
Page 249: ...Chapter 21 Software Development...
Page 258: ...Appendixes...
Page 280: ...Revision History...