foxBMS  1.5.0
The foxBMS Battery Management System API Documentation
diag_cbs.h
Go to the documentation of this file.
1 /**
2  *
3  * @copyright © 2010 - 2023, 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 diag_cbs.h
44  * @author foxBMS Team
45  * @date 2021-02-17 (date of creation)
46  * @updated 2023-02-03 (date of last update)
47  * @version v1.5.0
48  * @ingroup ENGINE
49  * @prefix DIAG
50  *
51  * @brief Diagnosis driver header
52  *
53  */
54 
55 #ifndef FOXBMS__DIAG_CBS_H_
56 #define FOXBMS__DIAG_CBS_H_
57 
58 /*========== Includes =======================================================*/
59 
60 #include "diag_cfg.h"
61 
62 #include <stdint.h>
63 
64 /*========== Macros and Definitions =========================================*/
65 
66 /*========== Extern Constant and Variable Declarations ======================*/
67 
68 /*========== Extern Function Prototypes =====================================*/
69 /**
70  * @brief dummy callback function of diagnosis events
71  * @param[in] diagId ID of diag entry
72  * @param[in] event OK, NOK or RESET
73  * @param[in] kpkDiagShim shim to the database entries
74  * @param[in] data data
75  */
76 extern void DIAG_DummyCallback(
77  DIAG_ID_e diagId,
78  DIAG_EVENT_e event,
79  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
80  uint32_t data);
81 
82 /**
83  * @brief diagnosis callback function for overvoltage events
84  * @param[in] diagId ID of diag entry
85  * @param[in] event OK, NOK or RESET
86  * @param[in] kpkDiagShim shim to the database entries
87  * @param[in] stringNumber stringNumber where overvoltage event occurred
88  */
89 extern void DIAG_ErrorOvervoltage(
90  DIAG_ID_e diagId,
91  DIAG_EVENT_e event,
92  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
93  uint32_t stringNumber);
94 
95 /**
96  * @brief diagnosis callback function for undervoltage events
97  * @param[in] diagId ID of diag entry
98  * @param[in] event OK, NOK or RESET
99  * @param[in] kpkDiagShim shim to the database entries
100  * @param[in] stringNumber stringNumber where undervoltage event occurred
101  */
102 extern void DIAG_ErrorUndervoltage(
103  DIAG_ID_e diagId,
104  DIAG_EVENT_e event,
105  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
106  uint32_t stringNumber);
107 /**
108  * @brief diagnosis callback function for overtemperature charge events
109  * @param[in] diagId ID of diag entry
110  * @param[in] event OK, NOK or RESET
111  * @param[in] kpkDiagShim shim to the database entries
112  * @param[in] stringNumber stringNumber where overtemperature event occurred
113  */
115  DIAG_ID_e diagId,
116  DIAG_EVENT_e event,
117  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
118  uint32_t stringNumber);
119 
120 /**
121  * @brief diagnosis callback function for overtemperature discharge events
122  * @param[in] diagId ID of diag entry
123  * @param[in] event OK, NOK or RESET
124  * @param[in] kpkDiagShim shim to the database entries
125  * @param[in] stringNumber stringNumber where overtemperature event occurred
126  */
128  DIAG_ID_e diagId,
129  DIAG_EVENT_e event,
130  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
131  uint32_t stringNumber);
132 
133 /**
134  * @brief diagnosis callback function for undertemperature charge events
135  * @param[in] diagId ID of diag entry
136  * @param[in] event OK, NOK or RESET
137  * @param[in] kpkDiagShim shim to the database entries
138  * @param[in] stringNumber stringNumber where undertemperature event occurred
139  */
141  DIAG_ID_e diagId,
142  DIAG_EVENT_e event,
143  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
144  uint32_t stringNumber);
145 
146 /**
147  * @brief diagnosis callback function for undertemperature discharge events
148  * @param[in] diagId ID of diag entry
149  * @param[in] event OK, NOK or RESET
150  * @param[in] kpkDiagShim shim to the database entries
151  * @param[in] stringNumber stringNumber where undertemperature event occurred
152  */
154  DIAG_ID_e diagId,
155  DIAG_EVENT_e event,
156  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
157  uint32_t stringNumber);
158 
159 /**
160  * @brief diagnosis callback function for overcurrent charge events
161  * @param[in] diagId ID of diag entry
162  * @param[in] event OK, NOK or RESET
163  * @param[in] kpkDiagShim shim to the database entries
164  * @param[in] stringNumber stringNumber where overcurrent event occurred
165  */
166 extern void DIAG_ErrorOvercurrentCharge(
167  DIAG_ID_e diagId,
168  DIAG_EVENT_e event,
169  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
170  uint32_t stringNumber);
171 
172 /**
173  * @brief diagnosis callback function for overcurrent discharge events
174  * @param[in] diagId ID of diag entry
175  * @param[in] event OK, NOK or RESET
176  * @param[in] kpkDiagShim shim to the database entries
177  * @param[in] stringNumber stringNumber where overcurrent event occurred
178  */
180  DIAG_ID_e diagId,
181  DIAG_EVENT_e event,
182  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
183  uint32_t stringNumber);
184 
185 /**
186  * @brief diagnosis callback function for overcurrent charge events
187  * @param[in] diagId ID of diag entry
188  * @param[in] event OK, NOK or RESET
189  * @param[in] kpkDiagShim shim to the database entries
190  * @param[in] stringNumber stringNumber where overcurrent event occurred
191  */
193  DIAG_ID_e diagId,
194  DIAG_EVENT_e event,
195  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
196  uint32_t stringNumber);
197 
198 /**
199  * @brief diagnosis callback function for current measurement related events
200  * @param[in] diagId ID of diag entry
201  * @param[in] event OK, NOK or RESET
202  * @param[in] kpkDiagShim shim to the database entries
203  * @param[in] stringNumber stringNumber where event occurred
204  */
205 extern void DIAG_ErrorCurrentMeasurement(
206  DIAG_ID_e diagId,
207  DIAG_EVENT_e event,
208  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
209  uint32_t stringNumber);
210 
211 /**
212  * @brief diagnosis callback function for current sensor related events
213  * @param[in] diagId ID of diag entry
214  * @param[in] event OK, NOK or RESET
215  * @param[in] kpkDiagShim shim to the database entries
216  * @param[in] stringNumber stringNumber where event occurred
217  */
219  DIAG_ID_e diagId,
220  DIAG_EVENT_e event,
221  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
222  uint32_t stringNumber);
223 
224 /* ----------------- Functions for system related events ------------------ */
225 
226 /**
227  * @brief Callback function for system monitoring related diagnosis events
228  * @param[in] diagId ID of diag entry
229  * @param[in] event #DIAG_EVENT_e
230  * @param[in] kpkDiagShim shim to the database entries
231  * @param[in] data data
232  */
233 extern void DIAG_ErrorSystemMonitoring(
234  DIAG_ID_e diagId,
235  DIAG_EVENT_e event,
236  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
237  uint32_t data);
238 
239 /**
240  * @brief Callback function for interlock related diagnosis events
241  * @param[in] diagId ID of diag entry
242  * @param[in] event #DIAG_EVENT_e
243  * @param[in] kpkDiagShim shim to the database entries
244  * @param[in] data data
245  */
246 extern void DIAG_ErrorInterlock(
247  DIAG_ID_e diagId,
248  DIAG_EVENT_e event,
249  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
250  uint32_t data);
251 
252 /**
253  * @brief diagnosis callback function for CAN related events
254  * @param[in] diagId ID of diag entry
255  * @param[in] event #DIAG_EVENT_e
256  * @param[in] kpkDiagShim shim to the database entries
257  * @param[in] data data
258  */
259 extern void DIAG_ErrorCanTiming(
260  DIAG_ID_e diagId,
261  DIAG_EVENT_e event,
262  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
263  uint32_t data);
264 
265 /**
266  * @brief diagnosis callback function for CAN related events
267  * @param[in] diagId ID of diag entry
268  * @param[in] event #DIAG_EVENT_e
269  * @param[in] kpkDiagShim shim to the database entries
270  * @param[in] data data
271  */
272 extern void DIAG_ErrorCanRxQueueFull(
273  DIAG_ID_e diagId,
274  DIAG_EVENT_e event,
275  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
276  uint32_t data);
277 
278 /**
279  * @brief diagnosis callback function for AFE module related events
280  * @param[in] diagId ID of diag entry
281  * @param[in] event OK, NOK or RESET
282  * @param[in] kpkDiagShim shim to the database entries
283  * @param[in] stringNumber stringNumber where AFE event occurred
284  */
285 extern void DIAG_ErrorAfeDriver(
286  DIAG_ID_e diagId,
287  DIAG_EVENT_e event,
288  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
289  uint32_t stringNumber);
290 
291 /**
292  * @brief diagnosis callback function for AFE related events
293  * @param[in] diagId ID of diag entry
294  * @param[in] event OK, NOK or RESET
295  * @param[in] kpkDiagShim shim to the database entries
296  * @param[in] stringNumber stringNumber where event occurred
297  */
298 extern void DIAG_ErrorAfe(
299  DIAG_ID_e diagId,
300  DIAG_EVENT_e event,
301  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
302  uint32_t stringNumber);
303 
304 /**
305  * @brief diagnosis callback function for current sensor related events
306  * @param[in] diagId ID of diag entry
307  * @param[in] event OK, NOK or RESET
308  * @param[in] kpkDiagShim shim to the database entries
309  * @param[in] stringNumber stringNumber where current sensor event occurred
310  */
311 extern void DIAG_ErrorCurrentSensor(
312  DIAG_ID_e diagId,
313  DIAG_EVENT_e event,
314  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
315  uint32_t stringNumber);
316 
317 /**
318  * @brief diagnosis callback function for SBC related events
319  * @param[in] diagId ID of diag entry
320  * @param[in] event #DIAG_EVENT_e
321  * @param[in] kpkDiagShim shim to the database entries
322  * @param[in] data data
323  */
324 extern void DIAG_Sbc(
325  DIAG_ID_e diagId,
326  DIAG_EVENT_e event,
327  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
328  uint32_t data);
329 
330 /**
331  * @brief diagnosis callback function for plausibility check related events
332  * @param[in] diagId ID of diag entry
333  * @param[in] event #DIAG_EVENT_e
334  * @param[in] kpkDiagShim shim to the database entries
335  * @param[in] stringNumber stringNumber where current sensor event occurred
336  */
337 extern void DIAG_ErrorPlausibility(
338  DIAG_ID_e diagId,
339  DIAG_EVENT_e event,
340  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
341  uint32_t stringNumber);
342 
343 /**
344  * @brief diagnosis callback function for string contactor feedback related events
345  * @param[in] diagId ID of diag entry
346  * @param[in] event #DIAG_EVENT_e
347  * @param[in] kpkDiagShim shim to the database entries
348  * @param[in] stringNumber stringNumber where contactor feedback event occurred
349  */
350 extern void DIAG_StringContactorFeedback(
351  DIAG_ID_e diagId,
352  DIAG_EVENT_e event,
353  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
354  uint32_t stringNumber);
355 
356 /**
357  * @brief diagnosis callback function for precharge contactor feedback related events
358  * @param[in] diagId ID of diag entry
359  * @param[in] event #DIAG_EVENT_e
360  * @param[in] kpkDiagShim shim to the database entries
361  * @param[in] stringNumber stringNumber where precharge feedback event occurred
362  */
364  DIAG_ID_e diagId,
365  DIAG_EVENT_e event,
366  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
367  uint32_t stringNumber);
368 
369 /**
370  * @brief diagnosis callback function for plausibility check related events
371  * @param[in] diagId ID of diag entry
372  * @param[in] event #DIAG_EVENT_e
373  * @param[in] kpkDiagShim shim to the database entries
374  * @param[in] stringNumber stringNumber where precharge feedback event occurred
375  */
376 extern void DIAG_PlausibilityCheck(
377  DIAG_ID_e diagId,
378  DIAG_EVENT_e event,
379  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
380  uint32_t stringNumber);
381 
382 /**
383  * @brief diagnosis callback function for deep discharge events
384  * @param[in] diagId ID of diag entry
385  * @param[in] event OK, NOK or RESET
386  * @param[in] kpkDiagShim shim to the database entries
387  * @param[in] stringNumber stringNumber where deep discharge event occurred
388  */
389 extern void DIAG_ErrorDeepDischarge(
390  DIAG_ID_e diagId,
391  DIAG_EVENT_e event,
392  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
393  uint32_t stringNumber);
394 
395 /**
396  * @brief diagnosis callback function for current sensor related events
397  * @param[in] diagId ID of diag entry
398  * @param[in] event OK, NOK or RESET
399  * @param[in] kpkDiagShim shim to the database entries
400  * @param[in] stringNumber TODO
401  */
402 extern void DIAG_ErrorPowerMeasurement(
403  DIAG_ID_e diagId,
404  DIAG_EVENT_e event,
405  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
406  uint32_t stringNumber);
407 
408 /**
409  * @brief diagnosis callback function for the insulation measurement
410  * @param[in] diagId ID of diag entry
411  * @param[in] event OK, NOK or RESET
412  * @param[in] kpkDiagShim shim to the database entries
413  * @param[in] stringNumber TODO
414  */
415 extern void DIAG_Insulation(
416  DIAG_ID_e diagId,
417  DIAG_EVENT_e event,
418  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
419  uint32_t stringNumber);
420 
421 /**
422  * @brief diagnosis callback function for I2C port expander related events
423  * @param[in] diagId ID of diag entry
424  * @param[in] event OK, NOK or RESET
425  * @param[in] kpkDiagShim shim to the database entries
426  * @param[in] data not relevant
427  */
428 extern void DIAG_I2c(
429  DIAG_ID_e diagId,
430  DIAG_EVENT_e event,
431  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
432  uint32_t data);
433 
434 /**
435  * @brief diagnosis callback function for FRAM related events
436  * @param[in] diagId ID of diag entry
437  * @param[in] event OK, NOK or RESET
438  * @param[in] kpkDiagShim shim to the database entries
439  * @param[in] data not relevant
440  */
441 extern void DIAG_FramError(
442  DIAG_ID_e diagId,
443  DIAG_EVENT_e event,
444  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
445  uint32_t data);
446 
447 /**
448  * @brief diagnosis callback function for RTC related events
449  * @param[in] diagId ID of diag entry
450  * @param[in] event OK, NOK or RESET
451  * @param[in] kpkDiagShim shim to the database entries
452  * @param[in] data not relevant
453  */
454 extern void DIAG_Rtc(
455  DIAG_ID_e diagId,
456  DIAG_EVENT_e event,
457  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
458  uint32_t data);
459 
460 /**
461  * @brief diagnosis callback function for ALERT flag
462  * @param[in] diagId ID of diag entry
463  * @param[in] event OK, NOK or RESET
464  * @param[in] kpkDiagShim shim to the database entries
465  * @param[in] data not relevant
466  */
467 extern void DIAG_AlertFlag(
468  DIAG_ID_e diagId,
469  DIAG_EVENT_e event,
470  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
471  uint32_t data);
472 
473 /**
474  * @brief diagnosis callback function for precharge abort reasons
475  * @param[in] diagId ID of diag entry
476  * @param[in] event OK, NOK or RESET
477  * @param[in] kpkDiagShim shim to the database entries
478  * @param[in] stringNumber stringNumber where precharging is performed
479  */
480 extern void DIAG_PrechargeProcess(
481  DIAG_ID_e diagId,
482  DIAG_EVENT_e event,
483  const DIAG_DATABASE_SHIM_s *const kpkDiagShim,
484  uint32_t stringNumber);
485 
486 /*========== Externalized Static Functions Prototypes (Unit Test) ===========*/
487 #ifdef UNITY_UNIT_TEST
488 #endif
489 
490 #endif /* FOXBMS__DIAG_CBS_H_ */
void DIAG_ErrorCanTiming(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for CAN related events
Definition: diag_cbs_can.c:73
void DIAG_ErrorCurrentOnOpenString(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overcurrent charge events
void DIAG_ErrorUndervoltage(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for undervoltage events
void DIAG_ErrorOvertemperatureDischarge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overtemperature discharge events
void DIAG_ErrorCurrentMeasurement(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for current measurement related events
void DIAG_ErrorPlausibility(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for plausibility check related events
void DIAG_ErrorAfe(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for AFE related events
Definition: diag_cbs_afe.c:72
void DIAG_PrechargeContactorFeedback(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for precharge contactor feedback related events
void DIAG_ErrorCurrentSensor(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for current sensor related events
void DIAG_AlertFlag(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for ALERT flag
Definition: diag_cbs_bms.c:73
void DIAG_ErrorUndertemperatureCharge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for undertemperature charge events
void DIAG_PrechargeProcess(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for precharge abort reasons
Definition: diag_cbs_bms.c:92
void DIAG_ErrorDeepDischarge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for deep discharge events
void DIAG_ErrorOvertemperatureCharge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overtemperature charge events
void DIAG_ErrorOvervoltage(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overvoltage events
void DIAG_ErrorHighVoltageMeasurement(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for current sensor related events
void DIAG_DummyCallback(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
dummy callback function of diagnosis events
void DIAG_I2c(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for I2C port expander related events
Definition: diag_cbs_i2c.c:71
void DIAG_ErrorSystemMonitoring(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
Callback function for system monitoring related diagnosis events.
void DIAG_StringContactorFeedback(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for string contactor feedback related events
void DIAG_ErrorUndertemperatureDischarge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for undertemperature discharge events
void DIAG_ErrorAfeDriver(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for AFE module related events
Definition: diag_cbs_afe.c:127
void DIAG_ErrorPowerMeasurement(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for current sensor related events
void DIAG_ErrorOvercurrentCharge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overcurrent charge events
void DIAG_FramError(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for FRAM related events
Definition: diag_cbs_fram.c:72
void DIAG_PlausibilityCheck(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for plausibility check related events
void DIAG_Sbc(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for SBC related events
Definition: diag_cbs_sbc.c:72
void DIAG_ErrorInterlock(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
Callback function for interlock related diagnosis events.
void DIAG_ErrorOvercurrentDischarge(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overcurrent discharge events
void DIAG_ErrorCanRxQueueFull(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for CAN related events
Definition: diag_cbs_can.c:90
void DIAG_Insulation(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for the insulation measurement
void DIAG_Rtc(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t data)
diagnosis callback function for RTC related events
Definition: diag_cbs_rtc.c:71
Diagnostic module configuration header.
DIAG_EVENT_e
Definition: diag_cfg.h:264
DIAG_ID_e
Definition: diag_cfg.h:176