English
Language : 

HD6417034 Datasheet, PDF (294/691 Pages) Renesas Technology Corp – SuperH RISC ENGINE SH7032 AND SH7034
TCNT value
GRB
Counter cleared at
GRB compare match
GRA
TIOCB
Time
Toggle
output
TIOCA
Toggle
output
Figure 10.21 Example of Toggle Output
• Compare match output timing
The compare match signal is generated in the last state in which TCNT and the general register
match (when TCNT changes from the matching value to the next value). When a compare
match signal is generated, the output value set in TIOR is output to the output compare pin
(TIOCA, TIOCB). Accordingly, when TCNT matches a general register, the compare match
signal is not generated until the next counter clock pulse. Figure 10.22 shows the output timing
of the compare match signal.
CK
TCNT input
clock
TCNT
N
N–1
GR
Compare
match signal
TIOCA
TIOCB
258
N
Figure 10.22 Compare Match Signal Output Timing