Rev 698 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 698 | Rev 766 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | u32 Length; // data length |
25 | u32 Length; // data length |
26 | union |
26 | union |
27 | { |
27 | { |
28 | u8 Byte[8]; |
28 | u8 Byte[8]; |
29 | s8 sByte[8]; |
29 | s8 sByte[8]; |
30 | u16 Int[2]; |
30 | u16 Int[4]; |
31 | s16 sInt[2]; |
31 | s16 sInt[4]; |
32 | u32 Long; |
32 | u32 Long[2]; |
33 | s32 sLong; |
33 | s32 sLong[2]; |
34 | float Float; |
34 | float Float[2]; |
35 | } __attribute__((packed)) D; |
35 | } __attribute__((packed)) D; |
36 | } /*__attribute__((packed))*/ CanMessage_t; |
36 | } /*__attribute__((packed))*/ CanMessage_t; |
Line 37... | Line 37... | ||
37 | 37 |