
MC9S12T64Revision 1.1.1
MOTOROLA
Pulse Width Modulator (PWM8B8C)
For More Information On This Product,
Go to: www.freescale.com
327
Pulse Width Modulator
(PWM8B8C)
Contents
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .327
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
Modes of Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .330
External Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .331
Register Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .332
Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .334
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
Low Power Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .368
Reset Initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .368
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .369
Overview
The PWM_8B8C definition is based on the MC68HC11KD2 and the
HC12 PWM definitions. This PWM_8B8C contains the basic features
from the HC11 with some of the enhancements incorporated on the
HC12. In addition, the module is now expanded to eight channels with
independent control of left and center aligned outputs on each channel.
In all basic functionality, it will behave similarly to the HC11 PWM with
the additional HC12 PWM features of center aligned output mode and
four available clock sources.
The PWM_8B8C module contains eight channels. Each of these
channels has a programmable period and duty cycle as well as a
dedicated counter. A flexible clock select scheme allows a total of four
different clock sources to be used with the counters. Each of the
modulators can create independent continuous waveforms with
F
Freescale Semiconductor, Inc.
n
.