Datasheet

Section 11 16-Bit Timer Pulse Unit (TPU)
Rev. 6.00 Mar. 18, 2010 Page 427 of 982
REJ09B0054-0600
TCNT
TCNT
input clock
External clock
φ
N 1 N N + 1 N + 2
Falling edge
Rising edge Falling edge
Figure 11.32 Count Timing in External Clock Operation
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. After a match between TCNT and TGR, the compare match signal is not
generated until the (TIOC pin) TCNT input clock is generated.
Figure 11.33 shows output compare output timing.
TGR
TCNT
TCNT
input clock
N
N N + 1
Compare
match signal
TIOC pin
φ
Figure 11.33 Output Compare Output Timing