This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTC to get date and time

Good afternoon, I want to get date and time from the RTC1 and working on the S110. As the RTC1 counter is just 24-bit long, final counter value (overflow) has to be taken into account. Regarding the function ' app_timer_cnt_diff_compute': does it take into account the overflow? Does it give correct ticks number if second argument is higher than the first one when calling this function? Are there any examples regardings these aspects? Regards.