Datasheet

In output compare mode the output signal can be set, cleared, or toggled on match
All channels can be configured for center-aligned PWM mode
Each pair of channels can be combined to generate a PWM signal with independent
control of both edges of PWM signal
The FTM channels can operate as pairs with equal outputs, pairs with
complementary outputs, or independent channels with independent outputs
The deadtime insertion is available for each complementary pair
Generation of triggers (match trigger)
Software control of PWM outputs
Up to four fault inputs for global fault control
The polarity of each channel is configurable
The generation of an interrupt per channel
The generation of an interrupt when the counter overflows
The generation of an interrupt when the fault condition is detected
Synchronized loading of write buffered FTM registers
Write protection for critical registers
Backwards compatible with TPM
Testing of input captures for a stuck at zero and one conditions
Dual edge capture for pulse and period width measurement
12.1.3 Modes of operation
When the MCU is in active BDM background or BDM foreground mode, the FTM
temporarily suspends all counting until the MCU returns to normal user operating mode.
During stop mode, all FTM input clocks are stopped, so the FTM is effectively disabled
until clocks resume. During wait mode, the FTM continues to operate normally. If the
FTM does not need to produce a real time reference or provide the interrupt sources
needed to wake the MCU from wait mode, the power can then be saved by disabling
FTM functions before entering wait mode.
Chapter 12 FlexTimer Module (FTM)
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 289