Hello Robert,
You can also write disable/enable code by yourself , it just configure the register of :FTMx_SC

The two functions I mentioned also only configure this register:

Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------