• Enhanced triggering functionality• Initialization and polarity controlAll of the features common with the TPM have fully backwards compatible registerassignments. The FlexTimer can also use code on the same core platform without changeto perform the same functions.Motor control and power conversion features have been added through a dedicated set ofregisters and defaults turn off all new features. The new features, such as hardwaredeadtime insertion, polarity, fault control, and output forcing and masking, greatly reduceloading on the execution software and are usually each controlled by a group of registers.FlexTimer input triggers can be from comparators, ADC, or other submodules to initiatetimer functions automatically. These triggers can be linked in a variety of ways duringintegration of the sub modules so please note the options available for used FlexTimerconfiguration.More than one FlexTimers may be synchronized to provide a larger timer with theircounters incrementing in unison, assuming the initialization, the input clocks, the initialand final counting values are the same in each FlexTimer.All main user access registers are buffered to ease the load on the executing software. Anumber of trigger options exist to determine which registers are updated with this userdefined data.39.1.2 FeaturesThe FTM features include:• FTM source clock is selectable.• The source clock can be the system clock, the fixed frequency clock, or anexternal clock• Fixed frequency clock is an additional clock input to allow the selection of an onchip clock source other than the system clock• Selecting external clock connects FTM clock to a chip level input pin thereforeallowing to synchronize the FTM counter with an off chip clock source• Prescaler divide-by 1, 2, 4, 8, 16, 32, 64, or 128• 16-bit counter• It can be a free-running counter or a counter with initial and final value• The counting can be up or up-downIntroductionK22F Sub-Family Reference Manual, Rev. 4, 08/2016892 NXP Semiconductors