Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello!
I would like to use a counter/timer to count the time between pulses. I read this pulse with Interrupts and now use time_us() to calculate time difference between the pulses. But this is not precise enough for my application.
How can I program a timer to run at 10Mhz (or at least faster than time_us) and read the timer values? With freerunning hardware timer.
I somebody can show me where to look or can give a short example that would be great.