28 lines
454 B
C
28 lines
454 B
C
/**
|
|
* @file rtc_helper.h
|
|
* @brief Real Time Clock helper
|
|
*
|
|
* @date Feb 5, 2014
|
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
|
*/
|
|
|
|
#ifndef RTC_HELPER_H_
|
|
#define RTC_HELPER_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif /* __cplusplus */
|
|
|
|
void initRtc(void);
|
|
void date_set_tm(struct tm *);
|
|
void date_get_tm(struct tm *);
|
|
|
|
void dateToString(char *buffer);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* RTC_HELPER_H_ */
|