comparison gsm-fw/riviera/rv_template/xxx_message.h @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/riviera/rv_template/xxx_message.h@21de8d8e6ea7
children
comparison
equal deleted inserted replaced
142:15d5977390c2 143:afceeeb2cba1
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_ */