Go to the source code of this file.
 | 
| #define  | crDELAY(xHandle,  xTicksToDelay) | 
|   | 
| #define  | crEND()   } | 
|   | 
| #define  | crQUEUE_RECEIVE(xHandle,  pxQueue,  pvBuffer,  xTicksToWait,  pxResult) | 
|   | 
| #define  | crQUEUE_RECEIVE_FROM_ISR(pxQueue,  pvBuffer,  pxCoRoutineWoken)   xQueueCRReceiveFromISR( ( pxQueue ), ( pvBuffer ), ( pxCoRoutineWoken ) ) | 
|   | 
| #define  | crQUEUE_SEND(xHandle,  pxQueue,  pvItemToQueue,  xTicksToWait,  pxResult) | 
|   | 
| #define  | crQUEUE_SEND_FROM_ISR(pxQueue,  pvItemToQueue,  xCoRoutinePreviouslyWoken)   xQueueCRSendFromISR( ( pxQueue ), ( pvItemToQueue ), ( xCoRoutinePreviouslyWoken ) ) | 
|   | 
| #define  | crSET_STATE0(xHandle)   ( ( CRCB_t * )( xHandle ) )->uxState = (__LINE__ * 2); return; case (__LINE__ * 2): | 
|   | 
| #define  | crSET_STATE1(xHandle)   ( ( CRCB_t * )( xHandle ) )->uxState = ((__LINE__ * 2)+1); return; case ((__LINE__ * 2)+1): | 
|   | 
| #define  | crSTART(pxCRCB)   switch( ( ( CRCB_t * )( pxCRCB ) )->uxState ) { case 0: | 
|   | 
◆ crDELAY
      
        
          | #define crDELAY | 
          ( | 
            | 
          xHandle,  | 
        
        
           | 
           | 
            | 
          xTicksToDelay  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:if( ( xTicksToDelay ) > 0 )                                                                                                                     \
        {                                                                                                                                                                       \
                vCoRoutineAddToDelayedList( ( xTicksToDelay ), 
NULL );                                                  \
        }                                                                                                                                                                       \
        crSET_STATE0( ( xHandle ) );
 
Definition at line 291 of file croutine.h.
 
 
◆ crEND
◆ crQUEUE_RECEIVE
      
        
          | #define crQUEUE_RECEIVE | 
          ( | 
            | 
          xHandle,  | 
        
        
           | 
           | 
            | 
          pxQueue,  | 
        
        
           | 
           | 
            | 
          pvBuffer,  | 
        
        
           | 
           | 
            | 
          xTicksToWait,  | 
        
        
           | 
           | 
            | 
          pxResult  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{                                                                                                                                                                               \
        *( pxResult ) = 
xQueueCRReceive( ( pxQueue) , ( pvBuffer ), ( xTicksToWait ) );         \
        {                                                                                                                                                                       \
                crSET_STATE0( ( xHandle ) );                                                                                                    \
        }                                                                                                                                                                       \
        {                                                                                                                                                                       \
                crSET_STATE1( ( xHandle ) );                                                                                                    \
        }                                                                                                                                                                       \
}
BaseType_t xQueueCRReceive(QueueHandle_t xQueue, void *pvBuffer, TickType_t xTicksToWait)
 
 
Definition at line 473 of file croutine.h.
 
 
◆ crQUEUE_RECEIVE_FROM_ISR
      
        
          | #define crQUEUE_RECEIVE_FROM_ISR | 
          ( | 
            | 
          pxQueue,  | 
        
        
           | 
           | 
            | 
          pvBuffer,  | 
        
        
           | 
           | 
            | 
          pxCoRoutineWoken  | 
        
        
           | 
          ) | 
           |    xQueueCRReceiveFromISR( ( pxQueue ), ( pvBuffer ), ( pxCoRoutineWoken ) ) | 
        
      
 
 
◆ crQUEUE_SEND
      
        
          | #define crQUEUE_SEND | 
          ( | 
            | 
          xHandle,  | 
        
        
           | 
           | 
            | 
          pxQueue,  | 
        
        
           | 
           | 
            | 
          pvItemToQueue,  | 
        
        
           | 
           | 
            | 
          xTicksToWait,  | 
        
        
           | 
           | 
            | 
          pxResult  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:{                                                                                                                                                                               \
        *( pxResult ) = 
xQueueCRSend( ( pxQueue) , ( pvItemToQueue) , ( xTicksToWait ) );       \
        {                                                                                                                                                                       \
                crSET_STATE0( ( xHandle ) );                                                                                                    \
                *pxResult = 
xQueueCRSend( ( pxQueue ), ( pvItemToQueue ), 0 );                                  \
        }                                                                                                                                                                       \
        {                                                                                                                                                                       \
                crSET_STATE1( ( xHandle ) );                                                                                                    \
        }                                                                                                                                                                       \
}
BaseType_t xQueueCRSend(QueueHandle_t xQueue, const void *pvItemToQueue, TickType_t xTicksToWait)
 
 
Definition at line 381 of file croutine.h.
 
 
◆ crQUEUE_SEND_FROM_ISR
      
        
          | #define crQUEUE_SEND_FROM_ISR | 
          ( | 
            | 
          pxQueue,  | 
        
        
           | 
           | 
            | 
          pvItemToQueue,  | 
        
        
           | 
           | 
            | 
          xCoRoutinePreviouslyWoken  | 
        
        
           | 
          ) | 
           |    xQueueCRSendFromISR( ( pxQueue ), ( pvItemToQueue ), ( xCoRoutinePreviouslyWoken ) ) | 
        
      
 
 
◆ crSET_STATE0
      
        
          | #define crSET_STATE0 | 
          ( | 
            | 
          xHandle | ) | 
             ( ( CRCB_t * )( xHandle ) )->uxState = (__LINE__ * 2); return; case (__LINE__ * 2): | 
        
      
 
 
◆ crSET_STATE1
      
        
          | #define crSET_STATE1 | 
          ( | 
            | 
          xHandle | ) | 
             ( ( CRCB_t * )( xHandle ) )->uxState = ((__LINE__ * 2)+1); return; case ((__LINE__ * 2)+1): | 
        
      
 
 
◆ crSTART
      
        
          | #define crSTART | 
          ( | 
            | 
          pxCRCB | ) | 
             switch( ( ( CRCB_t * )( pxCRCB ) )->uxState ) { case 0: | 
        
      
 
 
◆ CoRoutineHandle_t
◆ CRCB_t
◆ crCOROUTINE_CODE
◆ vCoRoutineAddToDelayedList()
      
        
          | void vCoRoutineAddToDelayedList  | 
          ( | 
          TickType_t  | 
          xTicksToDelay,  | 
        
        
           | 
           | 
          List_t *  | 
          pxEventList  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ vCoRoutineSchedule()
      
        
          | void vCoRoutineSchedule  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ xCoRoutineCreate()
◆ xCoRoutineRemoveFromEventList()