English
Language : 

MC9S08DE60 Datasheet, PDF (319/412 Pages) Freescale Semiconductor, Inc – Microcontrollers
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 393 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).
MC9S08DE60 Series MCUs have two TPM modules. In all packages, TPM2 is 2-channel and TPM1 is
6-channel.
MC9S08DE60 Series Data Sheet, Rev. 3
Freescale Semiconductor
319