16-BIT DATA BUS
PWMA REGISTER
PWMB REGISTER
7
PWMBUFA REGISTER PWMBUFB REGISTER
PWMA
PIN
F1A
BIT
R
LATCH
S
ZERO DETECTOR
COMPARATOR A
COMPARATOR B
R
LATCH
S
ZERO DETECTOR
PWMB
PIN
F1B
BIT
SFA
BIT
MULTIPLEXER A
MULTIPLEXER B
SFB
BIT
16-BIT COUNTER
16-BIT TIMER BUS
FROM
PRESCALER
16/32 PWM BLOCK
Figure 7-6 PWM Block Diagram
7.11.1 PWM Counter
The 16-bit counter in the PWM unit is similar to the timer counter in the capture/com-
pare unit. During reset, the GPT is configured to use the system clock divided by two
to drive the counter. Initialization software can reconfigure the counter to use one of
seven prescaler outputs or an external clock input from the PCLK pin.
MOTOROLA
7-16
GENERAL-PURPOSE TIMER
MC68331
USER’S MANUAL