#include "FreeRTOS.h"
#include "croutine.h"
#include "queue.h"
#include "partest.h"
#include "crflash.h"
Macros | |
#define | crfFIXED_DELAY_PRIORITY 0 |
#define | crfFLASH_INDEX 0 |
#define | crfFLASH_PRIORITY 1 |
#define | crfMAX_FLASH_TASKS 8 |
#define | crfPOSTING_BLOCK_TIME 0 |
#define | crfQUEUE_LENGTH 1 |
Functions | |
static void | prvFixedDelayCoRoutine (xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex) |
static void | prvFlashCoRoutine (xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex) |
void | vStartFlashCoRoutines (unsigned portBASE_TYPE uxNumberToCreate) |
portBASE_TYPE | xAreFlashCoRoutinesStillRunning (void) |
Variables | |
static portBASE_TYPE | xCoRoutineFlashStatus = pdPASS |
static xQueueHandle | xFlashQueue |
#define crfFIXED_DELAY_PRIORITY 0 |
Referenced by vStartFlashCoRoutines().
#define crfFLASH_INDEX 0 |
Referenced by vStartFlashCoRoutines().
#define crfFLASH_PRIORITY 1 |
Referenced by vStartFlashCoRoutines().
#define crfMAX_FLASH_TASKS 8 |
Referenced by prvFixedDelayCoRoutine(), and vStartFlashCoRoutines().
#define crfPOSTING_BLOCK_TIME 0 |
Referenced by prvFixedDelayCoRoutine().
#define crfQUEUE_LENGTH 1 |
Referenced by vStartFlashCoRoutines().
|
static |
References crDELAY, crEND, crfMAX_FLASH_TASKS, crfPOSTING_BLOCK_TIME, crQUEUE_SEND, crSTART, pdFAIL, pdPASS, portTICK_RATE_MS, portTickType, and xCoRoutineFlashStatus.
Referenced by vStartFlashCoRoutines().
|
static |
References crEND, crQUEUE_RECEIVE, crSTART, pdFAIL, pdPASS, vParTestToggleLED(), and xCoRoutineFlashStatus.
Referenced by vStartFlashCoRoutines().
void vStartFlashCoRoutines | ( | unsigned portBASE_TYPE | uxNumberToCreate | ) |
portBASE_TYPE xAreFlashCoRoutinesStillRunning | ( | void | ) |
References xCoRoutineFlashStatus.
|
static |
Referenced by prvFixedDelayCoRoutine(), prvFlashCoRoutine(), and xAreFlashCoRoutinesStillRunning().
|
static |