int rtc_initialize(void)
Initializes the Real Time Clock (RTC).
Definition: rtc.c:140
int rtc_finalize(void)
De-initializes the Real Time Clock (RTC).
Definition: rtc.c:163
void gettime(tm_t *time)
Copies the global time inside the provided variable.
Definition: rtc.c:134
Used to get information about the current time.
Definition: time.h:25
time_t time(time_t *t)
Returns the current time.