2021-06-09 12:10:12 +02:00
|
|
|
/*
|
|
|
|
FT_2018_STW_CAN.h
|
|
|
|
*/
|
2022-03-13 20:30:14 +01:00
|
|
|
|
2022-03-13 21:06:05 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-06-09 12:10:12 +02:00
|
|
|
#include "Arduino.h"
|
|
|
|
#include "DueTimer.h"
|
|
|
|
#include "due_can.h"
|
2022-03-13 20:30:14 +01:00
|
|
|
|
2022-03-13 21:06:05 +01:00
|
|
|
#define CAN_ID_BCU_APS_BRAKE 0x500
|
|
|
|
#define CAN_ID_BCU_ETC 0x502
|
|
|
|
#define CAN_ID_BCU_SHIFT_CTRL 0x504
|
2022-03-17 00:09:13 +01:00
|
|
|
#define CAN_ID_BCU_TIRES 0x562
|
2022-03-13 21:06:05 +01:00
|
|
|
#define CAN_ID_BCU_LAP_TIME 0x570
|
|
|
|
#define CAN_ID_MS4_IGN_REV_ATH 0x773
|
|
|
|
#define CAN_ID_MS4_SPEED 0x775
|
|
|
|
#define CAN_ID_MS4_ETC 0x779
|
|
|
|
#define CAN_ID_MS4_STATES_TEMP_PRESS 0x77A
|
|
|
|
|
2021-06-09 12:10:12 +02:00
|
|
|
void Init_Can_0();
|
|
|
|
void Send_0x110();
|
|
|
|
void Receive_Can_0(CAN_FRAME *frame);
|
|
|
|
void update_LED(void);
|