diff options
Diffstat (limited to 'Projects/TempDataLogger/Lib/DS1307.h')
-rw-r--r-- | Projects/TempDataLogger/Lib/DS1307.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Projects/TempDataLogger/Lib/DS1307.h b/Projects/TempDataLogger/Lib/DS1307.h index dee4cb84d..2e20dbf33 100644 --- a/Projects/TempDataLogger/Lib/DS1307.h +++ b/Projects/TempDataLogger/Lib/DS1307.h @@ -5,14 +5,14 @@ www.lufa-lib.org */ -#ifndef _DS1307_H_ -#define _DS1307_H_ +#ifndef _RTC_H_ +#define _RTC_H_ /* Includes: */ #include <avr/io.h> #include <LUFA/Drivers/Peripheral/TWI.h> - + #include "Config/AppConfig.h" /* Type Defines: */ @@ -117,8 +117,10 @@ #define DS1307_ADDRESS 0xD0 /* Function Prototypes: */ - bool DS1307_SetTimeDate(const TimeDate_t* NewTimeDate); - bool DS1307_GetTimeDate(TimeDate_t* const TimeDate); + void RTC_Init(void); + void RTC_Tick500ms(void); + bool RTC_SetTimeDate(const TimeDate_t* NewTimeDate); + bool RTC_GetTimeDate(TimeDate_t* const TimeDate); #endif |