Macros | |
#define | bktALLOWABLE_MARGIN ( 12 ) |
#define | bktDONT_BLOCK ( ( portTickType ) 0 ) |
#define | bktPRIMARY_BLOCK_TIME ( 10 ) |
#define | bktPRIMARY_PRIORITY ( 3 ) |
#define | bktQUEUE_LENGTH ( 5 ) |
#define | bktRUN_INDICATOR ( ( unsigned portBASE_TYPE ) 0x55 ) |
#define | bktSECONDARY_PRIORITY ( 2 ) |
#define | bktSHORT_WAIT ( ( ( portTickType ) 20 ) / portTICK_RATE_MS ) |
#define | bktTIME_TO_BLOCK ( 175 ) |
Functions | |
void | vCreateAltBlockTimeTasks (void) |
static void | vPrimaryBlockTimeTestTask (void *pvParameters) |
static void | vSecondaryBlockTimeTestTask (void *pvParameters) |
portBASE_TYPE | xAreAltBlockTimeTestTasksStillRunning (void) |
Variables | |
static portBASE_TYPE | xErrorOccurred = pdFALSE |
static portBASE_TYPE | xPrimaryCycles = 0 |
static volatile unsigned portBASE_TYPE | xRunIndicator |
static xTaskHandle | xSecondary |
static portBASE_TYPE | xSecondaryCycles = 0 |
static xQueueHandle | xTestQueue |
#define bktALLOWABLE_MARGIN ( 12 ) |
Referenced by vPrimaryBlockTimeTestTask(), and vSecondaryBlockTimeTestTask().
#define bktDONT_BLOCK ( ( portTickType ) 0 ) |
Referenced by vPrimaryBlockTimeTestTask().
#define bktPRIMARY_BLOCK_TIME ( 10 ) |
Referenced by vPrimaryBlockTimeTestTask().
#define bktPRIMARY_PRIORITY ( 3 ) |
Referenced by vCreateAltBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
#define bktQUEUE_LENGTH ( 5 ) |
Referenced by vCreateAltBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
#define bktRUN_INDICATOR ( ( unsigned portBASE_TYPE ) 0x55 ) |
Referenced by vPrimaryBlockTimeTestTask(), and vSecondaryBlockTimeTestTask().
#define bktSECONDARY_PRIORITY ( 2 ) |
Referenced by vCreateAltBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
#define bktSHORT_WAIT ( ( ( portTickType ) 20 ) / portTICK_RATE_MS ) |
Referenced by vPrimaryBlockTimeTestTask().
#define bktTIME_TO_BLOCK ( 175 ) |
Referenced by vSecondaryBlockTimeTestTask().
void vCreateAltBlockTimeTasks | ( | void | ) |
|
static |
References bktALLOWABLE_MARGIN, bktDONT_BLOCK, bktPRIMARY_BLOCK_TIME, bktPRIMARY_PRIORITY, bktQUEUE_LENGTH, bktRUN_INDICATOR, bktSECONDARY_PRIORITY, bktSHORT_WAIT, errQUEUE_EMPTY, errQUEUE_FULL, pdPASS, pdTRUE, portTickType, taskYIELD, vPrintDisplayMessage(), vTaskDelay(), vTaskPrioritySet(), vTaskResume(), xErrorOccurred, xPrimaryCycles, xQueueAltReceive, xQueueAltSendToBack, xRunIndicator, xSecondary, and xTaskGetTickCount().
Referenced by vCreateAltBlockTimeTasks().
|
static |
References bktALLOWABLE_MARGIN, bktRUN_INDICATOR, bktTIME_TO_BLOCK, errQUEUE_EMPTY, errQUEUE_FULL, NULL, pdTRUE, portTickType, vPrintDisplayMessage(), vTaskSuspend(), xErrorOccurred, xQueueAltReceive, xQueueAltSendToBack, xRunIndicator, xSecondaryCycles, and xTaskGetTickCount().
Referenced by vCreateAltBlockTimeTasks().
portBASE_TYPE xAreAltBlockTimeTestTasksStillRunning | ( | void | ) |
References pdFAIL, pdPASS, pdTRUE, xErrorOccurred, xPrimaryCycles, and xSecondaryCycles.
|
static |
|
static |
Referenced by vPrimaryBlockTimeTestTask(), and xAreAltBlockTimeTestTasksStillRunning().
|
static |
Referenced by vPrimaryBlockTimeTestTask(), and vSecondaryBlockTimeTestTask().
|
static |
Referenced by vCreateAltBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
|
static |
Referenced by vSecondaryBlockTimeTestTask(), and xAreAltBlockTimeTestTasksStillRunning().
|
static |