Community
cancel
Showing results for 
Search instead for 
Did you mean: 
mgolu
New Contributor II
921 Views

How to count time for between two GPIO interrupts?

Jump to solution

Question as in subject how to count time for between two GPIO interrupts?

0 Kudos
1 Solution
Jose_P_Intel
Employee
40 Views

Hi mark_kram,

Thank you for your interest in Intel Quark Microcontrollers.

One way to measure a interrupt is if you have a free timer, used it and read it during the interrupt and subtract the last reading to have the count between this two. You can implement this suggestion with your two interruptions in the GPIO, if this doesn't work please provide more information regarding what are you trying to achieve with this interrupts in order to assist you in a better way.

Have a nice day.

Best Regards

-Jose.

View solution in original post

1 Reply
Jose_P_Intel
Employee
41 Views

Hi mark_kram,

Thank you for your interest in Intel Quark Microcontrollers.

One way to measure a interrupt is if you have a free timer, used it and read it during the interrupt and subtract the last reading to have the count between this two. You can implement this suggestion with your two interruptions in the GPIO, if this doesn't work please provide more information regarding what are you trying to achieve with this interrupts in order to assist you in a better way.

Have a nice day.

Best Regards

-Jose.

View solution in original post

Reply