Information

37.4.3.4 Counter reset
Any write to CNT resets the FTM counter to the value in the CNTIN register and the
channels output to its initial value, except for channels in Output Compare mode.
The FTM counter synchronization can also be used to force the value of CNTIN into the
FTM counter and the channels output to its initial value, except for channels in Output
Compare mode.
37.4.3.5 When the TOF bit is set
The NUMTOF[4:0] bits define the number of times that the FTM counter overflow
should occur before the TOF bit to be set. If NUMTOF[4:0] = 0x00, then the TOF bit is
set at each FTM counter overflow.
FTM counter
NUMTOF[4:0]
TOF counter
set TOF bit
0x01
0x02 0x00
0x01
0x02
0x00
0x01
0x02
0x02
Figure 37-173. Periodic TOF when NUMTOF = 0x02
FTM counter
NUMTOF[4:0]
TOF counter
set TOF bit
0x00
0x00
Figure 37-174. Periodic TOF when NUMTOF = 0x00
37.4.4 Input Capture mode
The Input Capture mode is selected when:
Chapter 37 FlexTimer Module (FTM)
K20 Sub-Family Reference Manual, Rev. 1.1, Dec 2012
Freescale Semiconductor, Inc.
Preliminary
893
General Business Information