Section 18 Multi-Function Timer Pulse Unit (MTU)
Pφ
External
clock
TCNT input
clock
TCNT
Figure 18.56 Count Timing in External Clock Operation (Phase Counting Mode)
Output Compare Output Timing: A compare match signal is generated in the final state in
which TCNT and TGR match (the point at which the count value matched by TCNT is updated).
When a compare match signal is generated, the output value set in TIOR is output at the output
compare output pin (TIOC pin). After a match between TCNT and TGR, the compare match
signal is not generated until the TCNT input clock is generated.
Figure 18.57 shows output compare output timing (normal mode and PWM mode) and
figure 18.58 shows output compare output timing (complementary PWM mode and reset
synchronous PWM mode).
Pφ
TCNT input
clock
TCNT
TGR
Compare
match signal
TIOC pin
Figure 18.57 Output Compare Output Timing (Normal Mode/PWM Mode)
Rev. 4.00 Sep. 14, 2005 Page 620 of 982
REJ09B0023-0400
Falling edge
N-1
N
N
Rising edge
Falling edge
N
N+1
N+1