Macros | |
#define | mathNUMBER_OF_TASKS ( 8 ) |
#define | mathSTACK_SIZE configMINIMAL_STACK_SIZE |
Functions | |
static | portTASK_FUNCTION (vCompetingMathTask1, pvParameters) |
static | portTASK_FUNCTION (vCompetingMathTask2, pvParameters) |
static | portTASK_FUNCTION (vCompetingMathTask3, pvParameters) |
static | portTASK_FUNCTION (vCompetingMathTask4, pvParameters) |
static | portTASK_FUNCTION_PROTO (vCompetingMathTask1, pvParameters) |
static | portTASK_FUNCTION_PROTO (vCompetingMathTask2, pvParameters) |
static | portTASK_FUNCTION_PROTO (vCompetingMathTask3, pvParameters) |
static | portTASK_FUNCTION_PROTO (vCompetingMathTask4, pvParameters) |
void | vStartMathTasks (unsigned portBASE_TYPE uxPriority) |
portBASE_TYPE | xAreMathsTaskStillRunning (void) |
Variables | |
static volatile unsigned short | usTaskCheck [mathNUMBER_OF_TASKS] = { ( unsigned short ) 0 } |
#define mathNUMBER_OF_TASKS ( 8 ) |
Referenced by xAreMathsTaskStillRunning().
#define mathSTACK_SIZE configMINIMAL_STACK_SIZE |
Referenced by vStartMathTasks().
|
static |
|
static |
|
static |
References pdFALSE, pdTRUE, pvPortMalloc(), and taskYIELD.
|
static |
References pdFALSE, pdTRUE, pvPortMalloc(), and taskYIELD.
|
static |
|
static |
|
static |
|
static |
void vStartMathTasks | ( | unsigned portBASE_TYPE | uxPriority | ) |
References mathSTACK_SIZE, NULL, usTaskCheck, and xTaskCreate.
portBASE_TYPE xAreMathsTaskStillRunning | ( | void | ) |
References mathNUMBER_OF_TASKS, pdFALSE, pdTRUE, and usTaskCheck.
|
static |
Referenced by vStartMathTasks(), and xAreMathsTaskStillRunning().