Table of Contents

Advertisement

8.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 4).
Table 8-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 8-4 PWM Output Pins and Registers
Channel
0
1
2
3
4
Downloaded from
Elcodis.com
electronic components distributor
Output Pin
1 Output
TIOCA0
GRA0
TIOCA1
GRA1
TIOCA2
GRA2
TIOCA3
GRA3
TIOCA4
GRA4
222
0 Output
GRB0
GRB1
GRB2
GRB3
GRB4

Advertisement

Table of Contents
loading

Table of Contents