comparison src/condat/com/include/rtcdrv.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
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 */