Datasheet

Table Of Contents
Section 16 Watchdog Timer
Rev. 2.00 Jul. 04, 2007 Page 339 of 692
REJ09B0309-0200
16.2.2 Timer Control/Status Register WD2 (TCSRWD2)
TCSRWD2 performs the TCSRWD2 write control, mode switching, and interrupt control.
TCSRWD2 must be rewritten by using the MOV instruction. The bit manipulation instruction
cannot be used to change the setting value.
Bit Bit Name
Initial
Value
R/W Description
7 OVF 0 R/(W)*
1
Overflow Flag
Indicates that TCWD has overflowed (changes from H'FF
to H'00).
[Setting condition]
TCWD overflows (changes from H'FF to H'00)
When internal reset request generation is selected in
watchdog timer mode, this bit is cleared automatically by
the internal reset after it has been set.
[Clearing condition]
TCSRWD2 is read when OVF = 1, then 0 is written to
OVF
6 B5WI 1 R/(W)*
2
Bit 5 Write Inhibit
The WT/IT bit can be written only when the write value of
the B5WI bit is 0. This bit is always read as 1.
5 WT/IT 0 R/(W)*
3
Timer Mode Select
Selects whether the WDT is used as a watchdog timer or
interval timer.
0: Watchdog timer mode
1: Interval timer mode
4 B3WI 1 R/(W)*
2
Bit 3 Write Inhibit
The IEOVF bit can be written only when the write value of
the B3WI bit is 0. This bit is always read as 1.
3 IEOVF 0 R/(W)*
3
Overflow Interrupt Enable
Enables or disables an overflow interrupt request in
interval timer mode.
0: Disables an overflow interrupt
1: Enables an overflow interrupt