Send TSAL signals via CAN

This commit is contained in:
2024-09-04 12:33:26 +02:00
parent 998f9c93e4
commit 3e3c4272be
4 changed files with 33 additions and 3 deletions

View File

@ -10,6 +10,7 @@
#define CAN_ID_AMS_IN 0x00B
#define CAN_ID_AMS_ERROR 0x00C
#define CAN_ID_SLAVE_STATUS_BASE 0x080
#define CAN_ID_AMS_SIGNALS 0x090
#define CAN_ID_SLAVE_LOG 0x4F4
#define CAN_ID_SHUNT_BASE 0x520
#define CAN_ID_SHUNT_CURRENT 0x521

View File

@ -43,6 +43,11 @@ extern "C" {
/* USER CODE BEGIN EC */
extern int sdc_closed;
extern int sdc_closed_nodelay;
extern int ts_error;
extern int hv_active;
extern int neg_air_closed;
extern int pos_air_closed;
extern int precharge_closed;
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/