25 #define QTASK_EVENT_FLAGS_MASK ( (qTask_Flag_t)0xFFFFF000UL )
26 #define QTASK_QUEUE_FLAGS_MASK ( 0x0000003CUL )
28 #define QTASK_BIT_INIT ( 0x00000001UL )
29 #define QTASK_BIT_ENABLED ( 0x00000002UL )
30 #define QTASK_BIT_QUEUE_RECEIVER ( 0x00000004UL )
31 #define QTASK_BIT_QUEUE_FULL ( 0x00000008UL )
32 #define QTASK_BIT_QUEUE_COUNT ( 0x00000010UL )
33 #define QTASK_BIT_QUEUE_EMPTY ( 0x00000020UL )
34 #define QTASK_BIT_SHUTDOWN ( 0x00000040UL )
35 #define QTASK_BIT_REMOVE_REQUEST ( 0x00000080UL )
38 #if ( Q_PRIO_QUEUE_SIZE > 0 )
41 extern qBool_t qOS_PriorityQueue_IsTaskInside(
const qTask_t *
const Task );
42 extern size_t qOS_PriorityQueue_GetCount(
void );
43 extern void qOS_PriorityQueue_Init(
void );
47 extern qTask_t* qOS_Get_TaskRunning(
void );
51 extern void qOS_Set_TaskFlags(
qTask_t *
const Task,
55 #if ( Q_ALLOW_TASK_NAMING == 1 )
56 extern qTask_t* qOS_FindTaskByName(
const char *name );
qTask_GlobalState_t
An enum to describe the task global states.
Definition qtasks.h:116
qUINT8_t qBool_t
A type to instantiate an OS boolean variable.
Definition qtypes.h:139
uint32_t qUINT32_t
Unsigned integer type with width of exactly 32 bits respectively.
Definition qtypes.h:48
A task node object.
Definition qtasks.h:268