Timing Of Cmfa And Cmfb Setting At Compare-Match; Timing Of Timer Output At Compare-Match; Figure 13.6 Timing Of Cmf Setting At Compare-Match; Figure 13.7 Timing Of Toggled Timer Output By Compare-Match A Signal - Renesas H8S Series Hardware Manual

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

Advertisement

13.5.2

Timing of CMFA and CMFB Setting at Compare-Match

The CMFA and CMFB flags in TCSR are set to 1 by a compare-match signal generated when the
TCNT and TCOR values match. The compare-match signal is generated at the last state in which
the match is true, just when the timer counter is updated. Therefore, when TCNT and TCOR
match, the compare-match signal is not generated until the next TCNT input clock. Figure 13.6
shows the timing of CMF flag setting.
φ
TCNT
TCOR
Compare-match
signal
CMF

Figure 13.6 Timing of CMF Setting at Compare-Match

13.5.3

Timing of Timer Output at Compare-Match

When a compare-match signal occurs, the timer output changes as specified by the OS3 to OS0
bits in TCSR. Figure 13.7 shows the timing of timer output when the output is set to toggle by a
compare-match A signal.
φ
Compare-match A
signal
Timer output pin

Figure 13.7 Timing of Toggled Timer Output by Compare-Match A Signal

N
N
Section 13 8-Bit Timer (TMR)
N + 1
Rev. 3.00 Jul. 14, 2005 Page 399 of 986
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents