9.4.4
PWM Mode
In PWM mode GRA and GRB are paired and a PWM waveform is output from the TIOCA pin.
GRA specifies the time at which the PWM output changes to 1. GRB specifies the time at which
the PWM output changes to 0. If either GRA or GRB is selected as the counter clear source, a
PWM waveform with a duty cycle from 0% to 100% is output at the TIOCA pin. PWM mode can
be selected in all channels (0 to 2).
Table 9.4 summarizes the PWM output pins and corresponding registers. If the same value is set in
GRA and GRB, the output does not change when compare match occurs.
Table 9.4
PWM Output Pins and Registers
Channel
Output Pin
0
TIOCA
1
TIOCA
2
TIOCA
324
1 Output
GRA0
0
GRA1
1
GRA2
2
0 Output
GRB0
GRB1
GRB2