p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 288

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 250 of 658
REJ09B0310-0100
Bit
6
5
4
3
Bit Name
POCTL
CPSPE
IEDG
TCMMDS
0
0
0
0
Initial
Value
R/W
R/W
R/W
R/W
R/W
Input Capture Stop Enable
TCM Mode Select
Description
TCMCYI Input Polarity Reversal
0: Use the TCMCYI input directly
1: Use the inverted TCMCYI input
Note: Modify this bit while CST = 0 and TCMMDS = 0
Controls whether or not counting up by TCMCNT and input-
capture operation stop or continue when MAXOVF is set to
1 in speed measurement mode. The bit does not affect
operation in timer mode.
0: Counting up and input-capture operation continue when
1: Counting up and input-capture operation stop when the
Input Edge Select
In timer mode, selects the falling or rising edge of the
TCMCYI input for use in input capture, in combination with
the value of the POCTL bit.
In speed-measurement mode, selects the falling or rising
edge of the TCMCYI input for use in measurement, in
combination with the value of the POCTL bit.
POCTL = 0
0: Selects the rising edge of the TCMCYI input
1: Selects the falling edge of the TCMCYI input
POCTL = 1
0: Selects the falling edge of the TCMCYI input
1: Selects the rising edge of the TCMCYI input
Selects the TCM operating mode.
0: Timer mode
1: Speed measurement mode
the MAXOVF flag is set to 1.
MAXOVF flag is set to 1.
The TCM provides compare match and input capture
facilities.
TCMCNT should be initialized to H'0000. Clear the CST
in TCMCR to 0 before setting to speed measurement
mode.

Related parts for p2125vps20