Last change
on this file since 67 was 63, checked in by DHERBOMEZ Gérald, 10 years ago |
Small bug corrections in headers of cangateway
|
File size:
1.0 KB
|
Line | |
---|
1 | // *********************************************************************
|
---|
2 | // created: 2008/2/28 - 16:24
|
---|
3 | // filename: structureCan.h
|
---|
4 | //
|
---|
5 | // author: Gerald Dherbomez
|
---|
6 | // Copyright Heudiasyc UMR UTC/CNRS 6599
|
---|
7 | //
|
---|
8 | // version: $Id: $
|
---|
9 | //
|
---|
10 | // purpose: Useless file, see to delete it !!!!
|
---|
11 | // gdherbom : 01-08-2014
|
---|
12 | //
|
---|
13 | // *********************************************************************
|
---|
14 |
|
---|
15 | #ifndef __STRUCTURECAN_H__
|
---|
16 | #define __STRUCTURECAN_H__
|
---|
17 |
|
---|
18 | #include <cstddef>
|
---|
19 |
|
---|
20 | #include "driver/CanDriverBase.h"
|
---|
21 | #include "CanFrame.h"
|
---|
22 |
|
---|
23 | //#include "kernel/cstdint.h"
|
---|
24 | //#include "kernel/road_time.h"
|
---|
25 |
|
---|
26 | /// Basic structure of a CAN frame
|
---|
27 | //typedef struct CanFrame
|
---|
28 | //{
|
---|
29 | // static const std::size_t MAX_CAN_MSG_LENGTH = 8;
|
---|
30 | //
|
---|
31 | // uint32_t id;
|
---|
32 | // uint8_t dlc;
|
---|
33 | // uint8_t data [MAX_CAN_MSG_LENGTH];
|
---|
34 | //}CanFrame;
|
---|
35 |
|
---|
36 | // CAN structure with timestamping
|
---|
37 | //typedef struct TimestampedCanFrame
|
---|
38 | //{
|
---|
39 | // CanFrame frame;
|
---|
40 | // road_time_t time;
|
---|
41 | // road_timerange_t timerange;
|
---|
42 | //}TimestampedCanFrame;
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.