Go to the source code of this file.
|
#define | crSTART(pxCRCB) switch( ( ( corCRCB * )( pxCRCB ) )->uxState ) { case 0: |
|
#define | crEND() } |
|
#define | crSET_STATE0(xHandle) ( ( corCRCB * )( xHandle ) )->uxState = (__LINE__ * 2); return; case (__LINE__ * 2): |
|
#define | crSET_STATE1(xHandle) ( ( corCRCB * )( xHandle ) )->uxState = ((__LINE__ * 2)+1); return; case ((__LINE__ * 2)+1): |
|
#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) xQueueCRSendFromISR( ( pxQueue ), ( pvItemToQueue ), ( xCoRoutinePreviouslyWoken ) ) |
|
#define | crQUEUE_RECEIVE_FROM_ISR(pxQueue, pvBuffer, pxCoRoutineWoken) xQueueCRReceiveFromISR( ( pxQueue ), ( pvBuffer ), ( pxCoRoutineWoken ) ) |
|
#define crDELAY |
( |
|
xHandle, |
|
|
|
xTicksToDelay |
|
) |
| |
Value:if( ( xTicksToDelay ) > 0 ) \
{ \
vCoRoutineAddToDelayedList( ( xTicksToDelay ),
NULL ); \
} \
crSET_STATE0( ( xHandle ) );
Definition at line 328 of file croutine.h.
#define crQUEUE_RECEIVE |
( |
|
xHandle, |
|
|
|
pxQueue, |
|
|
|
pvBuffer, |
|
|
|
xTicksToWait, |
|
|
|
pxResult |
|
) |
| |
Value:{ \
*( pxResult ) =
xQueueCRReceive( ( pxQueue) , ( pvBuffer ), ( xTicksToWait ) ); \
{ \
crSET_STATE0( ( xHandle ) ); \
} \
{ \
crSET_STATE1( ( xHandle ) ); \
} \
}
Definition at line 510 of file croutine.h.
#define crQUEUE_RECEIVE_FROM_ISR |
( |
|
pxQueue, |
|
|
|
pvBuffer, |
|
|
|
pxCoRoutineWoken |
|
) |
| xQueueCRReceiveFromISR( ( pxQueue ), ( pvBuffer ), ( pxCoRoutineWoken ) ) |
#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 ) ); \
} \
}
Definition at line 418 of file croutine.h.
#define crQUEUE_SEND_FROM_ISR |
( |
|
pxQueue, |
|
|
|
pvItemToQueue, |
|
|
|
xCoRoutinePreviouslyWoken |
|
) |
| xQueueCRSendFromISR( ( pxQueue ), ( pvItemToQueue ), ( xCoRoutinePreviouslyWoken ) ) |
#define crSET_STATE0 |
( |
|
xHandle) | |
( ( corCRCB * )( xHandle ) )->uxState = (__LINE__ * 2); return; case (__LINE__ * 2): |
#define crSET_STATE1 |
( |
|
xHandle) | |
( ( corCRCB * )( xHandle ) )->uxState = ((__LINE__ * 2)+1); return; case ((__LINE__ * 2)+1): |
#define crSTART |
( |
|
pxCRCB) | |
switch( ( ( corCRCB * )( pxCRCB ) )->uxState ) { case 0: |
void vCoRoutineSchedule |
( |
void |
) | |
|