#include <stdlib.h>
#include <string.h>
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "StackMacros.h"
Go to the source code of this file.
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE |
#define portRESET_READY_PRIORITY |
( |
|
uxPriority, |
|
|
|
uxTopReadyPriority |
|
) |
| |
#define prvAddTaskToReadyList |
( |
|
pxTCB | ) |
|
Value: vListInsertEnd( &( pxReadyTasksLists[ ( pxTCB )->uxPriority ] ), &( ( pxTCB )->xGenericListItem ) )
void vListInsertEnd(List_t *const pxList, ListItem_t *const pxNewListItem) PRIVILEGED_FUNCTION
#define traceMOVED_TASK_TO_READY_STATE(pxTCB)
#define taskRECORD_READY_PRIORITY(uxPriority)
Definition at line 389 of file tasks.c.
#define taskEVENT_LIST_ITEM_VALUE_IN_USE 0x80000000UL |
#define taskRECORD_READY_PRIORITY |
( |
|
uxPriority | ) |
|
Value: if( ( uxPriority ) > uxTopReadyPriority ) \
{ \
uxTopReadyPriority = ( uxPriority ); \
} \
}
Definition at line 297 of file tasks.c.
#define taskRESET_READY_PRIORITY |
( |
|
uxPriority | ) |
|
#define taskSELECT_HIGHEST_PRIORITY_TASK |
( |
| ) |
|
Value:{ \
\
--uxTopReadyPriority; \
} \
\
}
#define listGET_OWNER_OF_NEXT_ENTRY(pxTCB, pxList)
PRIVILEGED_DATA TCB_t *volatile pxCurrentTCB
#define listLIST_IS_EMPTY(pxList)
Definition at line 307 of file tasks.c.
#define taskSWITCH_DELAYED_LISTS |
( |
| ) |
|
Value: \
\
pxTemp = pxDelayedTaskList; \
pxDelayedTaskList = pxOverflowDelayedTaskList; \
pxOverflowDelayedTaskList = pxTemp; \
xNumOfOverflows++; \
prvResetNextTaskUnblockTime(); \
}
#define listLIST_IS_EMPTY(pxList)
Definition at line 369 of file tasks.c.
#define taskYIELD_IF_USING_PREEMPTION |
( |
| ) |
|
#define tskBLOCKED_CHAR ( 'B' ) |
#define tskDELETED_CHAR ( 'D' ) |
#define tskREADY_CHAR ( 'R' ) |
#define tskSTACK_FILL_BYTE ( 0xa5U ) |
#define tskSUSPENDED_CHAR ( 'S' ) |
Enumerator |
---|
eNotWaitingNotification |
|
eWaitingNotification |
|
eNotified |
|
Definition at line 122 of file tasks.c.
void vTaskEndScheduler |
( |
void |
| ) |
|
void vTaskMissedYield |
( |
void |
| ) |
|
void vTaskPlaceOnEventList |
( |
List_t *const |
pxEventList, |
|
|
const TickType_t |
xTicksToWait |
|
) |
| |
void vTaskSetTimeOutState |
( |
TimeOut_t *const |
pxTimeOut | ) |
|
void vTaskStartScheduler |
( |
void |
| ) |
|
void vTaskSuspendAll |
( |
void |
| ) |
|
void vTaskSwitchContext |
( |
void |
| ) |
|