rusEFI
The most advanced open source ECU
|
Functions | |
int | _gettimeofday (timeval *tv, void *tzvp) |
void PUBLIC_API_WEAK | hal_lld_rtc_fixup (void) |
void | initRtc () |
void | printRtcDateTime () |
void | setRtcDateTime (efidatetime_t const *const dateTime) |
static time_t | rtc_encode (const RTCDateTime *timespec) |
uint32_t | getEpochTime () |
efidatetime_t | getRtcDateTime () |
efidatetime_t | convertRtcDateTimeToEfi (RTCDateTime const *const timespec) |
RTCDateTime | convertRtcDateTimeFromEfi (efidatetime_t const *const dateTime) |
static void | putTwoSymbolDecimal (int offset, char *destination, int value) |
bool | dateToStringShort (char *destination) |
Variables | |
static const char *const | monthAbbrs [] |
int _gettimeofday | ( | timeval * | tv, |
void * | tzvp | ||
) |
Definition at line 23 of file rtc_helper.cpp.
RTCDateTime convertRtcDateTimeFromEfi | ( | efidatetime_t const *const | dateTime | ) |
Definition at line 100 of file rtc_helper.cpp.
Referenced by setRtcDateTime().
efidatetime_t convertRtcDateTimeToEfi | ( | RTCDateTime const *const | timespec | ) |
Definition at line 82 of file rtc_helper.cpp.
Referenced by getRtcDateTime().
Definition at line 131 of file rtc_helper.cpp.
Referenced by prepareLogFileName().
uint32_t getEpochTime | ( | ) |
Definition at line 70 of file rtc_helper.cpp.
Referenced by updateDevConsoleState().
efidatetime_t getRtcDateTime | ( | ) |
Definition at line 76 of file rtc_helper.cpp.
Referenced by canDashboardBmwE90(), dateToStringShort(), onGpsMessage(), and printRtcDateTime().
void PUBLIC_API_WEAK hal_lld_rtc_fixup | ( | void | ) |
Definition at line 31 of file rtc_helper.cpp.
Referenced by initRtc().
void initRtc | ( | ) |
Definition at line 35 of file rtc_helper.cpp.
Referenced by initHardwareNoConfig().
void printRtcDateTime | ( | ) |
Definition at line 48 of file rtc_helper.cpp.
Referenced by printDateTime(), and setDateTime().
|
static |
Definition at line 113 of file rtc_helper.cpp.
Referenced by dateToStringShort().
|
static |
Definition at line 61 of file rtc_helper.cpp.
Referenced by getEpochTime().
void setRtcDateTime | ( | efidatetime_t const *const | dateTime | ) |
Definition at line 56 of file rtc_helper.cpp.
Referenced by onGpsMessage(), and setDateTime().
|
static |
Definition at line 41 of file rtc_helper.cpp.
Referenced by printRtcDateTime().