Hi,
as for quadrature decoder: K70 FTM0 peripheral does not have this functionality so it can't be configured in init component. Quad decoder is available only for FTM1 and FTM2 as described in reference manual:
3.8.2.1 Instantiation Information
This device contains four FlexTimer modules.
The following table shows how these modules are configured.
Table 3-63. FTM Instantiations
FTM instance Number of channels Features/usage
FTM0 8 3-phase motor + 2 general purpose or stepper motor
FTM1 2 Quadrature decoder or general purpose
FTM2 2 Quadrature decoder or general purpose
FTM3 8 3-phase motor + 2 general purpose or stepper motor
Compared with the FTM0 and FTM3 configuration, the FTM1 and FTM2 configuration adds the Quadrature decoder feature and reduces the number of channels.
Best Regards,
Lukas