Datasheet

Notes
- FTM counter configuration: (FTMEN = 1), (CAPTEST = 1), (CPWMS = 0), (CNTINH:L = 0x0000) and
(MODH:L = 0xFFFF)
- FTM channel n configuration: input capture mode – (DECAPEN = 0), (COMBINE = 0), and (MSnB:MSnA = 0:0)
FTM counter
CAPTEST bit
FTM counter clock
set CAPTEST
write to CNTH
write to CNTL
C0VH:L
CH0F bit
clear CAPTEST
write to MODE
0x78AD
0x1053
0x1054
0x1055 0x1056 0x7856 0x78AC
0x78AE
0x78AF 0x78B0
write 0x78
write 0xAC
0x78AC
0x0300
Figure 12-252. Capture test mode
12.4.21 Dual edge capture mode
The dual edge capture mode is selected if FTMEN = 1 and DECAPEN = 1. This mode
allows software to measure a pulse width or period of the signal on the input of channel
(n) of a channel pair. The channel (n) filter can be active in this mode when n is the
channels 0 or 2.
Chapter 12 FlexTimer Module (FTM)
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 371