Macros | |
#define | ledFLASH_RATE_BASE ( ( portTickType ) 333 ) |
#define | ledNUMBER_OF_LEDS ( 3 ) |
#define | ledSTACK_SIZE configMINIMAL_STACK_SIZE |
This version of flash .c is for use on systems that have limited stack space and no display facilities. More... | |
Functions | |
static | portTASK_FUNCTION (vLEDFlashTask, pvParameters) |
static | portTASK_FUNCTION_PROTO (vLEDFlashTask, pvParameters) |
void | vStartLEDFlashTasks (unsigned portBASE_TYPE uxPriority) |
Variables | |
static volatile unsigned portBASE_TYPE | uxFlashTaskNumber = 0 |
#define ledFLASH_RATE_BASE ( ( portTickType ) 333 ) |
Referenced by portTASK_FUNCTION().
#define ledNUMBER_OF_LEDS ( 3 ) |
Referenced by vStartLEDFlashTasks().
#define ledSTACK_SIZE configMINIMAL_STACK_SIZE |
This version of flash .c is for use on systems that have limited stack space and no display facilities.
The complete version can be found in the Demo/Common/Full directory.
Three tasks are created, each of which flash an LED at a different rate. The first LED flashes every 200ms, the second every 400ms, the third every 600ms.
The LED flash tasks provide instant visual feedback. They show that the scheduler is still operational.
Referenced by vStartLEDFlashTasks().
|
static |
|
static |
void vStartLEDFlashTasks | ( | unsigned portBASE_TYPE | uxPriority | ) |
References ledNUMBER_OF_LEDS, ledSTACK_SIZE, NULL, and xTaskCreate.
|
static |
Referenced by portTASK_FUNCTION().