English
Language : 

SH7011 Datasheet, PDF (129/292 Pages) Renesas Technology Corp – CMOS single-chip microprocessors
TCNT value
H'FFFF
TGRA
TGRB
H'0000
TIOCA
Time
Does not change Does not change 1 output
TIOCB
Does not change Does not change
0 output
Figure 8.10 Example of 0 Output/1 Output
Waveform Output Operation (Toggle Output): Figure 8.11 shows the toggle output. In the
example, the TCNT operates as a periodic counter cleared by compare-match B, with toggle
output at both compare-match A and compare-match B.
TCNT value
H'FFFF
TGRB
TGRA
H'0000
TIOCA
Counter cleared by TGRB compare match
Time
Toggle
output
TIOCB
Toggle
output
Figure 8.11 Example of Toggle Output
Input Capture Function: In the input capture mode, the TCNT value is transferred into the TGR
register when the input edge is detected at the input capture/output compare pin (TIOC).
Detection can take place on the rising edge, falling edge, or both edges. Channels 0 and 1 can use
other channel counter input clocks or compare-match signals as input capture sources.
120