Feb 24, 2022
05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2022
05:52 AM
I want to count at both edges of the clock with TCPWM as a counter. Can this be implemented?
Thanks,
Tetsuo
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 6 MCU
1 Solution
Feb 24, 2022
07:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2022
07:17 PM
Hi @TeMa_2997106 ,
Yes, you can use an interrupt on both edges and increment a counter in ISR.
Regards,
Alakananda
1 Reply
Feb 24, 2022
07:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2022
07:17 PM
Hi @TeMa_2997106 ,
Yes, you can use an interrupt on both edges and increment a counter in ISR.
Regards,
Alakananda