Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6 Forum Discussions

TeMa_2997106
Level 6
Level 6
10 likes received 10 solutions authored 250 replies posted

I want to count at both edges of the clock with TCPWM as a counter. Can this be implemented?

Thanks,
Tetsuo

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @TeMa_2997106 ,

Yes, you can use an interrupt on both edges and increment a counter in ISR.

Regards,

 

Alakananda

View solution in original post

0 Likes
1 Reply
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @TeMa_2997106 ,

Yes, you can use an interrupt on both edges and increment a counter in ISR.

Regards,

 

Alakananda
0 Likes