2014-08-29 07:52:33 -07:00
|
|
|
/**
|
|
|
|
* @file can_hw.h
|
|
|
|
*
|
|
|
|
* @date Dec 11, 2013
|
2015-01-12 15:04:10 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2015
|
2014-08-29 07:52:33 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CAN_HW_H_
|
|
|
|
#define CAN_HW_H_
|
|
|
|
|
|
|
|
// CAN Bus ID for broadcast
|
|
|
|
/**
|
|
|
|
* e46 data is from http://forums.bimmerforums.com/forum/showthread.php?1887229
|
2014-12-10 12:03:15 -08:00
|
|
|
*
|
|
|
|
* Same for Mini Cooper? http://vehicle-reverse-engineering.wikia.com/wiki/MINI
|
2014-08-29 07:52:33 -07:00
|
|
|
*/
|
|
|
|
#define CAN_BMW_E46_SPEED 0x153
|
|
|
|
#define CAN_BMW_E46_RPM 0x316
|
|
|
|
#define CAN_BMW_E46_DME2 0x329
|
|
|
|
#define CAN_BMW_E46_CLUSTER_STATUS 0x613
|
2014-12-21 08:05:43 -08:00
|
|
|
#define CAN_BMW_E46_CLUSTER_STATUS_2 0x615
|
2014-08-29 07:52:33 -07:00
|
|
|
#define CAN_FIAT_MOTOR_INFO 0x561
|
2014-12-15 17:03:49 -08:00
|
|
|
#define CAN_MAZDA_RX_RPM_SPEED 0x201
|
2014-12-15 19:03:22 -08:00
|
|
|
#define CAN_MAZDA_RX_STATUS_1 0x212
|
|
|
|
#define CAN_MAZDA_RX_STATUS_2 0x420
|
2014-08-29 07:52:33 -07:00
|
|
|
#define CAN_VAG_RPM 0x280
|
|
|
|
#define CAN_VAG_CLT 0x289
|
|
|
|
|
|
|
|
void initCan(void);
|
|
|
|
|
|
|
|
#endif /* CAN_HW_H_ */
|