54 #ifndef FOXBMS__FTASK_CFG_H_
55 #define FOXBMS__FTASK_CFG_H_
64 #define FTSK_TASK_ENGINE_STACK_SIZE (1024u / 4u)
67 #define FTSK_TASK_ENGINE_PHASE (0u)
70 #define FTSK_TASK_ENGINE_CYCLE_TIME (1u)
73 #define FTSK_TASK_ENGINE_MAXIMUM_JITTER (1u)
76 #define FTSK_TASK_CYCLIC_1MS_STACK_SIZE (1024u / 4u)
79 #define FTSK_TASK_CYCLIC_1MS_PHASE (0u)
82 #define FTSK_TASK_CYCLIC_1MS_CYCLE_TIME (1u)
85 #define FTSK_TASK_CYCLIC_1MS_MAXIMUM_JITTER (1u)
88 #define FTSK_TASK_CYCLIC_10MS_STACK_SIZE ((4096u) / 4u)
91 #define FTSK_TASK_CYCLIC_10MS_PHASE (2u)
94 #define FTSK_TASK_CYCLIC_10MS_CYCLE_TIME (10u)
97 #define FTSK_TASK_CYCLIC_10MS_MAXIMUM_JITTER (2u)
100 #define FTSK_TASK_CYCLIC_100MS_STACK_SIZE (1024u / 4u)
103 #define FTSK_TASK_CYCLIC_100MS_PHASE (56u)
106 #define FTSK_TASK_CYCLIC_100MS_CYCLE_TIME (100u)
109 #define FTSK_TASK_CYCLIC_100MS_MAXIMUM_JITTER (5u)
112 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_STACKSIZE (1024u / 4u)
115 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_PHASE (64u)
118 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_CYCLE_TIME (100u)
121 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_MAXIMUM_JITTER (5u)
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclic100ms
Task configuration of the cyclic 100 ms task.
void FTSK_InitializeUserCodeEngine(void)
Initializes the database.
void FTSK_RunUserCodeEngine(void)
Engine task for the database and the system monitoring module.
OS_TASK_DEFINITION_s ftsk_taskDefinitionEngine
Task configuration of the engine task.
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclic1ms
Task configuration of the cyclic 1 ms task.
void FTSK_RunUserCodeIdle(void)
Idle task.
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclicAlgorithm100ms
Task configuration of the cyclic 100 ms task for algorithms.
void FTSK_RunUserCodeCyclic100ms(void)
Cyclic 100 ms task.
void FTSK_InitializeUserCodePreCyclicTasks(void)
Initialization function before all tasks started.
void FTSK_RunUserCodeCyclic10ms(void)
Cyclic 10 ms task.
void FTSK_RunUserCodeCyclic1ms(void)
Cyclic 1 ms task.
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclic10ms
Task configuration of the cyclic 10 ms task.
void FTSK_RunUserCodeCyclicAlgorithm100ms(void)
Cyclic 100 ms task for algorithms.
General macros and definitions for the whole platform.
Implementation of the tasks used by the system, headers.
struct for FreeRTOS task definition