diff options
Diffstat (limited to 'src/rtc.h')
| -rw-r--r-- | src/rtc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rtc.h b/src/rtc.h new file mode 100644 index 0000000..f3f8f9c --- /dev/null +++ b/src/rtc.h @@ -0,0 +1,13 @@ +#ifndef _LOADED_RTC +#define _LOADED_RTC +#include <stdint.h> + +volatile extern uint8_t seconds; +volatile extern uint8_t minutes; +volatile extern uint8_t hours; + +void rtc_setup(void); + +void rtc_increment(void); + +#endif |
