Skip to content

Commit

Permalink
update generated code for version 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejoPm03 committed May 1, 2024
1 parent 150c010 commit 497fc69
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 48 deletions.
18 changes: 9 additions & 9 deletions can_ids.csv
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@
11,MVC19_2,211,STATE,102,1,0.014,71,Module state report
12,MCC23_1,225,STATE,103,1,0.014,71,Module state report
13,MCC23_1,225,MEASUREMENTS,202,10,0.222,111,All measurements from the converter
14,MCC23_1,225,AUX_MEASUREMENTS,225,10,0.142,71,Auxiliary measurements from the converter
14,MCC23_1,225,AUX_MEASUREMENTS,225,10,0.174,87,Auxiliary measurements from the converter
15,MCC23_2,226,STATE,104,1,0.014,71,Module state report
16,MCC23_2,226,MEASUREMENTS,203,10,0.222,111,All measurements from the converter
17,MCC23_2,226,AUX_MEASUREMENTS,226,10,0.142,71,Auxiliary measurements from the converter
17,MCC23_2,226,AUX_MEASUREMENTS,226,10,0.174,87,Auxiliary measurements from the converter
18,MCC23_3,227,STATE,105,1,0.014,71,Module state report
19,MCC23_3,227,MEASUREMENTS,204,10,0.222,111,All measurements from the converter
20,MCC23_3,227,AUX_MEASUREMENTS,227,10,0.142,71,Auxiliary measurements from the converter
20,MCC23_3,227,AUX_MEASUREMENTS,227,10,0.174,87,Auxiliary measurements from the converter
21,MCC23_4,228,STATE,106,1,0.014,71,Module state report
22,MCC23_4,228,MEASUREMENTS,205,10,0.222,111,All measurements from the converter
23,MCC23_4,228,AUX_MEASUREMENTS,228,10,0.142,71,Auxiliary measurements from the converter
23,MCC23_4,228,AUX_MEASUREMENTS,228,10,0.174,87,Auxiliary measurements from the converter
24,MCC23_5,229,STATE,107,1,0.014,71,Module state report
25,MCC23_5,229,MEASUREMENTS,206,10,0.222,111,All measurements from the converter
26,MCC23_5,229,AUX_MEASUREMENTS,229,10,0.142,71,Auxiliary measurements from the converter
26,MCC23_5,229,AUX_MEASUREMENTS,229,10,0.174,87,Auxiliary measurements from the converter
27,MCC23_6,230,STATE,108,1,0.014,71,Module state report
28,MCC23_6,230,MEASUREMENTS,207,10,0.222,111,All measurements from the converter
29,MCC23_6,230,AUX_MEASUREMENTS,230,10,0.142,71,Auxiliary measurements from the converter
29,MCC23_6,230,AUX_MEASUREMENTS,230,10,0.174,87,Auxiliary measurements from the converter
30,MCC23_7,231,STATE,109,1,0.014,71,Module state report
31,MCC23_7,231,MEASUREMENTS,208,10,0.222,111,All measurements from the converter
32,MCC23_7,231,AUX_MEASUREMENTS,231,10,0.142,71,Auxiliary measurements from the converter
32,MCC23_7,231,AUX_MEASUREMENTS,231,10,0.174,87,Auxiliary measurements from the converter
33,MCC23_8,232,STATE,110,1,0.014,71,Module state report
34,MCC23_8,232,MEASUREMENTS,209,10,0.222,111,All measurements from the converter
35,MCC23_8,232,AUX_MEASUREMENTS,232,10,0.142,71,Auxiliary measurements from the converter
35,MCC23_8,232,AUX_MEASUREMENTS,232,10,0.174,87,Auxiliary measurements from the converter
36,MCC23_9,233,STATE,111,1,0.014,71,Module state report
37,MCC23_9,233,MEASUREMENTS,210,10,0.222,111,All measurements from the converter
38,MCC23_9,233,AUX_MEASUREMENTS,233,10,0.142,71,Auxiliary measurements from the converter
38,MCC23_9,233,AUX_MEASUREMENTS,233,10,0.174,87,Auxiliary measurements from the converter
39,MCB19_1,220,STATE,118,1,0.014,71,Module state report
40,MCB19_1,220,MEASUREMENTS,222,10,0.222,111,All measurements from the converter
41,MCB19_2,221,STATE,119,1,0.014,71,Module state report
Expand Down
74 changes: 64 additions & 10 deletions can_ids.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// CODE GENERATED USING MAKOTEMPLATES.ORG, DO NOT EDIT.
#define CAN_VERSION "0.1.6"
#define CAN_VERSION "0.1.8"

#include <stdint.h>

Expand Down Expand Up @@ -240,7 +240,7 @@
#define CAN_MSG_MCC23_1_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_1 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_ID 225
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -251,6 +251,12 @@
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_1_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_2 - Modulo controlador de carga 2
Expand Down Expand Up @@ -303,7 +309,7 @@
#define CAN_MSG_MCC23_2_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_2 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_ID 226
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -314,6 +320,12 @@
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_2_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_3 - Modulo controlador de carga 3
Expand Down Expand Up @@ -366,7 +378,7 @@
#define CAN_MSG_MCC23_3_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_3 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_ID 227
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -377,6 +389,12 @@
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_3_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_4 - Modulo controlador de carga 4
Expand Down Expand Up @@ -429,7 +447,7 @@
#define CAN_MSG_MCC23_4_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_4 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_ID 228
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -440,6 +458,12 @@
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_4_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_5 - Modulo controlador de carga 5
Expand Down Expand Up @@ -492,7 +516,7 @@
#define CAN_MSG_MCC23_5_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_5 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_ID 229
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -503,6 +527,12 @@
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_5_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_6 - Modulo controlador de carga 6
Expand Down Expand Up @@ -555,7 +585,7 @@
#define CAN_MSG_MCC23_6_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_6 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_ID 230
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -566,6 +596,12 @@
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_6_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_7 - Modulo controlador de carga 7
Expand Down Expand Up @@ -618,7 +654,7 @@
#define CAN_MSG_MCC23_7_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_7 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_ID 231
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -629,6 +665,12 @@
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_7_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_8 - Modulo controlador de carga 8
Expand Down Expand Up @@ -681,7 +723,7 @@
#define CAN_MSG_MCC23_8_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_8 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_ID 232
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -692,6 +734,12 @@
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_8_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCC23_9 - Modulo controlador de carga 9
Expand Down Expand Up @@ -744,7 +792,7 @@
#define CAN_MSG_MCC23_9_MEASUREMENTS_DT_UNITS "%/255"
// MCC23_9 - AUX_MEASUREMENTS - Auxiliary measurements from the converter
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_ID 233
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_LENGTH 3
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_LENGTH 5
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_FREQUENCY 10
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_SIGNATURE_BYTE 0 //<!" Senders signature
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_SIGNATURE_TYPE uint8_t
Expand All @@ -755,6 +803,12 @@
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_BYTE 2 //<!" Average output current, byte high
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_TYPE uint16_t
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_OUTPUT_CURRENT_H_UNITS "A/100"
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_MOSFET_TEMP_BYTE 3 //<!" MOSFET temperature
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_MOSFET_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_MOSFET_TEMP_UNITS "°C"
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_DIODE_TEMP_BYTE 4 //<!" Diode temperature
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_DIODE_TEMP_TYPE uint8_t
#define CAN_MSG_MCC23_9_AUX_MEASUREMENTS_DIODE_TEMP_UNITS "°C"


// MCB19_1 - Modulo de carregamento das baterias auxiliares 1
Expand Down
Loading

0 comments on commit 497fc69

Please sign in to comment.