foxBMS
1.1.0
The foxBMS Battery Management System API Documentation
|
#include <diag_cfg.h>
Data Fields | |
DIAG_ID_e | id |
uint16_t | threshold |
DIAG_SEVERITY_LEVEL_e | severity |
uint32_t | delay_ms |
DIAG_RECORDING_e | enable_recording |
DIAG_EVALUATE_e | enable_evaluate |
DIAG_CALLBACK_FUNCTION_f * | fpCallback |
Channel configuration of one diag channel
Definition at line 300 of file diag_cfg.h.
uint32_t DIAG_CH_CFG::delay_ms |
delay in ms after error detection if severity is DIAG_FATAL_ERROR until an opening the contactors
Definition at line 309 of file diag_cfg.h.
DIAG_EVALUATE_e DIAG_CH_CFG::enable_evaluate |
if enabled diagnosis event will be evaluated
Definition at line 311 of file diag_cfg.h.
DIAG_RECORDING_e DIAG_CH_CFG::enable_recording |
if enabled recording in diag_memory * will be activated
Definition at line 310 of file diag_cfg.h.
DIAG_CALLBACK_FUNCTION_f* DIAG_CH_CFG::fpCallback |
will be called if number of events exceeds threshold in both directions with parameter DIAG_EVENT_e string id or system related data
Definition at line 312 of file diag_cfg.h.
DIAG_ID_e DIAG_CH_CFG::id |
diagnosis event id diag_id
Definition at line 301 of file diag_cfg.h.
DIAG_SEVERITY_LEVEL_e DIAG_CH_CFG::severity |
severity of diag entry, DIAG_FATAL_ERROR will lead to an opening of the contactors
Definition at line 307 of file diag_cfg.h.
uint16_t DIAG_CH_CFG::threshold |
threshold for number of events which will be tolerated before generating a notification in both directions: threshold = 0: reports the value at first occurrence, threshold = 1: reports the value at second occurrence
Definition at line 302 of file diag_cfg.h.