11.1.4
Register Configuration
Table 11.2 summarizes the WDT registers.
Table 11.2 WDT Registers
1
Address *
2
Write *
Read
H'FFF8C H'FFF8C Timer control/status register
H'FFF8D Timer counter
H'FFF8E H'FFF8F Reset control/status register
Notes: *1 Lower 20 bits of the address in advanced mode
*2 Write word data starting at this address.
*3 Only 0 can be written in bit 7, to clear the flag.
11.2
Register Descriptions
11.2.1
Timer Counter (TCNT)
TCNT is an 8-bit readable and writable up-counter.
Bit
Initial value
Read/Write
R/W
Note: The method for writing to TCNT is different from that for general registers to prevent
inadvertent overwriting. For details see section 11.2.4, Notes on Register Access.
When the TME bit is set to 1 in TCSR, TCNT starts counting pulses generated from an internal
clock source selected by bits CKS2 to CKS0 in TCSR. When the count overflows (changes from
H'FF to H'00), the OVF bit is set to 1 in TCSR. TCNT is initialized to H'00 by a reset and when
the TME bit is cleared to 0.
Name
7
6
5
0
0
0
R/W
R/W
Abbreviation
TCSR
TCNT
RSTCSR
4
3
0
0
R/W
R/W
R/W
R/W
Initial Value
3
R/(W) *
H'18
R/W
H'00
3
R/(W) *
H'3F
2
1
0
0
0
0
R/W
R/W
351