[11e95e]: scripts / templates.dbc2c / msg.tpl  Maximize  Restore  History

Download this file

54 lines (45 with data), 791 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* @defgroup MSG_<:name:> Message <:name:> (0x<:id:>)
*
* <:comment:>
*
* Sent by \ref ECU_<:ecu:>.
*
* Contains signals:
* - \ref SIG_<:sig:>
*
* @ingroup ECU_<:ecu:>
* @{
*/
/**
* Message <:name:> configuration tuple.
*/
#define MSG_<:name:> 0x<:id:>, <:ext:>, <:dlc:>
/**
* Message <:name:> id.
*/
#define ID_<:name:> 0x<:id:>
/**
* Message <:name:> Data Length Count.
*/
#define DLC_<:name:> <:dlc:>
/**
* Message <:name:> cycle time.
*/
#define CYCLE_<:name:> <:cycle:>
/**
* Message <:name:> fast cycle time.
*/
#define FAST_<:name:> <:fast:>
/**
* Initialise message <:name:> buffer.
*
* @param buf
* The can message buffer to initialise
*/
#define INIT_<:name:>(buf) { \
INITSIG_<:sig:>(buf); \
}
/**
* @}
*/