R8C/13 Group
11. Watchdog Timer
Option function select register(1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
OFS
Address
0FFFF16
Before shipment
FF16
1
1
1
1
1 1
1
Function
Bit name
RW
Bit symbol
0: The watchdog timer starts automatically after reset
1: The watchdog timer is inactive after reset
Watchdog timer
start select bit
RW
RW
WDTON
(b7 - b1)
Set to “1”
Reserved bit
NOTES:
1. The OFS register can not be changed in a program. Set using a flash writer.
Watchdog timer control register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
WDC
Address
000F16
After reset
00011111
0 0
2
Bit symbol
Bit name
High-order bit of watchdog timer
Function
RW
RO
(b4-b0)
(b5)
Reserved bit
Must set to “0”
Must set to “0”
RW
Reserved bit
RW
RW
(b6)
WDC7
Prescaler select bit
0 : Divided by 16
1 : Divided by 128
Watchdog timer reset register
b7
b0
Symbol
WDTR
Address
000D16
After reset
Indeterminate
RW
WO
Function
The watchdog is initialized after a write instruction to this register.
The watchdog timer value is always initialized to “7FFF16” regardless of
whatever value is written.
Watchdog timer start register
b7
b0
Symbol
WDTS
Address
000E16
After reset
Indeterminate
RW
WO
Function
The watchdog timer starts counting after a write instruction to this register.
Figure 11.2 OFS, WDC, WDTR and WDTS Registers
Rev.1.20 Jan 27, 2006 page 69 of 205
REJ09B0111-0120