comparison chipsetsw/drivers/drv_app/r2d/r2d_messages.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /****************************************************************************/
2 /* */
3 /* File Name: xxx_messages.h */
4 /* */
5 /* Purpose: This file contains data structures and functions prototypes */
6 /* used to send events to the XXX SWE. */
7 /* */
8 /* Version 0.1 */
9 /* */
10 /* Date Modification */
11 /* ------------------------------------ */
12 /* 20/08/2000 Create */
13 /* */
14 /* Author David Lamy-Charrier (dlamy@tif.ti.com) */
15 /* */
16 /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved*/
17 /****************************************************************************/
18 #ifndef __R2D_MESSAGES_H_
19 #define __R2D_MESSAGES_H_
20
21
22 #include "rv/rv_general.h"
23
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28
29
30
31
32 /* the message offset must differ for each SWE in order to have unique msg_id in the system */
33 #define R2D_MESSAGES_OFFSET (0x36 << 10)
34
35
36 /* define a first msg id */
37 #define R2D_MESSAGE_1 (R2D_MESSAGES_OFFSET | 0x0001)
38
39
40
41 /*****************************************/
42 /* structures of messages send to R2D */
43 typedef struct
44 { T_RV_HDR os_hdr;
45 BOOLEAN status;
46 } T_R2D_EVT;
47
48
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54
55 #endif /* __R2D_MESSAGES_H_ */
56