AVR1631 - Energy Meter Reference Design with ATxmega32A4
Rev 1.0
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
meter_rtc.h
Go to the documentation of this file.
1
/* This file has been prepared for Doxygen automatic documentation generation.*/
48
#ifndef METER_RTC_H
49
#define METER_RTC_H
50
51
void
rtc_init
();
52
void
update_time
();
53
extern
uint8_t
power_status_flag
;
55
typedef
struct
RTC_BCD_struct
56
{
58
uint8_t
sec
;
60
uint8_t
min
;
62
uint8_t
hr
;
64
uint8_t
day
;
66
uint8_t
month
;
68
uint16_t
year
;
69
}
RTC_BCD_t
;
70
extern
RTC_BCD_t
rtcTime
;
71
__eeprom
extern
RTC_BCD_t
eepromTime;
72
73
#endif
meter_rtc.h
Generated on Fri Sep 14 2012 16:28:35 for AVR1631 - Energy Meter Reference Design with ATxmega32A4 by
1.8.1.2