R8C/18 Group, R8C/19 Group
13. Watchdog Timer
Rev.1.30
Apr 14, 2006
Page 98 of 233
REJ09B0222-0130
Figure 13.2
Registers OFS and WDC
Option Function Select Register
(1)
Symbol
Address
Before Shipment
OFS
0FFFFh
FFh
(2)
Bit Symbol
Bit Name
Function
RW
NOTES:
1.
2. If the block including the OFS register is erased, FFh is set to the OFS register.
CSPROINI
Count source protect
mode after reset select
bit
0 : Count source protect mode enabled after reset
1 : Count source protect mode disabled after reset
RW
The OFS register is on the flash memory. Write to the OFS register w ith a program.
ROM code protect bit
0 : ROM code protect enabled
1 : ROM code protect disabled
RW
—
(b6-b4)
Reserved bits
Set to 1.
RW
ROMCP1
—
(b1)
RW
Reserved bit
Set to 1.
ROMCR
ROM code protect
disabled bit
0 : ROM code protect disabled
1 : ROMCP1 enabled
RW
WDTON
RW
Watchdog timer start
select bit
0 : Starts w atchdog timer automatically after reset.
1 : Watchdog timer is inactive after reset.
1
1 1 1
b7 b6 b5 b4 b3 b2 b1 b0
Watchdog Timer Control Register
Symbol
Address
After Reset
WDC
000Fh
00011111b
Bit Symbol
Bit Name
Function
RW
WDC7
—
(b6)
Reserved bit
Set to 0.
Prescaler select bit
0 : Divided by 16
1 : Divided by 128
RW
Reserved bit
Set to 0.
RO
b7 b6 b5 b4
0 0
RW
High-order bits of w atchdog timer
—
(b4-b0)
RW
—
(b5)
b3 b2 b1 b0