Tcm Control Register (Tcmcr) - Renesas H8S/2100 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

11.3.7

TCM Control Register (TCMCR)

TCMCR is an 8-bit readable/writable register. TCMCR selects input capture input edge, counter
start, and counter clock, and controls operation mode.
Initial
Bit
Bit Name
Value
7
CST
0
6
POCTL
0
5
CPSPE
0
R/W
Description
R/W
Counter Start
In timer mode, setting this bit to 1 starts counting by
TCMCNT; clearing this bit stops counting by TCMCNT.
Then, the counter is initialized to H'0000, and input-capture
operation stops.
Clear this bit and thus return TCMCNT to H'0000 in
initialization for cycle measurement mode.
R/W
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
R/W
Input Capture Stop Enable
Controls whether or not counting up by TCMCNT and input-
capture operation stop or continue when either of MAXOVF
or MINUDF is set to 1 in cycle measurement mode. The bit
does not affect operation in timer mode.
0: Counting up and input-capture operation continue when
the flag is set to 1.
1: Counting up and input-capture operation are disabled
when the flag is set to 1.
Section 11 16-Bit Cycle Measurement Timer (TCM)
Rev. 1.00 Apr. 28, 2008 Page 313 of 994
REJ09B0452-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2117r seriesR4f2117r

Table of Contents