How does this instruction generates trigger
Hi
Have you read AN5303: Features and Operation Modes of FlexTimer Module on S32K – Application Note and AN5303SW?
The code you attached just clears the flag after checking CHF and updates the value of CnV to adjust the PWM duty cycle.
If you want to understand the mechanism of CnV update, it is recommended to read chapter 4.3. Updating FTM registers of AN5303.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------