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
11
struct
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_
PARAMETERS
Definition
can.h:11
PARAMETERS::setVoltage
uint32_t setVoltage
Definition
can.h:12
PARAMETERS::allowedCurrent
uint32_t allowedCurrent
Definition
can.h:14
PARAMETERS::currCurrent
uint32_t currCurrent
Definition
can.h:16
PARAMETERS::currVoltage
uint32_t currVoltage
Definition
can.h:13
PARAMETERS::ccl
uint32_t ccl
Definition
can.h:17
PARAMETERS::temp
int16_t temp[60]
Definition
can.h:18
PARAMETERS::setCurrent
uint32_t setCurrent
Definition
can.h:15
charger
include
can.h
Generated by
1.9.8