foxBMS  1.1.1
The foxBMS Battery Management System API Documentation
can_cfg.c
Go to the documentation of this file.
1 /**
2  *
3  * @copyright © 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions are met:
10  *
11  * 1. Redistributions of source code must retain the above copyright notice, this
12  * list of conditions and the following disclaimer.
13  *
14  * 2. Redistributions in binary form must reproduce the above copyright notice,
15  * this list of conditions and the following disclaimer in the documentation
16  * and/or other materials provided with the distribution.
17  *
18  * 3. Neither the name of the copyright holder nor the names of its
19  * contributors may be used to endorse or promote products derived from
20  * this software without specific prior written permission.
21  *
22  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32  *
33  * We kindly request you to use one or more of the following phrases to refer to
34  * foxBMS in your hardware, software, documentation or advertising materials:
35  *
36  * - ″This product uses parts of foxBMS®″
37  * - ″This product includes parts of foxBMS®″
38  * - ″This product is derived from foxBMS®″
39  *
40  */
41 
42 /**
43  * @file can_cfg.c
44  * @author foxBMS Team
45  * @date 2019-12-04 (date of creation)
46  * @updated 2021-07-29 (date of last update)
47  * @ingroup DRIVERS_CONFIGURATION
48  * @prefix CAN
49  *
50  * @brief Configuration for the CAN module
51  *
52  * The CAN bus settings and the received messages and their
53  * reception handling are to be specified here.
54  *
55  *
56  */
57 
58 /*========== Includes =======================================================*/
59 #include "can_cfg.h"
60 
61 #include "can_cbs.h"
62 #include "database.h"
63 #include "ftask.h"
64 
65 /*========== Macros and Definitions =========================================*/
66 
67 /*========== Static Function Prototypes =====================================*/
68 
69 /*========== Static Constant and Variable Definitions =======================*/
70 
71 /** Multiplexer values */
72 static uint8_t voltageMux = 0u;
73 static uint8_t temperatureMux = 0u;
74 static uint8_t stringStateMux = 0u;
75 static uint8_t stringValuesMux = 0u;
76 static uint8_t stringMinMaxMux = 0u;
77 static uint8_t stringStateEstimationMux = 0u;
78 static uint8_t stringValues2Mux = 0u;
79 
80 /*========== Extern Constant and Variable Definitions =======================*/
81 
82 /* ***************************************
83  * Configure TX messages here
84  ****************************************/
85 
86 /** registry of CAN TX messages */
89  CAN_DLC,
93  &CAN_TxState,
94  NULL_PTR}, /*!< State */
96  CAN_DLC,
100  &CAN_TxVoltage,
101  &voltageMux}, /*!< Cell voltages */
103  CAN_DLC,
108  &temperatureMux}, /*!< Cell temperatures */
110  CAN_DLC,
115  NULL_PTR}, /*!< Limits */
117  CAN_DLC,
122  NULL_PTR}, /*!< Pack minimum and maximum values */
124  CAN_DLC,
129  NULL_PTR}, /*!< Pack state estimation */
131  CAN_DLC,
136  NULL_PTR}, /*!< Pack values */
138  CAN_DLC,
143  &stringStateMux}, /*!< String state values */
145  CAN_DLC,
150  &stringValuesMux}, /*!< String values */
152  CAN_DLC,
157  &stringMinMaxMux}, /*!< String minimum maximum values */
159  CAN_DLC,
164  &stringStateEstimationMux}, /*!< String minimum maximum values */
166  CAN_DLC,
171  &stringValues2Mux}, /*!< String minimum maximum values */
172 
173 };
174 
175 /* ***************************************
176  * Configure RX messages here
177  ****************************************/
178 
179 /** registry of CAN RX messages */
181  {CAN_ID_IMD_INFO, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxImdInfo}, /*!< info message from iso165c */
182  {CAN_ID_IMD_RESPONSE, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxImdResponse}, /*!< response mesage from iso165c */
183 
184  {CAN_ID_COMMAND, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxRequest}, /*!< state request */
185  {CAN_ID_SOFTWARE_RESET, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxSwReset}, /*!< software reset */
186 
187  {CAN_ID_STRING0_CURRENT, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor I in cyclic mode */
188  {CAN_ID_STRING0_VOLTAGE1, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U1 in cyclic mode */
189  {CAN_ID_STRING0_VOLTAGE2, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U2 in cyclic mode */
190  {CAN_ID_STRING0_VOLTAGE3, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U3 in cyclic mode */
192  CAN_DLC,
194  &CAN_RxCurrentSensor}, /*!< current sensor T in cyclic mode */
195  {CAN_ID_STRING0_POWER, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor Power in cyclic mode */
197  CAN_DLC,
199  &CAN_RxCurrentSensor}, /*!< current sensor C-C in cyclic mode */
201  CAN_DLC,
203  &CAN_RxCurrentSensor}, /*!< current sensor E-C in cyclic mode */
204 
205 #if BS_NR_OF_STRINGS > 1u
206  {CAN_ID_STRING1_CURRENT, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor I in cyclic mode */
207  {CAN_ID_STRING1_VOLTAGE1, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U1 in cyclic mode */
208  {CAN_ID_STRING1_VOLTAGE2, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U2 in cyclic mode */
209  {CAN_ID_STRING1_VOLTAGE3, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U3 in cyclic mode */
211  CAN_DLC,
213  &CAN_RxCurrentSensor}, /*!< current sensor T in cyclic mode */
214  {CAN_ID_STRING1_POWER, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor Power in cyclic mode */
216  CAN_DLC,
218  &CAN_RxCurrentSensor}, /*!< current sensor C-C in cyclic mode */
220  CAN_DLC,
222  &CAN_RxCurrentSensor}, /*!< current sensor E-C in cyclic mode */
223 
224 #if BS_NR_OF_STRINGS > 2u
225  {CAN_ID_STRING2_CURRENT, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor I in cyclic mode */
226  {CAN_ID_STRING2_VOLTAGE1, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U1 in cyclic mode */
227  {CAN_ID_STRING2_VOLTAGE2, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U2 in cyclic mode */
228  {CAN_ID_STRING2_VOLTAGE3, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor U3 in cyclic mode */
230  CAN_DLC,
232  &CAN_RxCurrentSensor}, /*!< current sensor T in cyclic mode */
233  {CAN_ID_STRING2_POWER, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxCurrentSensor}, /*!< current sensor Power in cyclic mode */
235  CAN_DLC,
237  &CAN_RxCurrentSensor}, /*!< current sensor C-C in cyclic mode */
239  CAN_DLC,
241  &CAN_RxCurrentSensor}, /*!< current sensor E-C in cyclic mode */
242 
243 #endif /* BS_NR_OF_STRINGS > 2 */
244 #endif /* BS_NR_OF_STRINGS > 1 */
245 
246  {CAN_ID_DEBUG, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxDebug}, /*!< debug message */
247  {CAN_ID_SW_VERSION, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxSwVersion}, /*!< request SW version */
248 };
249 
250 /** length of CAN message arrays @{*/
251 const uint8_t can_txLength = sizeof(can_txMessages) / sizeof(can_txMessages[0]);
252 const uint8_t can_rxLength = sizeof(can_rxMessages) / sizeof(can_rxMessages[0]);
253 /**@}*/
254 
255 /** local copies of database tables */
256 /**@{*/
272 /**@}*/
273 
276  .pTableCellVoltage = &can_tableCellVoltages,
277  .pTableCellTemperature = &can_tableTemperatures,
278  .pTableMinMax = &can_tableMinimumMaximumValues,
279  .pTableCurrentSensor = &can_tableCurrentSensor,
280  .pTableOpenWire = &can_tableOpenWire,
281  .pTableStateRequest = &can_tableStateRequest,
282  .pTablePackValues = &can_tablePackValues,
283  .pTableSof = &can_tableSof,
284  .pTableSox = &can_tableSox,
285  .pTableErrorState = &can_tableErrorState,
286  .pTableInsulation = &can_tableInsulation,
287  .pTableMsl = &can_tableMslFlags,
288  .pTableRsl = &can_tableRslFlags,
289  .pTableMol = &can_tableMolFlags,
290 };
291 
292 /*========== Static Function Prototypes =====================================*/
293 
294 /*========== Static Function Implementations ================================*/
295 
296 /*========== Extern Function Implementations ================================*/
297 
298 /*========== Externalized Static Function Implementations (Unit Test) =======*/
299 #ifdef UNITY_UNIT_TEST
300 
301 #endif
CAN callbacks header.
uint32_t CAN_TxStateEstimation(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for state estimation values
uint32_t CAN_RxSwVersion(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for SW version
uint32_t CAN_RxSwReset(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for SW reset
uint32_t CAN_RxDebug(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for debug messages
uint32_t CAN_RxImdInfo(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for IMD info messages
uint32_t CAN_TxStringValues2(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for string values 2
uint32_t CAN_RxCurrentSensor(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for current sensor measurements
uint32_t CAN_TxMinimumMaximumValues(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for min/max values
uint32_t CAN_TxCellTemperature(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for cell temperatures
uint32_t CAN_TxPackValues(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for pack values values
uint32_t CAN_TxVoltage(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for cell voltages
uint32_t CAN_TxStringState(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for string state values
uint32_t CAN_TxStringMinimumMaximumValues(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for string minimum and maximum values
uint32_t CAN_TxStringValues(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for string values
uint32_t CAN_RxRequest(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for state requests
uint32_t CAN_RxImdResponse(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can rx callback function for IMD response messages
uint32_t CAN_TxLimitValues(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for limit values
uint32_t CAN_TxStringStateEstimation(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for string state estimation
uint32_t CAN_TxState(uint32_t id, uint8_t dlc, CAN_ENDIANNESS_e endianness, uint8_t *pCanData, uint8_t *pMuxId, const CAN_SHIM_s *const kpkCanShim)
can tx callback function for state
static DATA_BLOCK_CELL_VOLTAGE_s can_tableCellVoltages
Definition: can_cfg.c:257
const CAN_MSG_RX_TYPE_s can_rxMessages[]
Definition: can_cfg.c:180
static uint8_t temperatureMux
Definition: can_cfg.c:73
static DATA_BLOCK_ERRORSTATE_s can_tableErrorState
Definition: can_cfg.c:266
static DATA_BLOCK_MSL_FLAG_s can_tableMslFlags
Definition: can_cfg.c:269
static DATA_BLOCK_MIN_MAX_s can_tableMinimumMaximumValues
Definition: can_cfg.c:259
static DATA_BLOCK_OPEN_WIRE_s can_tableOpenWire
Definition: can_cfg.c:261
static uint8_t stringStateEstimationMux
Definition: can_cfg.c:77
const uint8_t can_txLength
Definition: can_cfg.c:251
static DATA_BLOCK_PACK_VALUES_s can_tablePackValues
Definition: can_cfg.c:263
static uint8_t stringValues2Mux
Definition: can_cfg.c:78
static uint8_t stringMinMaxMux
Definition: can_cfg.c:76
static DATA_BLOCK_MOL_FLAG_s can_tableMolFlags
Definition: can_cfg.c:271
const CAN_MSG_TX_TYPE_s can_txMessages[]
Definition: can_cfg.c:87
static uint8_t stringStateMux
Definition: can_cfg.c:74
static uint8_t stringValuesMux
Definition: can_cfg.c:75
static uint8_t voltageMux
Definition: can_cfg.c:72
const CAN_SHIM_s can_kShim
Definition: can_cfg.c:274
static DATA_BLOCK_CELL_TEMPERATURE_s can_tableTemperatures
Definition: can_cfg.c:258
static DATA_BLOCK_SOX_s can_tableSox
Definition: can_cfg.c:265
static DATA_BLOCK_RSL_FLAG_s can_tableRslFlags
Definition: can_cfg.c:270
const uint8_t can_rxLength
Definition: can_cfg.c:252
static DATA_BLOCK_INSULATION_MONITORING_s can_tableInsulation
Definition: can_cfg.c:267
static DATA_BLOCK_SOF_s can_tableSof
Definition: can_cfg.c:264
static DATA_BLOCK_STATEREQUEST_s can_tableStateRequest
Definition: can_cfg.c:262
static DATA_BLOCK_CURRENT_SENSOR_s can_tableCurrentSensor
Definition: can_cfg.c:260
Headers for the configuration for the CAN module.
#define CAN_ID_DEBUG
Definition: can_cfg.h:176
#define CAN_ID_IMD_INFO
Definition: can_cfg.h:188
#define CAN_TX_STRING_VALUES_PERIOD_MS
Definition: can_cfg.h:139
#define CAN_ID_STRING1_VOLTAGE1
Definition: can_cfg.h:206
#define CAN_ID_STRING0_CURRENT
Definition: can_cfg.h:196
#define CAN_ID_STRING2_TEMPERATURE
Definition: can_cfg.h:218
@ CAN_LITTLE_ENDIAN
Definition: can_cfg.h:289
@ CAN_BIG_ENDIAN
Definition: can_cfg.h:290
#define CAN_TX_PACK_STATE_ESTIMATION_PERIOD_MS
Definition: can_cfg.h:116
#define CAN_TX_STRING_MINIMUM_MAXIMUM_PERIOD_MS
Definition: can_cfg.h:146
#define CAN_TX_STRING_STATE_ESTIMATION_PERIOD_MS
Definition: can_cfg.h:153
#define CAN_TX_TEMPERATURES_PERIOD_MS
Definition: can_cfg.h:95
#define CAN_ID_TX_STRING_STATE
Definition: can_cfg.h:130
#define CAN_ID_IMD_RESPONSE
Definition: can_cfg.h:192
#define CAN_TX_LIMIT_VALUES_PERIOD_MS
Definition: can_cfg.h:102
#define CAN_ID_STRING2_VOLTAGE2
Definition: can_cfg.h:216
#define CAN_TX_STRING_STATE_PERIOD_MS
Definition: can_cfg.h:132
#define CAN_ID_STRING1_TEMPERATURE
Definition: can_cfg.h:209
#define CAN_ID_STRING2_CURRENT_COUNTER
Definition: can_cfg.h:220
#define CAN_ID_TX_VOLTAGES
Definition: can_cfg.h:86
#define CAN_ID_TX_STRING_VALUES_2
Definition: can_cfg.h:158
#define CAN_ID_TX_LIMIT_VALUES
Definition: can_cfg.h:100
#define CAN_ID_STRING0_CURRENT_COUNTER
Definition: can_cfg.h:202
#define CAN_ID_STRING0_TEMPERATURE
Definition: can_cfg.h:200
#define CAN_ID_TX_PACK_STATE_ESTIMATION
Definition: can_cfg.h:114
#define CAN_TX_STRING_MINIMUM_MAXIMUM_PHASE_MS
Definition: can_cfg.h:148
#define CAN_ID_COMMAND
Definition: can_cfg.h:173
#define CAN_TX_MINIMUM_MAXIMUM_VALUES_PERIOD_MS
Definition: can_cfg.h:109
#define CAN_TX_STRING_STATE_PHASE_MS
Definition: can_cfg.h:134
#define CAN_ID_TX_MINIMUM_MAXIMUM_VALUES
Definition: can_cfg.h:107
#define CAN_ID_STRING0_VOLTAGE3
Definition: can_cfg.h:199
#define CAN_TX_STRING_STATE_ESTIMATION_PHASE_MS
Definition: can_cfg.h:155
#define CAN_DLC
Definition: can_cfg.h:73
#define CAN_ID_TX_TEMPERATURES
Definition: can_cfg.h:93
#define CAN_TX_STATE_PHASE_MS
Definition: can_cfg.h:84
#define CAN_ID_SW_VERSION
Definition: can_cfg.h:179
#define CAN_ID_STRING1_VOLTAGE3
Definition: can_cfg.h:208
#define CAN_TX_VOLTAGES_PHASE_MS
Definition: can_cfg.h:90
#define CAN_TX_TEMPERATURES_PHASE_MS
Definition: can_cfg.h:97
#define CAN_TX_STATE_PERIOD_MS
Definition: can_cfg.h:82
#define CAN_ID_STRING1_CURRENT_COUNTER
Definition: can_cfg.h:211
#define CAN_ID_STRING1_ENERGY_COUNTER
Definition: can_cfg.h:212
#define CAN_ID_STRING0_VOLTAGE2
Definition: can_cfg.h:198
#define CAN_ID_TX_STRING_MINIMUM_MAXIMUM
Definition: can_cfg.h:144
#define CAN_TX_LIMIT_VALUES_PHASE_MS
Definition: can_cfg.h:104
#define CAN_ID_TX_STATE
Definition: can_cfg.h:80
#define CAN_TX_STRING_VALUES_2_PERIOD_MS
Definition: can_cfg.h:160
#define CAN_ID_STRING2_VOLTAGE1
Definition: can_cfg.h:215
#define CAN_ID_STRING1_CURRENT
Definition: can_cfg.h:205
#define CAN_ID_SOFTWARE_RESET
Definition: can_cfg.h:170
#define CAN_ID_STRING2_ENERGY_COUNTER
Definition: can_cfg.h:221
#define CAN_ID_TX_STRING_STATE_ESTIMATION
Definition: can_cfg.h:151
#define CAN_ID_STRING2_POWER
Definition: can_cfg.h:219
#define CAN_ID_STRING1_VOLTAGE2
Definition: can_cfg.h:207
#define CAN_TX_MINIMUM_MAXIMUM_VALUES_PHASE_MS
Definition: can_cfg.h:111
#define CAN_TX_STRING_VALUES_2_PHASE_MS
Definition: can_cfg.h:162
#define CAN_ID_STRING2_VOLTAGE3
Definition: can_cfg.h:217
#define CAN_ID_STRING0_VOLTAGE1
Definition: can_cfg.h:197
#define CAN_TX_STRING_VALUES_PHASE_MS
Definition: can_cfg.h:141
#define CAN_TX_PACK_VALUES_PERIOD_MS
Definition: can_cfg.h:123
#define CAN_TX_PACK_VALUES_PHASE_MS
Definition: can_cfg.h:125
#define CAN_ID_STRING0_POWER
Definition: can_cfg.h:201
#define CAN_TX_PACK_STATE_ESTIMATION_PHASE_MS
Definition: can_cfg.h:118
#define CAN_ID_STRING1_POWER
Definition: can_cfg.h:210
#define CAN_ID_STRING2_CURRENT
Definition: can_cfg.h:214
#define CAN_TX_VOLTAGES_PERIOD_MS
Definition: can_cfg.h:88
#define CAN_ID_STRING0_ENERGY_COUNTER
Definition: can_cfg.h:203
#define CAN_ID_TX_STRING_VALUES
Definition: can_cfg.h:137
#define CAN_ID_TX_PACK_VALUES
Definition: can_cfg.h:121
Database module header.
@ DATA_BLOCK_ID_MIN_MAX
Definition: database_cfg.h:75
@ DATA_BLOCK_ID_SOX
Definition: database_cfg.h:91
@ DATA_BLOCK_ID_RSL_FLAG
Definition: database_cfg.h:89
@ DATA_BLOCK_ID_INSULATION_MONITORING
Definition: database_cfg.h:102
@ DATA_BLOCK_ID_CELL_VOLTAGE
Definition: database_cfg.h:73
@ DATA_BLOCK_ID_CURRENT_SENSOR
Definition: database_cfg.h:76
@ DATA_BLOCK_ID_OPEN_WIRE_BASE
Definition: database_cfg.h:81
@ DATA_BLOCK_ID_SOF
Definition: database_cfg.h:86
@ DATA_BLOCK_ID_MSL_FLAG
Definition: database_cfg.h:88
@ DATA_BLOCK_ID_ERRORSTATE
Definition: database_cfg.h:83
@ DATA_BLOCK_ID_PACK_VALUES
Definition: database_cfg.h:103
@ DATA_BLOCK_ID_MOL_FLAG
Definition: database_cfg.h:90
@ DATA_BLOCK_ID_CELL_TEMPERATURE
Definition: database_cfg.h:74
@ DATA_BLOCK_ID_STATEREQUEST
Definition: database_cfg.h:92
#define NULL_PTR
Null pointer.
Definition: fstd_types.h:66
QueueHandle_t ftsk_imdCanDataQueue
Definition: ftask.c:170
Header of task driver implementation.
QueueHandle_t * pQueueImd
Definition: can_cfg.h:295
DATA_BLOCK_ID_e uniqueId
Definition: database_cfg.h:110
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:136
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:120
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:215
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:327
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:163
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:473
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:431
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:303
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:191
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:453
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:392
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:493
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:510