Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
can.h
Go to the documentation of this file.
1#ifndef _CAN_H_
2#define _CAN_H_
3
4#include <Arduino.h>
5
6#define BMS_ID_CCL 0x101
7#define BMS_ID_ERR 0x123
8#define CH_ID 0x02207446
9#define TA_ID 0x301
10
11struct PARAMETERS {
12 uint32_t setVoltage = 0;
13 uint32_t currVoltage = 0;
14 uint32_t allowedCurrent = 0;
15 uint32_t setCurrent = 0;
16 uint32_t currCurrent = 0;
17 uint32_t ccl = 0;
18 int16_t temp[60];
19};
20
21#endif // _CAN_H_
uint32_t setVoltage
Definition can.h:12
uint32_t allowedCurrent
Definition can.h:14
uint32_t currCurrent
Definition can.h:16
uint32_t currVoltage
Definition can.h:13
uint32_t ccl
Definition can.h:17
int16_t temp[60]
Definition can.h:18
uint32_t setCurrent
Definition can.h:15