Using simple hardware timer with event

Hi,

For my app (using zephyr and nrf52840) I want to use hardware Timer like that, is there any manual or example how to do that?  

Need able to set period of timer from 1 to about 100 ms.

1) Set Capture/Compare  reg.

2) Set CLK div for the timer.

3) Set callback (IRQ) for timer event.

4) Run the timer.

Thank you. Jan.

Parents Reply Children
No Data
Related