Register Descriptions; Timer Counter Tcnt-H'ffed; Timer Control/Status Register (Tcsr)-H'ffec (Read), H'ffed (Write) - Hitachi H8/500 Series Hardware Manual

Table of Contents

Advertisement

13.2 Register Descriptions

13.2.1 Timer Counter TCNT—H'FFED
Bit
Initial value
Read/Write
The watchdog timer counter (TCNT) is a readable/writable* 8-bit up-counter. When the timer
enable bit (TME) in the timer control/status register (TCSR) is set to 1, the timer counter starts
counting pulses of an internal clock source selected by clock select bits 2 to 0 (CKS2 to CKS0) in
the TCSR. When the count overflows (changes from H'FF to H'00), an overflow flag (OVF) in the
TCSR is set to 1.
The watchdog timer counter is initialized to H'00 at a reset and when the TME bit is cleared to 0.
* TCNT is write-protected by a password. See section 13.2.3, "Notes on Register Access" for details.
13.2.2 Timer Control/Status Register (TCSR)—H'FFEC (Read), H'FFED (Write)
Bit
Initial value
Read/Write
The watchdog timer control/status register (TCSR) is an 8-bit readable/writable
selects the timer mode and clock source and performs other functions.
Bits 7 to 5 are initialized to 0 at a reset and in the standby modes. Bits 2 to 0 are initialized to 0 at
a reset, but retain their values in the standby modes.
*1 Software can write a 0 in bit 7 to clear the flag, but cannot set this bit to 1.
*2 The TCSR is write-protected by a password. See section 13.2.3, "Notes on Register Access"
for details.
Downloaded from
Elcodis.com
electronic components distributor
7
6
0
0
R/W
R/W
R/W
7
6
OVF
WT/IT
TME
0
0
*1
R/(W)
R/W
R/W
5
4
3
0
0
0
R/W
R/W
5
4
3
0
1
1
237
2
1
0
0
R/W
R/W
R/W
2
1
CKS2
CKS1
CKS0
0
0
R/W
R/W
R/W
*2
register that
0
0
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/532

Table of Contents