/**
 * @file rtc_helper.h
 * @brief Real Time Clock helper
 *
 * @date Feb 5, 2014
 * @author Andrey Belomutskiy, (c) 2012-2015
 */

#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_ */
