Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

12 lines
271 B
C

#ifndef __RTC_H
#define __RTC_H
#include <time.h>
int rtc_init(void);
int rtc_get_time(struct tm *t, int flags); /* read the hardware clock into t */
int rtc_set_time(struct tm *t, int flags); /* set the hardware clock to t */
int rtc_exit(void);
#endif /* __RTC_H */