Macros | |
#define | bktALLOWABLE_MARGIN ( 15 ) |
#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 | vCreateBlockTimeTasks (void) |
static void | vPrimaryBlockTimeTestTask (void *pvParameters) |
static void | vSecondaryBlockTimeTestTask (void *pvParameters) |
portBASE_TYPE | xAreBlockTimeTestTasksStillRunning (void) |
Variables | |
static volatile portBASE_TYPE | xErrorOccurred = pdFALSE |
static volatile portBASE_TYPE | xPrimaryCycles = 0 |
static volatile unsigned portBASE_TYPE | xRunIndicator |
static xTaskHandle | xSecondary |
static volatile portBASE_TYPE | xSecondaryCycles = 0 |
static xQueueHandle | xTestQueue |
#define bktALLOWABLE_MARGIN ( 15 ) |
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 vCreateBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
#define bktQUEUE_LENGTH ( 5 ) |
Referenced by vCreateBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
#define bktRUN_INDICATOR ( ( unsigned portBASE_TYPE ) 0x55 ) |
Referenced by vPrimaryBlockTimeTestTask(), and vSecondaryBlockTimeTestTask().
#define bktSECONDARY_PRIORITY ( 2 ) |
Referenced by vCreateBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
#define bktSHORT_WAIT ( ( ( portTickType ) 20 ) / portTICK_RATE_MS ) |
Referenced by vPrimaryBlockTimeTestTask().
#define bktTIME_TO_BLOCK ( 175 ) |
Referenced by vSecondaryBlockTimeTestTask().
void vCreateBlockTimeTasks | ( | 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, vTaskDelay(), vTaskPrioritySet(), vTaskResume(), xErrorOccurred, xPrimaryCycles, xQueueReceive, xQueueSend, xRunIndicator, xSecondary, and xTaskGetTickCount().
Referenced by vCreateBlockTimeTasks().
|
static |
References bktALLOWABLE_MARGIN, bktRUN_INDICATOR, bktTIME_TO_BLOCK, errQUEUE_EMPTY, errQUEUE_FULL, NULL, pdTRUE, portTickType, vTaskSuspend(), xErrorOccurred, xQueueReceive, xQueueSend, xRunIndicator, xSecondaryCycles, and xTaskGetTickCount().
Referenced by vCreateBlockTimeTasks().
portBASE_TYPE xAreBlockTimeTestTasksStillRunning | ( | void | ) |
References pdFAIL, pdPASS, pdTRUE, xErrorOccurred, xPrimaryCycles, and xSecondaryCycles.
|
static |
Referenced by vPrimaryBlockTimeTestTask(), vSecondaryBlockTimeTestTask(), and xAreBlockTimeTestTasksStillRunning().
|
static |
Referenced by vPrimaryBlockTimeTestTask(), and xAreBlockTimeTestTasksStillRunning().
|
static |
Referenced by vPrimaryBlockTimeTestTask(), and vSecondaryBlockTimeTestTask().
|
static |
Referenced by vCreateBlockTimeTasks(), and vPrimaryBlockTimeTestTask().
|
static |
Referenced by vSecondaryBlockTimeTestTask(), and xAreBlockTimeTestTasksStillRunning().
|
static |