rusefi-1/firmware/hw_layer/rtc_helper.h

21 lines
425 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file rtc_helper.h
* @brief Real Time Clock helper
*
* @date Feb 5, 2014
2017-01-03 03:05:22 -08:00
* @author Andrey Belomutskiy, (c) 2012-2017
2015-07-10 06:01:56 -07:00
*/
#ifndef RTC_HELPER_H_
#define RTC_HELPER_H_
void printDateTime(void);
void setDateTime(const char *strDate);
void initRtc(void);
void date_set_tm(struct tm *);
void date_get_tm(struct tm *);
void dateToString(char *buffer);
2016-08-08 21:03:08 -07:00
bool dateToStringShort(char *lcd_str);
2015-07-10 06:01:56 -07:00
#endif /* RTC_HELPER_H_ */