Skip to content
Commit 923560a9 authored by Wojciech Bober's avatar Wojciech Bober Committed by Anas Nashif
Browse files

drivers/timer: Rework the nRF RTC driver.



This is a reworked version of the previous RTC driver. The main
changed is related to the handling _timer_idle_exit() on non-RTC
wake-ups. The previous version didn't announce the elapsed time
to the kernel in _timer_idle_exit(). Additionally, the driver now
makes sure never to announce more idle ticks than the kernel asked
for, since the kernel does not handle negative deltas in its timeout
queues.

Change-Id: I312a357a7ce8f0c22adf5153731064b92870e47e
Signed-off-by: default avatarWojciech Bober <wojciech.bober@nordicsemi.no>
Signed-off-by: default avatarØyvind Hovdsveen <oyvind.hovdsveen@nordicsemi.no>
Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent e08d07c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment