Hey guys,
I have a timer like this:
While this first timer (nrf_drv_timer) is running, I need a second timer whose interval I have to be able to change constantly.
E.g.
//Do this
time_us (10)
//Do that
time_us(60)
But the second timer must not influence the first. In this thread I created a timer with Håkon that uses __NOP()s. Unfortunately, these affect the first timer ...
To sum up: The second timer should be a single shot timer, whose interval I can change and which can not influence the first timer. And I know that RTC has a less resolution (~30us) but I need a resolution up to 1us. I think I can not use a timer like the first timer because of I can't changed the interval, right?
I hope, you can help me.
Thanks in advance,
Christoph