|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
Go to the documentation of this file.
117 if (
true == initializationRequested) {
124 static uint32_t counter_ticks = 0u;
128 const bool runAlgorithmCycleElapsed =
130 if ((runAlgorithmAsap !=
false) || (runAlgorithmCycleElapsed !=
false)) {
160 #ifdef UNITY_UNIT_TEST
Implementation of the tasks used by the system, headers.
static bool algo_initializationRequested
Headers for the driver for the storage in the EEPROM memory.
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
ALGO_TASKS_s algo_algorithms[]
void TEST_ALGO_ResetInitializationRequest()
void ALGO_MonitorExecutionTime(void)
monitors the calculation duration of the different algorithms
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
void OS_ExitTaskCritical(void)
Exit Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
uint32_t OS_GetTickCount(void)
Returns OS based system tick value.
void ALGO_MarkAsDone(uint32_t algorithmIndex)
Mark the current algorithm as done (will reset to ALGO_READY if possible)
void OS_EnterTaskCritical(void)
Enter Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
ALGO_COMPUTATION_FUNCTION_f * fpAlgorithm
ALGO_INITIALIZATION_FUNCTION_f * fpInitialization
#define NULL_PTR
Null pointer.
void ALGO_MainFunction(void)
handles the call of different algorithm functions when cycle time has expired
void ALGO_UnlockInitialization(void)
Calling this function sets a signal that lets ALGO_Initialization() know that the initialization has ...
const uint16_t algo_length
static void ALGO_Initialization(void)
initializes local variables and module internals needed to use the algorithm module