61 #include "event_groups.h"
68 #define OS_NUM_OF_MUTEXES 0
70 #define OS_NUM_OF_EVENTS 0
161 StaticTask_t **ppxIdleTaskTCBBuffer,
162 StackType_t **ppxIdleTaskStackBuffer,
163 uint32_t *pulIdleTaskStackSize);
165 #if (configUSE_TIMERS > 0) && (configSUPPORT_STATIC_ALLOCATION == 1)
176 extern void vApplicationGetTimerTaskMemory(
177 StaticTask_t **ppxTimerTaskTCBBuffer,
178 StackType_t **ppxTimerTaskStackBuffer,
179 uint32_t *pulTimerTaskStackSize);
250 extern void OS_DelayTaskUntil(uint32_t *pPreviousWakeTime, uint32_t milliseconds);
General macros and definitions for the whole platform.
enum OS_PRIORITY OS_PRIORITY_e
typedef for thread priority. The higher the value, the higher the priority.
struct OS_TASK_DEFINITION OS_TASK_DEFINITION_s
struct for FreeRTOS task definition
void vApplicationGetIdleTaskMemory(StaticTask_t **ppxIdleTaskTCBBuffer, StackType_t **ppxIdleTaskStackBuffer, uint32_t *pulIdleTaskStackSize)
Supplies the memory for the idle task.
EventGroupHandle_t os_events[]
void OS_StartScheduler(void)
Starts the operating system scheduler.
void OS_SystemTickHandler(void)
Handles the tick increment of operating systick timer.
SemaphoreHandle_t os_mutexes[]
void OS_DelayTaskUntil(uint32_t *pPreviousWakeTime, uint32_t milliseconds)
Delay a task until a specified time.
uint32_t os_schedulerStartTime
Scheduler "zero" time for task phase control.
void vApplicationStackOverflowHook(TaskHandle_t xTask, char *pcTaskName)
Hook function for StackOverflowHandling.
void OS_ExitTaskCritical(void)
Exit Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
void OS_InitializeOperatingSystem(void)
Initialization the RTOS interface.
struct OS_TIMER OS_TIMER_s
OS timer.
void vApplicationIdleHook(void)
Hook function for the idle task.
volatile OS_TIMER_s os_timer
void OS_TriggerTimer(volatile OS_TIMER_s *timer)
Increments the system timer os_timer.
void OS_EnterTaskCritical(void)
Enter Critical interface function for use in FreeRTOS-Tasks and FreeRTOS-ISR.
enum OS_BOOT_STATE OS_BOOT_STATE_e
enum of OS boot states
void OS_DelayTask(uint32_t delay_ms)
Delays a task in milliseconds.
OS_BOOT_STATE
enum of OS boot states
@ OS_PRECYCLIC_INIT_HAS_FINISHED
@ OS_INIT_OS_FATALERROR_SCHEDULER
uint32_t OS_GetTickCount(void)
Returns OS based system tick value.
volatile OS_BOOT_STATE_e os_boot
OS_PRIORITY
typedef for thread priority. The higher the value, the higher the priority.
@ OS_PRIORITY_BELOW_REALTIME
@ OS_PRIORITY_BELOW_NORMAL
@ OS_PRIORITY_ABOVE_NORMAL
struct for FreeRTOS task definition