Hi @xuechengjing
For the FTM configuration that you mention, we have the following resources that you can take as reference:
FlexTimer app note: Features of the FlexTimer Module (nxp.com)
Also, you can refer to the SDK examples about FTM with the K64F.
On the other hand, the configuration that you mention is typically used in motor control application, you can take as reference the mc_pmsm SDK example from FRDM-KV31F, which has the same FTM module as the K64F device.
You can check the examples and the version of the SDK in where they appear in the following link:
MCUXpresso SDK for Motor Control | NXP Semiconductors

Hope it helps you!