foxBMS-UnitTests  1.0.0
The foxBMS Unit Tests API Documentation
ALGO_TASKS 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 90 of file algorithm_cfg.h.

Field Documentation

◆ cycleTime_ms

uint32_t ALGO_TASKS::cycleTime_ms

cycle time of algorithm

Definition at line 92 of file algorithm_cfg.h.

◆ fpAlgorithm

ALGO_COMPUTATION_FUNCTION_f* ALGO_TASKS::fpAlgorithm

callback function

Definition at line 97 of file algorithm_cfg.h.

◆ fpInitialization

ALGO_INITIALIZATION_FUNCTION_f* ALGO_TASKS::fpInitialization

callback function for init; set to NULL_PTR if not needed; return STD_OK if init successful

Definition at line 95 of file algorithm_cfg.h.

◆ maxCalculationDuration_ms

uint32_t ALGO_TASKS::maxCalculationDuration_ms

maximum allowed calculation duration for task

Definition at line 93 of file algorithm_cfg.h.

◆ startTime

uint32_t ALGO_TASKS::startTime

start time when executing algorithm

Definition at line 94 of file algorithm_cfg.h.

◆ state

ALGO_STATE_e ALGO_TASKS::state

current execution state

Definition at line 91 of file algorithm_cfg.h.


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