92 static StaticQueue_t ftsk_databaseQueueStructure = {0};
99 ftsk_databaseQueueStorageArea,
100 &ftsk_databaseQueueStructure);
141 static StaticTask_t ftsk_taskEngine = {0};
144 const TaskHandle_t ftsk_taskHandleEngine = xTaskCreateStatic(
146 (
const portCHAR *)
"TaskEngine",
150 ftsk_stackSizeEngine,
155 static StaticTask_t ftsk_taskCyclic1ms = {0};
158 const TaskHandle_t ftsk_taskHandleCyclic1ms = xTaskCreateStatic(
160 (
const portCHAR *)
"TaskCyclic1ms",
164 ftsk_stackSizeCyclic1ms,
165 &ftsk_taskCyclic1ms);
169 static StaticTask_t ftsk_taskCyclic10ms = {0};
172 const TaskHandle_t ftsk_taskHandleCyclic10ms = xTaskCreateStatic(
174 (
const portCHAR *)
"TaskCyclic10ms",
178 ftsk_stackSizeCyclic10ms,
179 &ftsk_taskCyclic10ms);
183 static StaticTask_t ftsk_taskCyclic100ms = {0};
186 const TaskHandle_t ftsk_taskHandleCyclic100ms = xTaskCreateStatic(
188 (
const portCHAR *)
"TaskCyclic100ms",
192 ftsk_stackSizeCyclic100ms,
193 &ftsk_taskCyclic100ms);
197 static StaticTask_t ftsk_taskCyclicAlgorithm100ms = {0};
200 const TaskHandle_t ftsk_taskHandleCyclicAlgorithm100ms = xTaskCreateStatic(
202 (
const portCHAR *)
"TaskCyclicAlgorithm100ms",
206 ftsk_stackSizeCyclicAlgorithm100ms,
207 &ftsk_taskCyclicAlgorithm100ms);
Headers for the configuration for the CAN module.
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define NULL
NULL definition.
#define NULL_PTR
Null pointer.
void FTSK_CreateTaskEngine(void *const pvParameters)
Database-Task.
void FTSK_CreateTaskCyclicAlgorithm100ms(void *const pvParameters)
Creation of cyclic 100 ms algorithm task.
void FTSK_CreateTaskCyclic100ms(void *const pvParameters)
Creation of cyclic 100 ms task.
void FTSK_CreateTaskCyclic10ms(void *const pvParameters)
Creation of cyclic 10 ms task.
void FTSK_CreateTaskCyclic1ms(void *const pvParameters)
Creation of cyclic 1 ms task.
Header of task driver implementation.
#define FTSK_DATABASE_QUEUE_LENGTH
#define FTSK_CAN_RX_QUEUE_LENGTH
#define FTSK_IMD_QUEUE_ITEM_SIZE
#define FTSK_CAN_RX_QUEUE_ITEM_SIZE
#define FTSK_DATABASE_QUEUE_ITEM_SIZE
#define FTSK_IMD_QUEUE_LENGTH
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclic100ms
Task configuration of the cyclic 100 ms task.
OS_TASK_DEFINITION_s ftsk_taskDefinitionEngine
Definition of the engine task.
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclic1ms
Task configuration of the cyclic 1 ms task.
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclicAlgorithm100ms
Task configuration of the cyclic 100 ms task for algorithms.
OS_TASK_DEFINITION_s ftsk_taskDefinitionCyclic10ms
Task configuration of the cyclic 10 ms task.
#define FTSK_TASK_ENGINE_STACK_SIZE
Stack size of engine task.
#define FTSK_TASK_CYCLIC_100MS_STACK_SIZE
Stack size of cyclic 100 ms task.
#define FTSK_TASK_CYCLIC_1MS_STACK_SIZE
Stack size of cyclic 1 ms task.
#define FTSK_TASK_CYCLIC_ALGORITHM_100MS_STACKSIZE
Stack size of cyclic 100 ms task for algorithms.
#define FTSK_TASK_CYCLIC_10MS_STACK_SIZE
Stack size of cyclic 10 ms task.
volatile bool ftsk_allQueuesCreated
QueueHandle_t ftsk_databaseQueue
void FTSK_CreateTasks(void)
Creates all tasks of the group.
QueueHandle_t ftsk_canRxQueue
void FTSK_CreateQueues(void)
Creates all queues.
QueueHandle_t ftsk_imdCanDataQueue
void OS_ExitTaskCritical(void)
Exit Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
void OS_EnterTaskCritical(void)
Enter Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
static uint8_t ftsk_imdQueueStorageArea[FTSK_IMD_QUEUE_LENGTH *FTSK_IMD_QUEUE_ITEM_SIZE]
static StaticQueue_t ftsk_canRxQueueStructure
static StaticQueue_t ftsk_imdQueueStructure
static uint8_t ftsk_canRxQueueStorageArea[FTSK_CAN_RX_QUEUE_LENGTH *FTSK_CAN_RX_QUEUE_ITEM_SIZE]