foxBMS - Unit Tests  1.4.0
The foxBMS Unit Tests API Documentation
DIAG_ID_CFG_s Struct Reference

#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_ffpCallback
 

Detailed Description

Channel configuration of one diag channel

Definition at line 304 of file diag_cfg.h.

Field Documentation

◆ delay_ms

uint32_t DIAG_ID_CFG_s::delay_ms

delay in ms after error detection if severity is DIAG_FATAL_ERROR until an opening the contactors

Definition at line 313 of file diag_cfg.h.

◆ enable_evaluate

DIAG_EVALUATE_e DIAG_ID_CFG_s::enable_evaluate

if enabled diagnosis event will be evaluated

Definition at line 315 of file diag_cfg.h.

◆ enable_recording

DIAG_RECORDING_e DIAG_ID_CFG_s::enable_recording

if enabled recording in diag_memory * will be activated

Definition at line 314 of file diag_cfg.h.

◆ fpCallback

DIAG_CALLBACK_FUNCTION_f* DIAG_ID_CFG_s::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 316 of file diag_cfg.h.

◆ id

DIAG_ID_e DIAG_ID_CFG_s::id

diagnosis event id diag_id

Definition at line 305 of file diag_cfg.h.

◆ severity

DIAG_SEVERITY_LEVEL_e DIAG_ID_CFG_s::severity

severity of diag entry, DIAG_FATAL_ERROR will lead to an opening of the contactors

Definition at line 311 of file diag_cfg.h.

◆ threshold

uint16_t DIAG_ID_CFG_s::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 306 of file diag_cfg.h.


The documentation for this struct was generated from the following file: