NCS36510: Make RTC driver to operate on seconds instead of us.
In current implementation `rtc_read` function returns number of elapsed us and `rtc_write` function sets RTC time to specified value in us.
Mbed HAL API expects that these functions operate on seconds.
Since lp ticker is also based on RTC provide mechanism to trace elapsed seconds without modifying RTC registers.
ls
1 parent 68ad00f commit 8bddb6b305a88ea2a3c46e6aa8943216b202f004
@Przemyslaw Stekiel Przemyslaw Stekiel authored on 9 May 2018
Showing 1 changed file
View
targets/TARGET_ONSEMI/TARGET_NCS36510/rtc_api.c