AVR library
rtc.h
1 #ifndef MAT_RTC_H
2 #define MAT_RTC_H
3 
4 #include <inttypes.h>
5 #include "time.h"
6 
7 extern const char RTC_IMPL[] PROGMEM;
8 
9 void rtc_init(void);
10 void rtc_gettime(struct rtc_t* t);
11 void rtc_settime(const struct rtc_t* t);
12 int8_t rtc_getcal(void);
13 void rtc_setcal(int8_t c);
14 
15 #endif
Definition: time.h:6