comparison src/cs/riviera/rv_template/xxx_message.h @ 0:945cf7f506b2

src/cs: chipsetsw import from tcs211-fcmodem binary blobs and LCD demo files have been excluded, all line endings are LF only
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 22:50:11 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:945cf7f506b2
1 /**
2 * @file xxx_message.h
3 *
4 * Data structures:
5 * 1) used to send messages to the XXX SWE,
6 * 2) XXX can receive.
7 *
8 * @author Your name here (your_email_here)
9 * @version 0.1
10 */
11
12 /*
13 * History:
14 *
15 * Date Author Modification
16 * -------------------------------------------------------------------
17 * // Create.
18 *
19 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved
20 */
21
22 #ifndef __XXX_MESSAGE_H_
23 #define __XXX_MESSAGE_H_
24
25
26 #include "rv/rv_general.h"
27
28 #include "xxx/xxx_cfg.h"
29
30
31 #ifdef __cplusplus
32 extern "C"
33 {
34 #endif
35
36
37 /**
38 * The message offset must differ for each SWE in order to have
39 * unique msg_id in the system.
40 */
41 #define XXX_MESSAGE_OFFSET BUILD_MESSAGE_OFFSET(XXX_USE_ID)
42
43
44
45 /**
46 * @name XXX_SAMPLE_MESSAGE
47 *
48 * Short description.
49 *
50 * Detailled description
51 */
52 /*@{*/
53 /** Message ID. */
54 #define XXX_SAMPLE_MESSAGE (XXX_MESSAGE_OFFSET | 0x001)
55
56 /** Message structure. */
57 typedef struct
58 {
59 /** Message header. */
60 T_RV_HDR hdr;
61
62 /** Some parameters. */
63 /* ... */
64
65 } T_XXX_SAMPLE_MESSAGE;
66 /*@}*/
67
68
69 #ifdef __cplusplus
70 }
71 #endif
72
73 #endif /* __XXX_MESSAGE_H_ */