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_ENGINE_PV_PARAMETERS (NULL_PTR)
79 #define FTSK_TASK_CYCLIC_1MS_STACK_SIZE (1024u / 4u)
82 #define FTSK_TASK_CYCLIC_1MS_PHASE (0u)
85 #define FTSK_TASK_CYCLIC_1MS_CYCLE_TIME (1u)
88 #define FTSK_TASK_CYCLIC_1MS_MAXIMUM_JITTER (1u)
91 #define FTSK_TASK_CYCLIC_1MS_PV_PARAMETERS (NULL_PTR)
94 #define FTSK_TASK_CYCLIC_10MS_STACK_SIZE ((5120u) / 4u)
97 #define FTSK_TASK_CYCLIC_10MS_PHASE (2u)
100 #define FTSK_TASK_CYCLIC_10MS_CYCLE_TIME (10u)
103 #define FTSK_TASK_CYCLIC_10MS_MAXIMUM_JITTER (2u)
106 #define FTSK_TASK_CYCLIC_10MS_PV_PARAMETERS (NULL_PTR)
109 #define FTSK_TASK_CYCLIC_100MS_STACK_SIZE (1024u / 4u)
112 #define FTSK_TASK_CYCLIC_100MS_PHASE (56u)
115 #define FTSK_TASK_CYCLIC_100MS_CYCLE_TIME (100u)
118 #define FTSK_TASK_CYCLIC_100MS_MAXIMUM_JITTER (5u)
121 #define FTSK_TASK_CYCLIC_100MS_PV_PARAMETERS (NULL_PTR)
124 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_STACKSIZE (1024u / 4u)
127 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_PHASE (64u)
130 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_CYCLE_TIME (100u)
133 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_MAXIMUM_JITTER (5u)
136 #define FTSK_TASK_CYCLIC_ALGORITHM_100MS_PV_PARAMETERS (NULL_PTR)
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.
Declaration of the OS wrapper interface.
struct for FreeRTOS task definition