Hi,
Yes, your code should look like this:
FTM0[0].CNTIN = FTM_CNT_COUNT(0); /*initize counter with 0*/
FTM0[0].MODE = FTM_MODE_WPDIS(1); /*write protection disabled */
FTM0[0].SC = FTM_SC_CLKS(1); /* clock source selection: System clock*/
FTM0[0].SC = FTM_SC_PS(3); /* Prescaler */
FTM0[0].MOD = 0xFFFF;
FTM0[0].MODE = FTM_MODE_FTMEN(1); /* FTM enable*/
If you want to configure FTM easier you can use SDK because it includes the FTM drivers and for application you can call these 2 functions :FTM_DRV_InitCounter and FTM_DRV_CounterStart.
Best regards,
Razvan