Macros | |
#define | hookHOOK_QUEUE_LENGTH ( 1 ) |
#define | hookNO_BLOCK_TIME ( 0 ) |
#define | hookNUM_HOOK_CO_ROUTINES ( 4 ) |
#define | hookTICK_CALLS_BEFORE_POST ( 500 ) |
#define | mainHOOK_CR_PRIORITY ( 1 ) |
Functions | |
static void | prvHookCoRoutine (xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex) |
void | vApplicationTickHook (void) |
This function is called by FreeRTOS each tick. More... | |
void | vStartHookCoRoutines (void) |
portBASE_TYPE | xAreHookCoRoutinesStillRunning (void) |
Variables | |
static unsigned portBASE_TYPE | uxCallCounter = 0 |
static unsigned portBASE_TYPE | uxNumberToPost = 0 |
static portBASE_TYPE | xCoRoutineErrorDetected = pdFALSE |
static xQueueHandle | xHookRxQueues [hookNUM_HOOK_CO_ROUTINES] |
static xQueueHandle | xHookTxQueues [hookNUM_HOOK_CO_ROUTINES] |
#define hookHOOK_QUEUE_LENGTH ( 1 ) |
Referenced by vStartHookCoRoutines().
#define hookNO_BLOCK_TIME ( 0 ) |
Referenced by prvHookCoRoutine(), and vStartHookCoRoutines().
#define hookNUM_HOOK_CO_ROUTINES ( 4 ) |
Referenced by prvHookCoRoutine(), and vStartHookCoRoutines().
#define hookTICK_CALLS_BEFORE_POST ( 500 ) |
#define mainHOOK_CR_PRIORITY ( 1 ) |
Referenced by vStartHookCoRoutines().
|
static |
References crEND, crQUEUE_RECEIVE, crQUEUE_SEND, crSTART, hookNO_BLOCK_TIME, hookNUM_HOOK_CO_ROUTINES, pdFAIL, pdPASS, pdTRUE, and xCoRoutineErrorDetected.
Referenced by vStartHookCoRoutines().
void vApplicationTickHook | ( | void | ) |
This function is called by FreeRTOS each tick.
Referenced by vTaskIncrementTick(), and xTaskIncrementTick().
void vStartHookCoRoutines | ( | void | ) |
portBASE_TYPE xAreHookCoRoutinesStillRunning | ( | void | ) |
References pdFALSE, pdTRUE, and xCoRoutineErrorDetected.
|
static |
|
static |
|
static |
Referenced by prvHookCoRoutine(), and xAreHookCoRoutinesStillRunning().
|
static |
|
static |