BOOTLOADER
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
bootloader
inc
rtc.h
Go to the documentation of this file.
1
#ifndef RTC_H
2
#define RTC_H
3
4
typedef
struct
{
5
INT8U
State
;
6
INT32U
Year
;
7
INT8U
Month
;
8
INT8U
Day
;
9
INT8U
Date
;
// week day
10
INT8U
Hour
;
11
INT8U
Minute
;
12
INT8U
Second
;
13
}
RTC_CONTROL
;
14
15
extern
RTC_CONTROL
RtcCtrl
;
16
extern
void
F_RtcInit
(
void
);
17
extern
void
F_RtcSvc
(
void
);
18
extern
void
F_RtcTimeGet
(
void
);
19
extern
void
F_RtcTimeSet
(
void
);
20
extern
void
F_RtcTimeYearSet
(
INT8U
);
21
extern
void
F_RtcTimeMonthSet
(
INT8U
);
22
extern
void
F_RtcTimeDaySet
(
INT8U
);
23
extern
void
F_RtcTimeDateSet
(
INT8U
);
24
extern
void
F_RtcTimeHourSet
(
INT8U
);
25
extern
void
F_RtcTimeMinuteSet
(
INT8U
);
26
extern
void
F_RtcTimeSecondSet
(
INT8U
);
27
28
#endif
Generated on Wed Jun 13 2012 00:03:09 for BOOTLOADER by
1.8.1.1