You are here

FX3 inputs as a counter | Cypress Semiconductor

FX3 inputs as a counter

Summary: 2 Replies, Latest post by PRAG on 24 Jun 2013 06:21 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
beandigital's picture
48 posts

I have configured an input to be a counter. So each time I get a toggle of the input pin the counter counts up. I want to be able to reset the count every so often. is there a way to do this?



Rags's picture
32 posts

Can you be more specific whether you need to reset the GPIF state machine counter or some counter variable that you are internally using in your program ?


PRAG's picture
Cypress Employee
173 posts



You can configure a FX3 GPIO as an input with an interrupt triggered on various events (falling edge, rising edge etc.).

Take a look at gpiocomplexapp example project from the FX3 SDK.



Log in to post new comments.