minix/drivers/tps65950/rtc.h
Thomas Cort bab2a34e1b tps65950: driver for the TPS65950 PMIC
Change-Id: I6b6163e59233d1f823f03550b949d53e1738a7f4
2013-08-09 12:41:43 +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 */