- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to create a timeout interrupt where the time is settable by the SW. <TCPWM_name>_TriggerReload(); TriggerStart() Doesnot work. The SetPeriod value is ignored.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi andrew.trobia_3264986,andrew.trobia_3264986
Please use the attached project for generating the timeout. Let me know if you have any query.
Thanks,
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi andrew.trobia_3264986,andrew.trobia_3264986
Please use the attached project for generating the timeout. Let me know if you have any query.
Thanks,
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In essence, the difference is the call:
Cy_TCPWM_Enable_Multiple(PumpSensor_timeout_HW, PumpSensor_timeout_CNT_MASK);
This call was not obvious to me when I read the documentation. I don't understand what it does. However, thanks for finding it. The documentation talked about reload in the specific driver code. This call is underneath in the general driver. I missed that totally.
I had to strip down the project to the example I gave you for IP reasons. Giving the answer the stripped version was also a help. Thanks!