h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 357

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
12.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 12.6
shows the timing of CMF flag setting.
12.5.3
When a compare-match signal occurs, the timer output changes as specified by the OS3 to OS0
bits in TCSR. Figure 12.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 12.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 12.6 Timing of CMF Setting at Compare-Match
N
N
Rev. 3.00 Mar 21, 2006 page 303 of 788
Section 12 8-Bit Timer (TMR)
N + 1
REJ09B0300-0300

Related parts for h8s-2161b