AutosarOS
|
Data structure for task. More...
#include <TaskTypes.h>
Data Fields | |
uint8_t *const | stack |
Pointer to stack base. More... | |
const uint16_t | stackSize |
Size of stack in bytes. More... | |
const uint8_t | prio |
Static priority of the task. More... | |
const uint8_t | numberOfActivations |
Number of simultaneous activations. More... | |
const OsTaskAutostart | autostart |
Whether or not to start the task during startup. More... | |
const OsTaskType | taskType |
Type of task. More... | |
const OsTaskSchedule | taskSchedule |
Scheduling-type of task. More... | |
const pTaskFxn | taskFxn |
Pointer to task function. More... | |
volatile struct internalResource_s *const | internalResource |
Pointer to internal resource. More... | |
const EventMaskType | events |
Mask of assigned task events. More... | |
uint8_t * | context |
Current context/stack pointer. More... | |
uint8_t | curPrio |
Current priority. More... | |
uint8_t | curNumberOfActivations |
Current number of activations. More... | |
TaskStateType | curState |
Current state of the task. More... | |
struct resource_s * | resourceQueue |
Current queue of allocated resources. More... | |
EventMaskType | waitEvents |
Mask of events the task is currently waiting on. More... | |
EventMaskType | pendingEvents |
Mask of currently pending events. More... | |
Data structure for task.
Definition at line 83 of file TaskTypes.h.
const OsTaskAutostart autostart |
Whether or not to start the task during startup.
Definition at line 88 of file TaskTypes.h.
uint8_t* context |
Current context/stack pointer.
Definition at line 94 of file TaskTypes.h.
uint8_t curNumberOfActivations |
Current number of activations.
Definition at line 96 of file TaskTypes.h.
uint8_t curPrio |
Current priority.
Definition at line 95 of file TaskTypes.h.
TaskStateType curState |
Current state of the task.
Definition at line 97 of file TaskTypes.h.
const EventMaskType events |
Mask of assigned task events.
Definition at line 93 of file TaskTypes.h.
volatile struct internalResource_s* const internalResource |
Pointer to internal resource.
Definition at line 92 of file TaskTypes.h.
const uint8_t numberOfActivations |
Number of simultaneous activations.
Definition at line 87 of file TaskTypes.h.
EventMaskType pendingEvents |
Mask of currently pending events.
Definition at line 106 of file TaskTypes.h.
const uint8_t prio |
Static priority of the task.
Definition at line 86 of file TaskTypes.h.
struct resource_s* resourceQueue |
Current queue of allocated resources.
Definition at line 104 of file TaskTypes.h.
uint8_t* const stack |
Pointer to stack base.
Definition at line 84 of file TaskTypes.h.
const uint16_t stackSize |
Size of stack in bytes.
Definition at line 85 of file TaskTypes.h.
const pTaskFxn taskFxn |
Pointer to task function.
Definition at line 91 of file TaskTypes.h.
const OsTaskSchedule taskSchedule |
Scheduling-type of task.
Definition at line 90 of file TaskTypes.h.
const OsTaskType taskType |
Type of task.
Definition at line 89 of file TaskTypes.h.
EventMaskType waitEvents |
Mask of events the task is currently waiting on.
Definition at line 105 of file TaskTypes.h.