foxBMS  1.0.0
The foxBMS Battery Management System API Documentation
DIAG_CH_CFG Struct Reference

#include <diag_cfg.h>

Data Fields

DIAG_ID_e id
 
uint8_t description [DIAG_DESCRIPTION_LENGTH]
 
uint16_t threshold
 
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 260 of file diag_cfg.h.

Field Documentation

◆ description

uint8_t DIAG_CH_CFG::description[DIAG_DESCRIPTION_LENGTH]

description of the id

Definition at line 262 of file diag_cfg.h.

◆ enable_evaluate

DIAG_EVALUATE_e DIAG_CH_CFG::enable_evaluate

if enabled diagnosis event will be evaluated

Definition at line 268 of file diag_cfg.h.

◆ enable_recording

DIAG_RECORDING_e DIAG_CH_CFG::enable_recording

if enabled recording in diag_memory * will be activated

Definition at line 267 of file diag_cfg.h.

◆ fpCallback

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 269 of file diag_cfg.h.

◆ id

DIAG_ID_e DIAG_CH_CFG::id

diagnosis event id diag_id

Definition at line 261 of file diag_cfg.h.

◆ threshold

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 263 of file diag_cfg.h.


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