SAM4S-EK_FreeRTOS+FAT-SL  1.0
An example project to test the functionality of FreeRTOS+FAT-SL using SD card as data storage medium
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
croutine.c File Reference
#include "FreeRTOS.h"
#include "task.h"
#include "croutine.h"

Go to the source code of this file.

Macros

#define corINITIAL_STATE   ( 0 )
 
#define prvAddCoRoutineToReadyQueue(pxCRCB)
 

Functions

BaseType_t xCoRoutineCreate (crCOROUTINE_CODE pxCoRoutineCode, UBaseType_t uxPriority, UBaseType_t uxIndex)
 
void vCoRoutineAddToDelayedList (TickType_t xTicksToDelay, List_t *pxEventList)
 
void vCoRoutineSchedule (void)
 
BaseType_t xCoRoutineRemoveFromEventList (const List_t *pxEventList)
 

Variables

CRCB_tpxCurrentCoRoutine = NULL
 

Macro Definition Documentation

#define corINITIAL_STATE   ( 0 )

Definition at line 93 of file croutine.c.

#define prvAddCoRoutineToReadyQueue (   pxCRCB)
Value:
{ \
if( pxCRCB->uxPriority > uxTopCoRoutineReadyPriority ) \
{ \
uxTopCoRoutineReadyPriority = pxCRCB->uxPriority; \
} \
vListInsertEnd( ( List_t * ) &( pxReadyCoRoutineLists[ pxCRCB->uxPriority ] ), &( pxCRCB->xGenericListItem ) ); \
}
void vListInsertEnd(List_t *const pxList, ListItem_t *const pxNewListItem)
Definition: list.c:102
Definition: list.h:157

Definition at line 102 of file croutine.c.

Function Documentation

void vCoRoutineAddToDelayedList ( TickType_t  xTicksToDelay,
List_t pxEventList 
)

Definition at line 194 of file croutine.c.

void vCoRoutineSchedule ( void  )

Definition at line 313 of file croutine.c.

BaseType_t xCoRoutineCreate ( crCOROUTINE_CODE  pxCoRoutineCode,
UBaseType_t  uxPriority,
UBaseType_t  uxIndex 
)

Definition at line 137 of file croutine.c.

BaseType_t xCoRoutineRemoveFromEventList ( const List_t pxEventList)

Definition at line 363 of file croutine.c.

Variable Documentation

CRCB_t* pxCurrentCoRoutine = NULL

Definition at line 88 of file croutine.c.