comparison src/condat3/com/include/rtcdrv.h @ 18:c8bd5a927942

src/condat3: import of "condat" tree from TCS3.2, pruned
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 21:25:36 +0000
parents
children
comparison
equal deleted inserted replaced
17:6323e661f2ed 18:c8bd5a927942
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM (6301)
4 | Modul :
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Types definitions for the real time clock driver
18 | .
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef DEF_RTC_H
23 #define DEF_RTC_H
24
25 /*
26 * type definitions
27 */
28 typedef struct rtc_time_type
29 {
30 UBYTE year;
31 UBYTE month;
32 UBYTE day;
33 UBYTE hour;
34 UBYTE minute;
35 UBYTE second;
36 } rtc_time_type;
37
38 /*
39 * Prototypes
40 */
41 EXTERN UBYTE rtc_read_time ( rtc_time_type *rtc_time );
42
43 #endif /* #ifndef DEF_RTC_H */