foxBMS  1.4.1
The foxBMS Battery Management System API Documentation
sys_mon_cfg.h File Reference

configuration of the system monitoring module More...

#include "general.h"
#include "diag_cfg.h"
Include dependency graph for sys_mon_cfg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SYSM_MONITORING_CFG_s
 

Enumerations

enum  SYSM_HANDLING_TYPE_e { SYSM_HANDLING_DO_NOTHING , SYSM_HANDLING_SWITCH_OFF_CONTACTOR }
 
enum  SYSM_TASK_ID_e {
  SYSM_TASK_ID_ENGINE , SYSM_TASK_ID_CYCLIC_1ms , SYSM_TASK_ID_CYCLIC_10ms , SYSM_TASK_ID_CYCLIC_100ms ,
  SYSM_TASK_ID_CYCLIC_ALGORITHM_100ms , SYSM_TASK_ID_MAX
}
 
enum  SYSM_RECORDING_e { SYSM_RECORDING_ENABLED , SYSM_RECORDING_DISABLED }
 
enum  SYSM_ACTIVATE_e { SYSM_ENABLED , SYSM_DISABLED }
 

Variables

SYSM_MONITORING_CFG_s sysm_ch_cfg []
 

Detailed Description

configuration of the system monitoring module

SPDX-License-Identifier: BSD-3-Clause

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

We kindly request you to use one or more of the following phrases to refer to foxBMS in your hardware, software, documentation or advertising materials:

  • ″This product uses parts of foxBMS®″
  • ″This product includes parts of foxBMS®″
  • ″This product is derived from foxBMS®″
Author
foxBMS Team
Date
2019-11-28 (date of creation)
Updated
2022-10-27 (date of last update)
Version
v1.4.1
Prefix
SYSM

Definition in file sys_mon_cfg.h.

Enumeration Type Documentation

◆ SYSM_ACTIVATE_e

enable diagnosis entry for system monitoring

Enumerator
SYSM_ENABLED 

entry enabled

SYSM_DISABLED 

entry disabled

Definition at line 89 of file sys_mon_cfg.h.

◆ SYSM_HANDLING_TYPE_e

diagnosis handling type for system monitoring

Enumerator
SYSM_HANDLING_DO_NOTHING 

take no action

SYSM_HANDLING_SWITCH_OFF_CONTACTOR 

open contactors

Definition at line 64 of file sys_mon_cfg.h.

◆ SYSM_RECORDING_e

recording activation

Enumerator
SYSM_RECORDING_ENABLED 

enable event recording

SYSM_RECORDING_DISABLED 

disable event recording

Definition at line 83 of file sys_mon_cfg.h.

◆ SYSM_TASK_ID_e

listing of system-relevant tasks or functions which are checked by the system monitoring

Enumerator
SYSM_TASK_ID_ENGINE 

diag entry for engine task

SYSM_TASK_ID_CYCLIC_1ms 

diag entry for engine cyclic 1ms task

SYSM_TASK_ID_CYCLIC_10ms 

diag entry for engine cyclic 10ms task

SYSM_TASK_ID_CYCLIC_100ms 

diag entry for engine cyclic 100ms task

SYSM_TASK_ID_CYCLIC_ALGORITHM_100ms 

diag entry for algorithm cyclic 100ms task

SYSM_TASK_ID_MAX 

end marker do not delete

Definition at line 73 of file sys_mon_cfg.h.

Variable Documentation

◆ sysm_ch_cfg

SYSM_MONITORING_CFG_s sysm_ch_cfg[]
extern

diag system monitoring struct

Definition at line 70 of file sys_mon_cfg.c.