Microchip® Advanced Software Framework

AltQTest.c File Reference
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "semphr.h"
#include "AltQTest.h"

Macros

#define genqMUTEX_HIGH_PRIORITY   ( tskIDLE_PRIORITY + 3 )
 
#define genqMUTEX_LOW_PRIORITY   ( tskIDLE_PRIORITY )
 
#define genqMUTEX_MEDIUM_PRIORITY   ( tskIDLE_PRIORITY + 2 )
 
#define genqMUTEX_TEST_PRIORITY   ( tskIDLE_PRIORITY + 1 )
 
#define genqNO_BLOCK   ( 0 )
 
#define genqQUEUE_LENGTH   ( 5 )
 

Functions

static void prvHighPriorityMutexTask (void *pvParameters)
 
static void prvLowPriorityMutexTask (void *pvParameters)
 
static void prvMediumPriorityMutexTask (void *pvParameters)
 
static void prvSendFrontAndBackTest (void *pvParameters)
 
void vStartAltGenericQueueTasks (unsigned portBASE_TYPE uxPriority)
 
portBASE_TYPE xAreAltGenericQueueTasksStillRunning (void)
 

Variables

static volatile unsigned portLONG ulGuardedVariable = 0
 
static volatile unsigned portLONG ulLoopCounter = 0
 
static volatile unsigned portLONG ulLoopCounter2 = 0
 
static portBASE_TYPE xErrorDetected = pdFALSE
 
static xTaskHandle xHighPriorityMutexTask
 
static xTaskHandle xMediumPriorityMutexTask
 

#define genqMUTEX_HIGH_PRIORITY   ( tskIDLE_PRIORITY + 3 )
#define genqMUTEX_LOW_PRIORITY   ( tskIDLE_PRIORITY )
#define genqMUTEX_MEDIUM_PRIORITY   ( tskIDLE_PRIORITY + 2 )
#define genqMUTEX_TEST_PRIORITY   ( tskIDLE_PRIORITY + 1 )

Referenced by prvLowPriorityMutexTask().

#define genqNO_BLOCK   ( 0 )
#define genqQUEUE_LENGTH   ( 5 )

static void prvHighPriorityMutexTask ( void *  pvParameters)
static
static void prvMediumPriorityMutexTask ( void *  pvParameters)
static
portBASE_TYPE xAreAltGenericQueueTasksStillRunning ( void  )

volatile unsigned portLONG ulGuardedVariable = 0
static
volatile unsigned portLONG ulLoopCounter = 0
static
volatile unsigned portLONG ulLoopCounter2 = 0
static
xTaskHandle xHighPriorityMutexTask
static
xTaskHandle xMediumPriorityMutexTask
static