English
Language : 

HD64F2149 Datasheet, PDF (382/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
ø
External clock
input pin
TCNT input
clock
TCNT
N–1
N
N+1
Figure 12.3 Count Timing for External Clock Input
12.3.2 Compare-Match Timing
Setting of Compare-Match Flags A and B (CMFA, CMFB): The CMFA and CMFB flags in
TCSR are set to 1 by a compare-match signal generated when the TCOR and TCNT values match.
The compare-match signal is generated at the last state in which the match is true, just before the
timer counter is updated.
Therefore, when TCOR and TCNT match, the compare-match signal is not generated until the
next incrementation clock input. Figure 12.4 shows this timing.
ø
TCNT
TCOR
Compare-match
signal
CMF
N
N+1
N
Figure 12.4 Timing of CMF Setting
348