p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 285

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
12.3.3
TCMICR is a 16-bit read only register. In timer mode, the value in TCMCNT is transferred to
TCMICR on the edge selected by the IEDG bit in TCMCR. At the same time, the ICPF flag in
TCMCSR is set to 1. In speed measurement mode, the value in TCMCNT is transferred to
TCMICR on detection of the third edge of the measurement period. At this time, the ICPF flag in
TCMCSR is set to 1. TCMICR should always be accessed in 16-bit units and cannot be accessed
in 8-bit units. TCMICR is initialized to H'0000.
12.3.4
TCMICRF is a 16-bit read only register. TCMICRF can be used as TCMICR buffer register.
When input capture is generated, the value in TCMICR is transferred to TCMICRF.
TCMICR and TCMICRF should always be accessed in 16-bit units and cannot be accessed in 8-
bit units. TCMICRF is initialized to H'0000.
12.3.5
TCMCSR is an 8-bit readable/writable register that controls operation of the interrupt sources.
Bit
7
Bit Name
OVF
TCM Input Capture Register (TCMICR)
TCM Input Capture Buffer Register (TCMICRF)
TCM Status Register (TCMCSR)
Initial
Value
0
R/W
R/(W)* Timer Overflow
Description
This flag indicates that the TCMCNT has overflowed. Only 0
can be written to clear the flag.
[Setting condition]
Overflow of TCMCNT (change in value from H'FFFF to
H'0000)
[Clearing condition]
Reading OVF when OVF = 1 and then writing 0 to OVF.
Section 12 16-Bit Cycle Measurement Timer (TCM)
Rev. 1.00 Sep. 21, 2006 Page 247 of 658
REJ09B0310-0100

Related parts for p2125vps20