FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
croutine.h File Reference

Data Structures

struct  CRCB_t
 

Macros

#define crSTART(pxCRCB)
 
#define crEND()
 
#define crSET_STATE0(xHandle)
 
#define crSET_STATE1(xHandle)
 
#define crDELAY(xHandle, xTicksToDelay)
 
#define crQUEUE_SEND(xHandle, pxQueue, pvItemToQueue, xTicksToWait, pxResult)
 
#define crQUEUE_RECEIVE(xHandle, pxQueue, pvBuffer, xTicksToWait, pxResult)
 
#define crQUEUE_SEND_FROM_ISR(pxQueue, pvItemToQueue, xCoRoutinePreviouslyWoken)
 
#define crQUEUE_RECEIVE_FROM_ISR(pxQueue, pvBuffer, pxCoRoutineWoken)
 

Typedefs

typedef void * CoRoutineHandle_t
 
typedef void(* crCOROUTINE_CODE )(CoRoutineHandle_t, UBaseType_t)
 

Functions

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

Macro Definition Documentation

#define crDELAY (   xHandle,
  xTicksToDelay 
)
#define crEND ( )
#define crQUEUE_RECEIVE (   xHandle,
  pxQueue,
  pvBuffer,
  xTicksToWait,
  pxResult 
)
#define crQUEUE_RECEIVE_FROM_ISR (   pxQueue,
  pvBuffer,
  pxCoRoutineWoken 
)
#define crQUEUE_SEND (   xHandle,
  pxQueue,
  pvItemToQueue,
  xTicksToWait,
  pxResult 
)
#define crQUEUE_SEND_FROM_ISR (   pxQueue,
  pvItemToQueue,
  xCoRoutinePreviouslyWoken 
)
#define crSET_STATE0 (   xHandle)
#define crSET_STATE1 (   xHandle)
#define crSTART (   pxCRCB)

Typedef Documentation

typedef void* CoRoutineHandle_t
typedef void(* crCOROUTINE_CODE)(CoRoutineHandle_t, UBaseType_t)

Function Documentation

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