I know that nrf51822 is not supported system tick handler ? I need system tick function. How can i make system tick function for nrf51822?
I know that nrf51822 is not supported system tick handler ? I need system tick function. How can i make system tick function for nrf51822?
I have posted some code in my answer to this thread. It implements a 1 ms tick using RTC1. Maybe this will meet your needs.
**[comprehension-question-timer](devzone.nordicsemi.com/.../comprehension-question-timer)**
@philips, where can I find the below variables? CLOCK_LFCLKSRC_SRC_RC, CLOCK_LFCLKSRC_SRC_Pos, RTC_EVTENSET_TICK_Enabled, RTC_EVTENSET_TICK_Pos, RTC_INTENSET_TICK_Enabled and RTC_INTENSET_TICK_Pos.
@philips, where can I find the below variables? CLOCK_LFCLKSRC_SRC_RC, CLOCK_LFCLKSRC_SRC_Pos, RTC_EVTENSET_TICK_Enabled, RTC_EVTENSET_TICK_Pos, RTC_INTENSET_TICK_Enabled and RTC_INTENSET_TICK_Pos.