#include "FreeRTOS.h"
#include "task.h"
#include "croutine.h"
#define corINITIAL_STATE ( 0 ) |
#define prvAddCoRoutineToReadyQueue |
( |
|
pxCRCB | ) |
|
Value:
}
void vListInsertEnd(xList *const pxList, xListItem *const pxNewListItem)
Definition: freertos-7.5.2/Source/list.c:101
static xList pxReadyCoRoutineLists[configMAX_CO_ROUTINE_PRIORITIES]
Definition: freertos-7.5.2/Source/croutine.c:79
if(memp!=NULL)
Definition: memp.c:407
static unsigned portBASE_TYPE uxTopCoRoutineReadyPriority
Definition: freertos-7.5.2/Source/croutine.c:88
Definition: freertos-7.5.2/Source/include/list.h:156
Referenced by prvCheckDelayedList(), prvCheckPendingReadyList(), and xCoRoutineCreate().
static void prvCheckDelayedList |
( |
void |
| ) |
|
|
static |
References listGET_LIST_ITEM_VALUE, listGET_OWNER_OF_HEAD_ENTRY, listLIST_IS_EMPTY, pdFALSE, prvAddCoRoutineToReadyQueue, xLIST_ITEM::pvContainer, pxDelayedCoRoutineList, pxOverflowDelayedCoRoutineList, uxListRemove(), xCoRoutineTickCount, corCoRoutineControlBlock::xEventListItem, corCoRoutineControlBlock::xGenericListItem, xLastTickCount, xPassedTicks, and xTaskGetTickCount().
Referenced by vCoRoutineSchedule().
static void prvCheckPendingReadyList |
( |
void |
| ) |
|
|
static |
static void prvInitialiseCoRoutineLists |
( |
void |
| ) |
|
|
static |
void vCoRoutineSchedule |
( |
void |
| ) |
|
signed portBASE_TYPE xCoRoutineCreate |
( |
crCOROUTINE_CODE |
pxCoRoutineCode, |
|
|
unsigned portBASE_TYPE |
uxPriority, |
|
|
unsigned portBASE_TYPE |
uxIndex |
|
) |
| |
signed portBASE_TYPE xCoRoutineRemoveFromEventList |
( |
const xList * |
pxEventList | ) |
|
xList* pxDelayedCoRoutineList |
|
static |
xList* pxOverflowDelayedCoRoutineList |
|
static |
xList pxReadyCoRoutineLists[configMAX_CO_ROUTINE_PRIORITIES] |
|
static |
unsigned portBASE_TYPE uxTopCoRoutineReadyPriority = 0 |
|
static |
xList xDelayedCoRoutineList1 |
|
static |
xList xDelayedCoRoutineList2 |
|
static |
xList xPendingReadyCoRoutineList |
|
static |