source: pacpussensors/trunk/CanGateway/structureCan.h@ 29

Last change on this file since 29 was 29, checked in by DHERBOMEZ Gérald, 11 years ago

Modifications of canGateway component.

File size: 982 bytes
Line 
1// *********************************************************************
2// created: 2008/2/28 - 16:24
3// filename: structureCan.h
4//
5// author: Gerald Dherbomez
6// Copyright Heudiasyc UMR UTC/CNRS 7253
7//
8// version: $Id: $
9//
10// purpose: Description of the CAN structures
11//
12// *********************************************************************
13
14#ifndef __STRUCTURECAN_H__
15#define __STRUCTURECAN_H__
16
17#include <cstddef>
18
19#include "driver/CanDriverBase.h"
20#include "CanFrame.h"
21
22//#include "kernel/cstdint.h"
23//#include "kernel/road_time.h"
24
25/// Basic structure of a CAN frame
26//struct CanFrame
27//{
28 // static const std::size_t MAX_CAN_MSG_LENGTH = 8;
29
30// uint32_t id;
31// uint8_t dlc;
32// uint8_t data [MAX_CAN_MSG_LENGTH];
33//};
34
35/// CAN structure with timestamping
36//struct TimestampedCanFrame
37//{
38// CanFrame frame;
39// road_time_t time;
40// road_timerange_t timerange;
41//};
42
43#endif
Note: See TracBrowser for help on using the repository browser.