Datasheet

Table Of Contents
MC9S12DP256 — Revision 1.1
Pulse Width Modulator (PWM)
Pulse Width Modulator (PWM)
Pulse Width Modulator (PWM)
Contents
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
External Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Register Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Reset Initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Modes of Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
Low Power Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Interrupt Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Overview
The Pulse Width Modulation (PWM) definition is based on the
MC68HC11KD2 and the HC12 PWM definitions. This PWM 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 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 software-selectable duty rates
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...