foxBMS
1.4.1
The foxBMS Battery Management System API Documentation
|
#include <algorithm_cfg.h>
Data Fields | |
ALGO_STATE_e | state |
uint32_t | cycleTime_ms |
uint32_t | maxCalculationDuration_ms |
uint32_t | startTime |
ALGO_INITIALIZATION_FUNCTION_f * | fpInitialization |
ALGO_COMPUTATION_FUNCTION_f * | fpAlgorithm |
Struct representing the key parameters of an algorithm
Definition at line 92 of file algorithm_cfg.h.
uint32_t ALGO_TASKS_s::cycleTime_ms |
cycle time of algorithm
Definition at line 94 of file algorithm_cfg.h.
ALGO_COMPUTATION_FUNCTION_f* ALGO_TASKS_s::fpAlgorithm |
callback function
Definition at line 99 of file algorithm_cfg.h.
ALGO_INITIALIZATION_FUNCTION_f* ALGO_TASKS_s::fpInitialization |
callback function for init; set to NULL_PTR if not needed; return STD_OK if init successful
Definition at line 97 of file algorithm_cfg.h.
uint32_t ALGO_TASKS_s::maxCalculationDuration_ms |
maximum allowed calculation duration for task
Definition at line 95 of file algorithm_cfg.h.
uint32_t ALGO_TASKS_s::startTime |
start time when executing algorithm
Definition at line 96 of file algorithm_cfg.h.
ALGO_STATE_e ALGO_TASKS_s::state |
current execution state
Definition at line 93 of file algorithm_cfg.h.