Renesas H8S/2100 Series Hardware Manual page 326

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

Advertisement

Section 11 16-Bit Cycle Measurement Timer (TCM)
Initial
Bit
Bit Name
Value
4
IEDG
0
3
TCMMDS
0
2
CKS2
0
1
CKS1
0
0
CKS0
0
Rev. 1.00 May 09, 2008 Page 300 of 954
REJ09B0462-0100
R/W
Description
R/W
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 cycle 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
R/W
TCM Mode Select
Selects the TCM operating mode.
0: Timer mode
The TCM provides compare match and input capture
facilities.
1: Cycle measurement mode
Setting this bit to 1 starts counting by TCMCNT. TCMCNT
should be initialized to H'0000. Clear the CST in TCMCR
to 0 before setting to cycle measurement mode.
R/W
Clock Select 2, 1, 0
R/W
Selects the clock signal for input to TCMCNT.
Note: Modify this bit when CST = 0 and TCMMDS = 0
R/W
000: Count φ/2 internal clock
001: Count φ/8 internal clock
010: Count φ/16 internal clock
011: Count φ/32 internal clock
100: Count φ/64 internal clock
101: Count φ/128 internal clock
110: Count φ/256 internal clock
111: Count external clock (select the external clock edge
with CKSEG in TCMCSR.)

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents