Real Time Clock Module with I2C Interface  0.3
⇒ back to Project Page
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
i2c_rtc_control_operation.c File Reference

Contains the process flow for the I2C I/O of the several data transmission tasks for rtc_control. More...

#include <stdlib.h>
#include <util/delay.h>
#include <avr/pgmspace.h>
#include "basic_definitions.h"
#include "rtc_control.h"
#include "i2c.h"
#include "dcf77.h"
#include "saa1064.h"
#include "i2c_rtc_control_operation.h"
Include dependency graph for i2c_rtc_control_operation.c:

Go to the source code of this file.

Functions

void rtc_setup_ds1307 (uint8_t *rtc_data)
 
void rtc_setup_saa1064 (uint8_t *saa1064_data)
 
void rtc_show_time_saa1064 (uint8_t current_hour, uint8_t current_minute, uint8_t current_second, uint8_t dcf_status, uint8_t update_all)
 
void rtc_show_date_saa1064 (uint8_t current_day, uint8_t current_month, uint16_t current_year, uint8_t current_hour, uint8_t current_minute, uint8_t current_second, uint8_t reset)
 

Detailed Description

Contains the process flow for the I2C I/O of the several data transmission tasks for rtc_control.

Author
Michael Skutek
Date
22.02.2013
Version
0.2

Platform: AVR ATmega (tested on ATmega168)

Include Files:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file i2c_rtc_control_operation.c.