ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
Go to the source code of this file.
Functions | |
rd_status_t | ri_rtc_init (void) |
Initializes RTC at 0 ms. More... | |
rd_status_t | ri_rtc_uninit (void) |
Stop RTC if applicable. More... | |
uint64_t | ri_rtc_millis (void) |
Get milliseconds since init. More... | |
Interface for basic RTC functionality.
Definition in file ruuvi_interface_rtc.h.
rd_status_t ri_rtc_init | ( | void | ) |
Initializes RTC at 0 ms.
uint64_t ri_rtc_millis | ( | void | ) |
Get milliseconds since init.
RUUVI_DRIVER_UINT64_INVALID
if RTC is not running rd_status_t ri_rtc_uninit | ( | void | ) |
Stop RTC if applicable.