X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/852b5e612d549d1f086ceca4df0b589ac24cb37f..9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b:/Projects/TempDataLogger/Lib/DS1307.h?ds=sidebyside diff --git a/Projects/TempDataLogger/Lib/DS1307.h b/Projects/TempDataLogger/Lib/DS1307.h index 9d93f2c4c..dee4cb84d 100644 --- a/Projects/TempDataLogger/Lib/DS1307.h +++ b/Projects/TempDataLogger/Lib/DS1307.h @@ -1,5 +1,5 @@ /* - Copyright (C) Dean Camera, 2011. + Copyright (C) Dean Camera, 2013. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org @@ -12,6 +12,8 @@ #include #include + + #include "Config/AppConfig.h" /* Type Defines: */ typedef struct @@ -23,7 +25,7 @@ uint8_t Month; uint8_t Year; } TimeDate_t; - + typedef struct { union @@ -73,7 +75,7 @@ uint8_t IntVal; } Byte4; - + union { struct @@ -111,6 +113,7 @@ } DS1307_DateTimeRegs_t; /* Macros: */ + /** TWI address of the DS1307 device on the bus. */ #define DS1307_ADDRESS 0xD0 /* Function Prototypes: */