h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 384

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 13 8-Bit Timer (TMR)
13.5.2
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.
13.5.3
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.
Rev. 3.00 Jan 25, 2006 page 332 of 872
REJ09B0286-0300
Compare-match A
signal
Timer output pin
Figure 13.7 Timing of Toggled Timer Output by Compare-Match A Signal
Timing of CMFA and CMFB Setting at Compare-Match
Timing of Timer Output at Compare-Match
TCNT
TCOR
Compare-match
signal
CMF
Figure 13.6 Timing of CMF Setting at Compare-Match
N
N
N + 1

Related parts for h8s-2158