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