![]() |
libdragon
|
Real-Time Clock Subsystem. More...
Go to the source code of this file.
Data Structures | |
| struct | rtc_time_t |
| Structure for storing RTC time data. More... | |
Functions | |
| bool | rtc_init (void) |
| High-level convenience helper to initialize the RTC subsystem. | |
| void | rtc_close (void) |
| Close the RTC Subsystem, disabling system hooks. | |
| bool | rtc_is_writable (void) |
| Determine whether the RTC supports writing the time. | |
| bool | rtc_get (rtc_time_t *rtc_time) |
| Read the current date/time from the real-time clock. | |
| bool | rtc_set (rtc_time_t *rtc_time) |
| High-level convenience helper to set the RTC date/time. | |
| void | rtc_normalize_time (rtc_time_t *rtc_time) |
| Calculate sane values for arbitrary time inputs. | |
Real-Time Clock Subsystem.