Datasheet

Timers
9.8.1 FlexTimer module (FTM)
The FlexTimer module is an up to six-channel timer that supports input capture, output
compare, and the generation of PWM signals to control electric motor and power
management applications. FTM time reference is a 16-bit counter that can be used as an
unsigned or signed counter.
This MCU contains up to three FTM modules with one 6-channel FTM and two 2-
channel FTMs. FTM0 and FTM1, each of which has two independent channels, are fully
compatible to the TPM. FTM2, which has six channels, is backward compatible to the
TPM for simple configuration and operation, and features hardware deadtime insertion,
pairs with complementary outputs, generation of triggers, and fault inputs.
Each FTM module has independent external clock input. The following table summarizes
the external signals of FTM modules.
Table 9-1. FTM module external signals
FTM Functions Default Alternate
FTM0
channel 0 PTA0/FTM0CH0
channel 1 PTA1/FTM0CH1
alternate clock PTA5/TCLK0
FTM1
channel 0 PTC4/FTM1CH0
channel 1 PTC5/FTM1CH1
alternate clock PTE0/TCLK1
FTM2
channel 0 PTC0/FTM2CH0 PTH0/FTM2CH0
channel 1 PTC1/FTM2CH1 PTH1/FTM2CH1
channel 2 PTC2/FTM2CH2 PTD0/FTM2CH2
channel 3 PTC3/FTM2CH3 PTD1/FTM2CH3
channel 4 PTB4/FTM2CH4
channel 5 PTB5/FTM2CH5
fault 1 PTA6/FTM2FAULT1
fault 2 PTA7/FTM2FAULT2
alternate clock PTE7/TCLK2
The following figure shows the device block diagram highlighting FTM modules and
pins.
9.8
Chapter 9 Chip configurations
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 227