Datasheet

Chapter 12
FlexTimer Module (FTM)
12.1 Introduction
NOTE
For the chip-specific implementation details of this module's
instances see the chip configuration information.
The FlexTimer module is a two to eight channel timer which supports input capture,
output compare, and the generation of PWM signals to control electric motor and power
management applications. The FTM time reference is a 16-bit counter that can be used as
an unsigned or signed counter.
12.1.1 FlexTimer philosophy
The FlexTimer is built upon a very simple timer used for many years on Freescale's 8-bit
microcontrollers, the HCS08 Timer PWM Module – TPM. The FlexTimer extends the
functionality to meet the demands of motor control, digital lighting solutions, and power
conversion, while providing low cost and backwards compatibility with the TPM module.
Several key enhancements are made: signed up-counter, dead time insertion hardware,
fault control inputs, enhanced triggering functionality and initialization, and polarity
control.
All of the features common with the TPM module have fully backwards compatible
register assignments and the FlexTimer can use code on the same core platform without
change to perform the same functions. A small exception to this is when the FlexTimer
clock frequency is twice bus clock frequency to provide extra resolution for high speed
PWM applications.
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 287