Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
watch_clock.h
Go to the documentation of this file.
1#pragma once
3
4namespace WatchClock {
5
6// Refresh the selected RTC HAL after a wake where platform uptime may pause.
7void resync();
9bool healthy();
10
11// Real-time synchronization (NTP or BLE phone time sync)
12void setEpoch(uint32_t epochSeconds);
13void adjust(const CalendarTime& time);
14
15} // namespace WatchClock
Definition calendar_time.h:11
Definition watch_clock.h:4
void resync()
Definition watch_clock.cpp:31
bool healthy()
Definition watch_clock.cpp:27
void adjust(const CalendarTime &time)
Definition watch_clock.cpp:35
CalendarTime now()
Definition watch_clock.cpp:23
void setEpoch(uint32_t epochSeconds)
Definition watch_clock.cpp:39