Definition in file rtc_utils.h.
#include <stdbool.h>#include <stdint.h>#include <time.h>
Include dependency graph for rtc_utils.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | rtc_tm_normalize (struct tm *time) |
| Normalize the time struct. More... | |
| int | rtc_tm_compare (const struct tm *a, const struct tm *b) |
| Compare two time structs. More... | |
| uint32_t | rtc_mktime (const struct tm *t) |
| Convert time struct into timestamp. More... | |
| void | rtc_localtime (uint32_t time, struct tm *t) |
| Converts an RTC timestamp into a time struct. More... | |
| bool | rtc_tm_valid (const struct tm *t) |
Verify that a time struct t contains valid data. More... | |