56 #ifndef FOXBMS__FRAM_CFG_H_
57 #define FOXBMS__FRAM_CFG_H_
71 #define FRAM_CRC_HEADER_SIZE (sizeof(uint64_t))
86 #define FRAM_PROJECT_ID_FOXBMS_BASELINE ((FRAM_PROJECT_ID)0u)
215 #ifdef UNITY_UNIT_TEST
Configuration of the battery system (e.g., number of battery modules, battery cells,...
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
FRAM_SYS_MON_RECORD_s fram_sys_mon_record
FRAM_INSULATION_FLAG_s fram_insulationFlags
uint16_t FRAM_PROJECT_ID
IDs for projects that use a memory layout.
@ FRAM_BLOCK_ID_DEEP_DISCHARGE_FLAG
@ FRAM_BLOCK_ID_SBC_INIT_STATE
@ FRAM_BLOCK_ID_SYS_MON_RECORD
@ FRAM_BLOCK_ID_INSULATION_FLAG
FRAM_BASE_HEADER_s fram_base_header[FRAM_BLOCK_MAX]
FRAM_DEEP_DISCHARGE_FLAG_s fram_deepDischargeFlags
FRAM_SBC_INIT_s fram_sbcInit
FRAM_VERSION_s fram_version
Definition of foxBMS standard types.
STD_RETURN_TYPE_e finState
struct that stores for each task the last violation of timing
uint32_t taskEngineViolatingDuration
uint32_t taskEngineEnterTimestamp
bool anyTimingIssueOccurred
uint32_t task10msViolatingDuration
uint32_t task100msViolatingDuration
uint32_t task100msEnterTimestamp
uint32_t task1msViolatingDuration
uint32_t task100msAlgorithmEnterTimestamp
uint32_t task10msEnterTimestamp
uint32_t task1msEnterTimestamp
uint32_t task100msAlgorithmViolatingDuration
Stores the version of the memory layout of the FRAM.