Real Time Clock Module with I2C Interface  0.3
⇒ back to Project Page
 All Data Structures Files Functions Variables Typedefs Macros Pages
i2c_rtc_control_operation.h
Go to the documentation of this file.
1 /****************************************************************************/
31 #ifndef I2C_RTC_CONTROL_OPERATION_H_INCLUDED
32 #define I2C_RTC_CONTROL_OPERATION_H_INCLUDED
33 
34 
35 /******************************************
36  \internal
37  General definitions
38 *******************************************/
39 
40 #define DS1307_I2C_ADRESS 0xd0
41 
42 
43 #define LED_DISPLAY_NUMBER_DIGITS 6
44 
45 
46 /******************************************
47  \internal
48  Function prototypes
49 *******************************************/
50 
51 void rtc_setup_ds1307(uint8_t*);
52 void rtc_setup_saa1064(uint8_t*);
53 void rtc_show_time_saa1064(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t);
54 void rtc_show_date_saa1064(uint8_t, uint8_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t);
55 
56 
57 
58 #endif // I2C_RTC_CONTROL_OPERATION_H_INCLUDED