Conflict Between Edge Detection In Cycle Measurement Mode And Clearing Of Tcmmds Bit In Tcmcr; Settings Of Tcmcki And Tcmmci; Setting For Module Stop Mode - Renesas H8S/2100 Series Hardware Manual

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

Advertisement

11.6.5
Conflict between Edge Detection in Cycle Measurement Mode and Clearing of
TCMMDS Bit in TCMCR
If the CST bit in TCMCR is set to 1 in cycle measurement mode, and the TCMMDS bit in
TCMCR is cleared, but the selected edge from TCMCYI is detected at the same time, detection of
the selected edge will cause the timer to continue to operate in cycle measurement mode. The
timer will not make the transition to timer mode until the next detection of the selected edge. Thus,
ensure that the CST bit is cleared to 0 in cycle measurement mode.
Figure 11.17 shows the timing of this conflict.
φ
TCMCYI
Input capture
signal
Internal write
signal
TCMMDS
TCMCNT
TCMICR
Figure 11.17 Conflict between Edge Detection and Clearing of TCMMDS
(to Switch from Cycle Measurement Mode to Timer Mode)
11.6.6

Settings of TCMCKI and TCMMCI

TCMCKI and TCMMCI are multiplexed on the same pin of this LSI. Therefore, the selected
external clock and the TCMMCI signal cannot be used at the same time. Do not make the settings
CKS2 to CKS0 = B'111 and CMMS = B'1.
11.6.7

Setting for Module Stop Mode

The module-stop control register can be used to select either continuation or stoppage of TCM
operation in module-stopped mode. The default setting is for TCM operation to stop. TCM
registers become accessible on release from module stop mode. For details, see section 26, Power-
Down Modes.
TCMCNT cleared at the
first rising edge
M
H'0000
L
Section 11 16-Bit Cycle Measurement Timer (TCM)
TCMCNT not cleared
N
M
Rev. 1.00 May 09, 2008 Page 313 of 954
N + 1
N
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents