Examples of PWM Mode: Figure 10-29 shows examples of operation in PWM mode. In PWM
mode TIOCA becomes an output pin. The output goes to 1 at compare match with GRA, and to 0
at compare match with GRB.
In the examples shown, TCNT is cleared by compare match with GRA or GRB. Synchronized
operation and free-running counting are also possible.
Figure 10-29 PWM Mode (Example 1)
TCNT value
Counter cleared by compare match with GRA
Time
GRA
GRB
TIOCA
a. Counter cleared by GRA
TCNT value
Counter cleared by compare match with GRB
Time
GRB
GRA
TIOCA
b. Counter cleared by GRB
H'0000
H'0000
350
www.DataSheet4U.com