foxBMS - Unit Tests  1.5.0
The foxBMS Unit Tests API Documentation
ALGO_TASKS_s Struct Reference

#include <algorithm_cfg.h>

Data Fields

ALGO_STATE_e state
 
uint32_t cycleTime_ms
 
uint32_t maxCalculationDuration_ms
 
uint32_t startTime
 
ALGO_INITIALIZATION_FUNCTION_ffpInitialization
 
ALGO_COMPUTATION_FUNCTION_ffpAlgorithm
 

Detailed Description

Struct representing the key parameters of an algorithm

Definition at line 94 of file algorithm_cfg.h.

Field Documentation

◆ cycleTime_ms

uint32_t ALGO_TASKS_s::cycleTime_ms

cycle time of algorithm

Definition at line 96 of file algorithm_cfg.h.

◆ fpAlgorithm

ALGO_COMPUTATION_FUNCTION_f* ALGO_TASKS_s::fpAlgorithm

callback function

Definition at line 101 of file algorithm_cfg.h.

◆ fpInitialization

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 99 of file algorithm_cfg.h.

◆ maxCalculationDuration_ms

uint32_t ALGO_TASKS_s::maxCalculationDuration_ms

maximum allowed calculation duration for task

Definition at line 97 of file algorithm_cfg.h.

◆ startTime

uint32_t ALGO_TASKS_s::startTime

start time when executing algorithm

Definition at line 98 of file algorithm_cfg.h.

◆ state

ALGO_STATE_e ALGO_TASKS_s::state

current execution state

Definition at line 95 of file algorithm_cfg.h.


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