foxBMS  1.2.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-10-12 (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 
81 /*========== Extern Constant and Variable Definitions =======================*/
82 
83 /* ***************************************
84  * Configure TX messages here
85  ****************************************/
86 
87 /** registry of CAN TX messages */
89  {CAN1_NODE,
91  CAN_DLC,
95  &CAN_TxState,
96  NULL_PTR}, /*!< State */
97  {CAN1_NODE,
99  CAN_DLC,
103  &CAN_TxVoltage,
104  &voltageMux}, /*!< Cell voltages */
105  {CAN1_NODE,
107  CAN_DLC,
112  &temperatureMux}, /*!< Cell temperatures */
113  {CAN1_NODE,
115  CAN_DLC,
120  NULL_PTR}, /*!< Limits */
121  {CAN1_NODE,
123  CAN_DLC,
128  NULL_PTR}, /*!< Pack minimum and maximum values */
129  {CAN1_NODE,
131  CAN_DLC,
136  NULL_PTR}, /*!< Pack state estimation */
137  {CAN1_NODE,
139  CAN_DLC,
144  NULL_PTR}, /*!< Pack values */
145  {CAN1_NODE,
147  CAN_DLC,
152  &stringStateMux}, /*!< String state values */
153  {CAN1_NODE,
155  CAN_DLC,
160  &stringValuesMux}, /*!< String values */
161  {CAN1_NODE,
163  CAN_DLC,
168  &stringMinMaxMux}, /*!< String minimum maximum values */
169  {CAN1_NODE,
171  CAN_DLC,
176  &stringStateEstimationMux}, /*!< String minimum maximum values */
177  {CAN1_NODE,
179  CAN_DLC,
184  &stringValues2Mux}, /*!< String minimum maximum values */
185 
186 };
187 
188 /* ***************************************
189  * Configure RX messages here
190  ****************************************/
191 
192 /** registry of CAN RX messages */
194  {CAN1_NODE, CAN_ID_IMD_INFO, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxImdInfo}, /*!< info message from iso165c */
195  {CAN1_NODE,
197  CAN_DLC,
199  &CAN_RxImdResponse}, /*!< response mesage from iso165c */
200 
201  {CAN1_NODE, CAN_ID_COMMAND, CAN_DLC, CAN_BIG_ENDIAN, &CAN_RxRequest}, /*!< state request */
203 
204  {CAN1_NODE,
206  CAN_DLC,
208  &CAN_RxCurrentSensor}, /*!< current sensor I in cyclic mode */
209  {CAN1_NODE,
211  CAN_DLC,
213  &CAN_RxCurrentSensor}, /*!< current sensor U1 in cyclic mode */
214  {CAN1_NODE,
216  CAN_DLC,
218  &CAN_RxCurrentSensor}, /*!< current sensor U2 in cyclic mode */
219  {CAN1_NODE,
221  CAN_DLC,
223  &CAN_RxCurrentSensor}, /*!< current sensor U3 in cyclic mode */
224  {CAN1_NODE,
226  CAN_DLC,
228  &CAN_RxCurrentSensor}, /*!< current sensor T in cyclic mode */
229  {CAN1_NODE,
231  CAN_DLC,
233  &CAN_RxCurrentSensor}, /*!< current sensor Power in cyclic mode */
234  {CAN1_NODE,
236  CAN_DLC,
238  &CAN_RxCurrentSensor}, /*!< current sensor C-C in cyclic mode */
239  {CAN1_NODE,
241  CAN_DLC,
243  &CAN_RxCurrentSensor}, /*!< current sensor E-C in cyclic mode */
244 
245 #if BS_NR_OF_STRINGS > 1u
246  {CAN1_NODE,
248  CAN_DLC,
250  &CAN_RxCurrentSensor}, /*!< current sensor I in cyclic mode */
251  {CAN1_NODE,
253  CAN_DLC,
255  &CAN_RxCurrentSensor}, /*!< current sensor U1 in cyclic mode */
256  {CAN1_NODE,
258  CAN_DLC,
260  &CAN_RxCurrentSensor}, /*!< current sensor U2 in cyclic mode */
261  {CAN1_NODE,
263  CAN_DLC,
265  &CAN_RxCurrentSensor}, /*!< current sensor U3 in cyclic mode */
266  {CAN1_NODE,
268  CAN_DLC,
270  &CAN_RxCurrentSensor}, /*!< current sensor T in cyclic mode */
271  {CAN1_NODE,
273  CAN_DLC,
275  &CAN_RxCurrentSensor}, /*!< current sensor Power in cyclic mode */
276  {CAN1_NODE,
278  CAN_DLC,
280  &CAN_RxCurrentSensor}, /*!< current sensor C-C in cyclic mode */
281  {CAN1_NODE,
283  CAN_DLC,
285  &CAN_RxCurrentSensor}, /*!< current sensor E-C in cyclic mode */
286 
287 #if BS_NR_OF_STRINGS > 2u
288  {CAN1_NODE,
290  CAN_DLC,
292  &CAN_RxCurrentSensor}, /*!< current sensor I in cyclic mode */
293  {CAN1_NODE,
295  CAN_DLC,
297  &CAN_RxCurrentSensor}, /*!< current sensor U1 in cyclic mode */
298  {CAN1_NODE,
300  CAN_DLC,
302  &CAN_RxCurrentSensor}, /*!< current sensor U2 in cyclic mode */
303  {CAN1_NODE,
305  CAN_DLC,
307  &CAN_RxCurrentSensor}, /*!< current sensor U3 in cyclic mode */
308  {CAN1_NODE,
310  CAN_DLC,
312  &CAN_RxCurrentSensor}, /*!< current sensor T in cyclic mode */
313  {CAN1_NODE,
315  CAN_DLC,
317  &CAN_RxCurrentSensor}, /*!< current sensor Power in cyclic mode */
318  {CAN1_NODE,
320  CAN_DLC,
322  &CAN_RxCurrentSensor}, /*!< current sensor C-C in cyclic mode */
323  {CAN1_NODE,
325  CAN_DLC,
327  &CAN_RxCurrentSensor}, /*!< current sensor E-C in cyclic mode */
328 
329 #endif /* BS_NR_OF_STRINGS > 2 */
330 #endif /* BS_NR_OF_STRINGS > 1 */
331 
332  {CAN1_NODE, CAN_ID_DEBUG, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxDebug}, /*!< debug message */
333  {CAN1_NODE, CAN_ID_SW_VERSION, CAN_DLC, CAN_LITTLE_ENDIAN, &CAN_RxSwVersion}, /*!< request SW version */
334 };
335 
336 /** length of CAN message arrays @{*/
337 const uint8_t can_txLength = sizeof(can_txMessages) / sizeof(can_txMessages[0]);
338 const uint8_t can_rxLength = sizeof(can_rxMessages) / sizeof(can_rxMessages[0]);
339 /**@}*/
340 
341 /** local copies of database tables */
342 /**@{*/
358 /**@}*/
359 
362  .pTableCellVoltage = &can_tableCellVoltages,
363  .pTableCellTemperature = &can_tableTemperatures,
364  .pTableMinMax = &can_tableMinimumMaximumValues,
365  .pTableCurrentSensor = &can_tableCurrentSensor,
366  .pTableOpenWire = &can_tableOpenWire,
367  .pTableStateRequest = &can_tableStateRequest,
368  .pTablePackValues = &can_tablePackValues,
369  .pTableSof = &can_tableSof,
370  .pTableSox = &can_tableSox,
371  .pTableErrorState = &can_tableErrorState,
372  .pTableInsulation = &can_tableInsulation,
373  .pTableMsl = &can_tableMslFlags,
374  .pTableRsl = &can_tableRslFlags,
375  .pTableMol = &can_tableMolFlags,
376 };
377 
378 /*========== Static Function Prototypes =====================================*/
379 
380 /*========== Static Function Implementations ================================*/
381 
382 /*========== Extern Function Implementations ================================*/
383 
384 /*========== Externalized Static Function Implementations (Unit Test) =======*/
385 #ifdef UNITY_UNIT_TEST
386 
387 #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:343
const CAN_MSG_RX_TYPE_s can_rxMessages[]
Definition: can_cfg.c:193
static uint8_t temperatureMux
Definition: can_cfg.c:73
static DATA_BLOCK_ERRORSTATE_s can_tableErrorState
Definition: can_cfg.c:352
static DATA_BLOCK_MSL_FLAG_s can_tableMslFlags
Definition: can_cfg.c:355
static DATA_BLOCK_MIN_MAX_s can_tableMinimumMaximumValues
Definition: can_cfg.c:345
static DATA_BLOCK_OPEN_WIRE_s can_tableOpenWire
Definition: can_cfg.c:347
static uint8_t stringStateEstimationMux
Definition: can_cfg.c:77
const uint8_t can_txLength
Definition: can_cfg.c:337
static DATA_BLOCK_PACK_VALUES_s can_tablePackValues
Definition: can_cfg.c:349
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:357
const CAN_MSG_TX_TYPE_s can_txMessages[]
Definition: can_cfg.c:88
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:360
static DATA_BLOCK_CELL_TEMPERATURE_s can_tableTemperatures
Definition: can_cfg.c:344
static DATA_BLOCK_SOX_s can_tableSox
Definition: can_cfg.c:351
static DATA_BLOCK_RSL_FLAG_s can_tableRslFlags
Definition: can_cfg.c:356
const uint8_t can_rxLength
Definition: can_cfg.c:338
static DATA_BLOCK_INSULATION_MONITORING_s can_tableInsulation
Definition: can_cfg.c:353
static DATA_BLOCK_SOF_s can_tableSof
Definition: can_cfg.c:350
static DATA_BLOCK_STATEREQUEST_s can_tableStateRequest
Definition: can_cfg.c:348
static DATA_BLOCK_CURRENT_SENSOR_s can_tableCurrentSensor
Definition: can_cfg.c:346
Headers for the configuration for the CAN module.
#define CAN_ID_DEBUG
Definition: can_cfg.h:192
#define CAN_ID_IMD_INFO
Definition: can_cfg.h:204
#define CAN_TX_STRING_VALUES_PERIOD_MS
Definition: can_cfg.h:155
#define CAN_ID_STRING1_VOLTAGE1
Definition: can_cfg.h:223
#define CAN_ID_STRING0_CURRENT
Definition: can_cfg.h:212
#define CAN_ID_STRING2_TEMPERATURE
Definition: can_cfg.h:236
@ CAN_LITTLE_ENDIAN
Definition: can_cfg.h:291
@ CAN_BIG_ENDIAN
Definition: can_cfg.h:292
#define CAN_TX_PACK_STATE_ESTIMATION_PERIOD_MS
Definition: can_cfg.h:132
#define CAN_TX_STRING_MINIMUM_MAXIMUM_PERIOD_MS
Definition: can_cfg.h:162
#define CAN_TX_STRING_STATE_ESTIMATION_PERIOD_MS
Definition: can_cfg.h:169
#define CAN_TX_TEMPERATURES_PERIOD_MS
Definition: can_cfg.h:111
#define CAN_ID_TX_STRING_STATE
Definition: can_cfg.h:146
#define CAN_ID_IMD_RESPONSE
Definition: can_cfg.h:208
#define CAN_TX_LIMIT_VALUES_PERIOD_MS
Definition: can_cfg.h:118
#define CAN_ID_STRING2_VOLTAGE2
Definition: can_cfg.h:234
#define CAN_TX_STRING_STATE_PERIOD_MS
Definition: can_cfg.h:148
#define CAN_ID_STRING1_TEMPERATURE
Definition: can_cfg.h:226
#define CAN_ID_STRING2_CURRENT_COUNTER
Definition: can_cfg.h:238
#define CAN_ID_TX_VOLTAGES
Definition: can_cfg.h:102
#define CAN_ID_TX_STRING_VALUES_2
Definition: can_cfg.h:174
#define CAN_ID_TX_LIMIT_VALUES
Definition: can_cfg.h:116
#define CAN_ID_STRING0_CURRENT_COUNTER
Definition: can_cfg.h:218
#define CAN_ID_STRING0_TEMPERATURE
Definition: can_cfg.h:216
#define CAN_ID_TX_PACK_STATE_ESTIMATION
Definition: can_cfg.h:130
#define CAN_TX_STRING_MINIMUM_MAXIMUM_PHASE_MS
Definition: can_cfg.h:164
#define CAN_ID_COMMAND
Definition: can_cfg.h:189
#define CAN_TX_MINIMUM_MAXIMUM_VALUES_PERIOD_MS
Definition: can_cfg.h:125
#define CAN_TX_STRING_STATE_PHASE_MS
Definition: can_cfg.h:150
#define CAN_ID_TX_MINIMUM_MAXIMUM_VALUES
Definition: can_cfg.h:123
#define CAN_ID_STRING0_VOLTAGE3
Definition: can_cfg.h:215
#define CAN_TX_STRING_STATE_ESTIMATION_PHASE_MS
Definition: can_cfg.h:171
#define CAN_DLC
Definition: can_cfg.h:90
#define CAN_ID_TX_TEMPERATURES
Definition: can_cfg.h:109
#define CAN_TX_STATE_PHASE_MS
Definition: can_cfg.h:99
#define CAN_ID_SW_VERSION
Definition: can_cfg.h:195
#define CAN_ID_STRING1_VOLTAGE3
Definition: can_cfg.h:225
#define CAN_TX_VOLTAGES_PHASE_MS
Definition: can_cfg.h:106
#define CAN_TX_TEMPERATURES_PHASE_MS
Definition: can_cfg.h:113
#define CAN_TX_STATE_PERIOD_MS
Definition: can_cfg.h:97
#define CAN_ID_STRING1_CURRENT_COUNTER
Definition: can_cfg.h:228
#define CAN_ID_STRING1_ENERGY_COUNTER
Definition: can_cfg.h:229
#define CAN_ID_STRING0_VOLTAGE2
Definition: can_cfg.h:214
#define CAN_ID_TX_STRING_MINIMUM_MAXIMUM
Definition: can_cfg.h:160
#define CAN_TX_LIMIT_VALUES_PHASE_MS
Definition: can_cfg.h:120
#define CAN_ID_TX_STATE
Definition: can_cfg.h:95
#define CAN_TX_STRING_VALUES_2_PERIOD_MS
Definition: can_cfg.h:176
#define CAN_ID_STRING2_VOLTAGE1
Definition: can_cfg.h:233
#define CAN_ID_STRING1_CURRENT
Definition: can_cfg.h:222
#define CAN1_NODE
Definition: can_cfg.h:70
#define CAN_ID_SOFTWARE_RESET
Definition: can_cfg.h:186
#define CAN_ID_STRING2_ENERGY_COUNTER
Definition: can_cfg.h:239
#define CAN_ID_TX_STRING_STATE_ESTIMATION
Definition: can_cfg.h:167
#define CAN_ID_STRING2_POWER
Definition: can_cfg.h:237
#define CAN_ID_STRING1_VOLTAGE2
Definition: can_cfg.h:224
#define CAN_TX_MINIMUM_MAXIMUM_VALUES_PHASE_MS
Definition: can_cfg.h:127
#define CAN_TX_STRING_VALUES_2_PHASE_MS
Definition: can_cfg.h:178
#define CAN_ID_STRING2_VOLTAGE3
Definition: can_cfg.h:235
#define CAN_ID_STRING0_VOLTAGE1
Definition: can_cfg.h:213
#define CAN_TX_STRING_VALUES_PHASE_MS
Definition: can_cfg.h:157
#define CAN_TX_PACK_VALUES_PERIOD_MS
Definition: can_cfg.h:139
#define CAN_TX_PACK_VALUES_PHASE_MS
Definition: can_cfg.h:141
#define CAN_ID_STRING0_POWER
Definition: can_cfg.h:217
#define CAN_TX_PACK_STATE_ESTIMATION_PHASE_MS
Definition: can_cfg.h:134
#define CAN_ID_STRING1_POWER
Definition: can_cfg.h:227
#define CAN_ID_STRING2_CURRENT
Definition: can_cfg.h:232
#define CAN_TX_VOLTAGES_PERIOD_MS
Definition: can_cfg.h:104
#define CAN_ID_STRING0_ENERGY_COUNTER
Definition: can_cfg.h:219
#define CAN_ID_TX_STRING_VALUES
Definition: can_cfg.h:153
#define CAN_ID_TX_PACK_VALUES
Definition: can_cfg.h:137
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:101
@ 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:102
@ 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:75
Header of task driver implementation.
QueueHandle_t ftsk_imdCanDataQueue
OS_QUEUE * pQueueImd
Definition: can_cfg.h:304
DATA_BLOCK_ID_e uniqueId
Definition: database_cfg.h:111
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:137
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:121
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:202
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:314
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:150
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:465
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:423
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:290
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:178
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:445
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:384
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:485
DATA_BLOCK_HEADER_s header
Definition: database_cfg.h:502