p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 286

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 12 16-Bit Cycle Measurement Timer (TCM)
Rev. 1.00 Sep. 21, 2006 Page 248 of 658
REJ09B0310-0100
Bit
6
5
4
Bit Name
MAXOVF
CMF
CKSEG
0
Initial
Value
0
0
R/W
R/(W)* Measurement Period Limit Overflow
R/(W)* Compare Match Flag (only valid in timer mode)
R/(W)* External Clock Edge Select
Description
This flag indicates that the number of cycles measured in
one measurement period (two periods of the input waveform
form one measurement period) in speed measurement
mode has exceeded the upper limit for measurement
periods, as set in TCMMLCM. Only 0 can be written to clear
the flag.
[Setting condition]
When TCMICR is greater than TCMMLCM
[Clearing condition]
Reading MAXOVF when MAXOVF = 1 and then writing 0 to
MAXOVF
[Setting condition]
When the values in TCMCNT and TCMMLCM match.
Note: CMF is not set in speed measurement mode, even
[Clearing condition]
Reading CMF when CMF = 1 and then writing 0 to CMF
If bits CKS2 to CKS0 in TCMCR are set to B'111, this bit
selects the edge for counting of external count clock edge.
0: Count falling edges of the external clock.
1: Count rising edges of the external clock.
when the values in TCMCNT and TCMMLCM match.

Related parts for p2125vps20