Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Register the RTC clock against system clocks. More...
#include <maxim_ds3231.h>
Data Fields | |
struct timespec | rtc |
Time from the DS3231. | |
uint32_t | syncclock |
Value of a local clock at the same instant as rtc. | |
Register the RTC clock against system clocks.
This captures the same instant in both the RTC time scale and a stable system clock scale, allowing conversion between those scales.
struct timespec maxim_ds3231_syncpoint::rtc |
Time from the DS3231.
This maybe in UTC, TAI, or local offset depending on how the RTC is maintained.
uint32_t maxim_ds3231_syncpoint::syncclock |
Value of a local clock at the same instant as rtc.
This is captured from a stable monotonic system clock running at between 1 kHz and 1 MHz, allowing for microsecond to millisecond accuracy in synchronization.