Hardware timer in counting mode. nRF Connect SDK.

Hi,

Is there any example that demonstrates how I can use the Zephyr API to use a hardware timer/counter in counting mode?

I need to count pulses on one of the nRF52840 pins, but I couldn't find an example that could guide me in solving this problem.

Related