comparison src/cs/drivers/drv_app/rtc/rtc_messages_i.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 /* 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