foxBMS  1.2.1
The foxBMS Battery Management System API Documentation
OS_TASK_DEFINITION Struct Reference

struct for FreeRTOS task definition More...

#include <os.h>

Data Fields

OS_PRIORITY_e priority
 
uint32_t phase
 
uint32_t cycleTime
 
uint16_t stackSize
 
void * pvParameters
 

Detailed Description

struct for FreeRTOS task definition

Definition at line 125 of file os.h.

Field Documentation

◆ cycleTime

uint32_t OS_TASK_DEFINITION::cycleTime

time in ms that will be waited between each task cycle

Definition at line 128 of file os.h.

◆ phase

uint32_t OS_TASK_DEFINITION::phase

shift in ms of the first start of the task

Definition at line 127 of file os.h.

◆ priority

OS_PRIORITY_e OS_TASK_DEFINITION::priority

priority of the task

Definition at line 126 of file os.h.

◆ pvParameters

void* OS_TASK_DEFINITION::pvParameters

value that is passed as the parameter to the task.

Definition at line 130 of file os.h.

◆ stackSize

uint16_t OS_TASK_DEFINITION::stackSize

Defines the size, in words, of the stack allocated to the task

Definition at line 129 of file os.h.


The documentation for this struct was generated from the following file: