|
Ersa Wearable Platform
Embedded smartwatch firmware and application framework
|
#include <rtc.h>
Public Member Functions | |
| constexpr | TimePoint ()=default |
| constexpr | TimePoint (uint16_t y, uint8_t m, uint8_t d, uint8_t h, uint8_t min, uint8_t s, uint8_t dow=0, uint32_t ep=0) |
Public Attributes | |
| uint16_t | year {2026} |
| uint8_t | month {9} |
| uint8_t | day {28} |
| uint8_t | hour {0} |
| uint8_t | minute {0} |
| uint8_t | second {0} |
| uint8_t | dayOfWeek {1} |
| uint32_t | epoch {0} |
Transport-neutral local calendar snapshot and its epoch representation. The firmware stores the phone's displayed wall time in the RTC; consumers should use TimeService to apply source priority and validation rather than writing this structure directly to a device.
|
constexprdefault |
|
inlineconstexpr |
| uint8_t ersa::hal::TimePoint::day {28} |
| uint8_t ersa::hal::TimePoint::dayOfWeek {1} |
| uint32_t ersa::hal::TimePoint::epoch {0} |
| uint8_t ersa::hal::TimePoint::hour {0} |
| uint8_t ersa::hal::TimePoint::minute {0} |
| uint8_t ersa::hal::TimePoint::month {9} |
| uint8_t ersa::hal::TimePoint::second {0} |
| uint16_t ersa::hal::TimePoint::year {2026} |