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.
9 years, 1 month ago.
This pulse counter use interrupts?
I need a pulse counter that don't use interrupts, the best would be with hardware counter.
Question relating to:
![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2 Answers
9 years, 1 month ago.
Yes, this library uses Nested Vectored Interrupts (NVIC). If you go to the library page, you can look into the code (see PulseCounter.cpp).
If you know what you are searching for, I would recommend you to have a look into the user manual of your target platform. Go to the Platform page, select your target platform and you will find a link to the manual at the bottom of the page.
9 years, 1 month ago.
You can see in the source code it uses a hardware counter, however it does so on the LPC1768 and won't work on your platform.