Microchip® Advanced Software Framework

crflash.c File Reference
#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
#define crfPOSTING_BLOCK_TIME   0

Referenced by prvFixedDelayCoRoutine().

#define crfQUEUE_LENGTH   1

Referenced by vStartFlashCoRoutines().

static void prvFixedDelayCoRoutine ( xCoRoutineHandle  xHandle,
unsigned portBASE_TYPE  uxIndex 
)
static
static void prvFlashCoRoutine ( xCoRoutineHandle  xHandle,
unsigned portBASE_TYPE  uxIndex 
)
static
portBASE_TYPE xAreFlashCoRoutinesStillRunning ( void  )

References xCoRoutineFlashStatus.

portBASE_TYPE xCoRoutineFlashStatus = pdPASS
static
xQueueHandle xFlashQueue
static