English
Language : 

MC9S08DZ60CLH Datasheet, PDF (319/416 Pages) Freescale Semiconductor, Inc – MC9S08DZ60 Series Features
Chapter 16
Timer Pulse-Width Modulator (S08TPMV3)
NOTE
This chapter refers to S08TPM version 3, which applies to the 0M74K and
newer mask sets of this device. 3M05C and older mask set devices use
S08TPM version 2. If your device uses mask 3M05C or older, please refer
to Appendix B, “Timer Pulse-Width Modulator (TPMV2) on page 391 for
information pertaining to that module.
16.1 Introduction
The TPM is a one-to-eight-channel timer system which supports traditional input capture, output compare,
or edge-aligned PWM on each channel. A control bit allows the TPM to be configured such that all
channels may be used for center-aligned PWM functions. Timing functions are based on a 16-bit counter
with prescaler and modulo features to control frequency and range (period between overflows) of the time
reference. This timing system is ideally suited for a wide range of control applications, and the
center-aligned PWM capability extends the field of application to motor control in small appliances.
The TPM uses one input/output (I/O) pin per channel, TPMxCHn, where x is the TPM number (for
example, 1 or 2) and n is the channel number (for example, 0–5). The TPM shares its I/O pins with
general-purpose I/O port pins (refer to the Pins and Connections chapter for more information).
MC9S08DZ60 Series MCUs have two TPM modules. In all packages, TPM2 is 2-channel. The number of
channels available on external pins in TPM1 depends on the package:
• Six channels in 64-pin and 48-pin packages
• Four channels in 32-pin packages.
MC9S08DZ60 Series Data Sheet, Rev. 4
Freescale Semiconductor
319