libyggdrasil
v1.0.0
|
Driver to use the RV-3028-C7 RTC. More...
Go to the source code of this file.
Functions | |
C_LINKAGE bool | yggdrasil_RealTimeClock_Init (void) |
Initialization function. More... | |
C_LINKAGE time_t | yggdrasil_RealTimeClock_GetTime (void) |
Get the time saved in the RTC. More... | |
C_LINKAGE void | yggdrasil_RealTimeClock_SetTime (time_t time) |
Set the time in the RTC. More... | |
Driver to use the RV-3028-C7 RTC.
C_LINKAGE time_t yggdrasil_RealTimeClock_GetTime | ( | void | ) |
Get the time saved in the RTC.
C_LINKAGE bool yggdrasil_RealTimeClock_Init | ( | void | ) |
Initialization function.
C_LINKAGE void yggdrasil_RealTimeClock_SetTime | ( | time_t | time | ) |
Set the time in the RTC.
time | Time to save in the RTC |