FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/rtc/rtc_messages_i.h @ 159:3c42e6e5fc04
gsm-fw/bsp/rtc: initial import from Leonardo TCS211 semi-src
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Nov 2013 22:10:10 +0000 |
parents | |
children | dbfc9ff4e8d2 |
comparison
equal
deleted
inserted
replaced
158:97b671efff9c | 159:3c42e6e5fc04 |
---|---|
1 /****************************************************************************/ | |
2 /* */ | |
3 /* File Name: rtc_messages_i.h */ | |
4 /* */ | |
5 /* Purpose: This file contains data structures and functions prototypes */ | |
6 /* used to send events to the RTC SWE. */ | |
7 /* */ | |
8 /* Version 0.1 */ | |
9 /* */ | |
10 /* Date Modification */ | |
11 /* ------------------------------------ */ | |
12 /* 03/20/2001 Create */ | |
13 /* */ | |
14 /* Author Laurent Sollier */ | |
15 /* */ | |
16 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ | |
17 /****************************************************************************/ | |
18 #ifndef __RTC_MESSAGES_H_ | |
19 #define __RTC_MESSAGES_H_ | |
20 | |
21 | |
22 #include "rv/rv_general.h" | |
23 #include "rvf/rvf_api.h" | |
24 | |
25 #ifdef __cplusplus | |
26 extern "C" | |
27 { | |
28 #endif | |
29 | |
30 /* the message offset must differ for each SWE in order to have unique msg_id in the system */ | |
31 #define RTC_MESSAGES_OFFSET (0x35 << 10) | |
32 #define RTC_MAIL_BOX 1 | |
33 | |
34 | |
35 | |
36 | |
37 /*****************************************/ | |
38 /* structures of messages send to DRV */ | |
39 | |
40 | |
41 /******* RTC ALARM **********/ | |
42 | |
43 #define RTC_ALARM_EVT 1 | |
44 | |
45 typedef struct | |
46 { | |
47 T_RV_HDR os_hdr; | |
48 | |
49 } T_RTC_ALARM; | |
50 | |
51 | |
52 | |
53 | |
54 #ifdef __cplusplus | |
55 } | |
56 #endif | |
57 | |
58 | |
59 #endif /* __RTC_MESSAGES_H_ */ | |
60 |