Create a 1 microsecond timer in nRF52832

Hi,

As well know, there have a nrf_delay_us() function can execute very short delay time, but the function can only "delay".

If I want to create a 1 microsecond continuous timer, and it can change some GPIO pin status when timer-IRQ ioccur.

How to create this kind of timer?

Would you please give me an example code?

Thank you,

Ives

Parents Reply Children
Related