Atmel Software Framework

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

Macros

#define qpeekHIGH_PRIORITY   ( tskIDLE_PRIORITY + 2 )
 
#define qpeekHIGHEST_PRIORITY   ( tskIDLE_PRIORITY + 3 )
 
#define qpeekLOW_PRIORITY   ( tskIDLE_PRIORITY + 0 )
 
#define qpeekMEDIUM_PRIORITY   ( tskIDLE_PRIORITY + 1 )
 
#define qpeekNO_BLOCK   ( 0 )
 
#define qpeekQUEUE_LENGTH   ( 5 )
 
#define qpeekSHORT_DELAY   ( 10 )
 

Functions

static void prvHighestPriorityPeekTask (void *pvParameters)
 
static void prvHighPriorityPeekTask (void *pvParameters)
 
static void prvLowPriorityPeekTask (void *pvParameters)
 
static void prvMediumPriorityPeekTask (void *pvParameters)
 
void vStartQueuePeekTasks (void)
 
portBASE_TYPE xAreQueuePeekTasksStillRunning (void)
 

Variables

static volatile unsigned portLONG ulLoopCounter = 0
 
static volatile portBASE_TYPE xErrorDetected = pdFALSE
 
xTaskHandle xHighestPriorityTask
 
xTaskHandle xHighPriorityTask
 
xTaskHandle xMediumPriorityTask
 

#define qpeekHIGH_PRIORITY   ( tskIDLE_PRIORITY + 2 )

Referenced by vStartQueuePeekTasks().

#define qpeekHIGHEST_PRIORITY   ( tskIDLE_PRIORITY + 3 )

Referenced by vStartQueuePeekTasks().

#define qpeekLOW_PRIORITY   ( tskIDLE_PRIORITY + 0 )

Referenced by vStartQueuePeekTasks().

#define qpeekMEDIUM_PRIORITY   ( tskIDLE_PRIORITY + 1 )

Referenced by vStartQueuePeekTasks().

#define qpeekNO_BLOCK   ( 0 )
#define qpeekQUEUE_LENGTH   ( 5 )

Referenced by vStartQueuePeekTasks().

#define qpeekSHORT_DELAY   ( 10 )

Referenced by prvLowPriorityPeekTask().

static void prvHighestPriorityPeekTask ( void *  pvParameters)
static
static void prvHighPriorityPeekTask ( void *  pvParameters)
static
static void prvMediumPriorityPeekTask ( void *  pvParameters)
static
portBASE_TYPE xAreQueuePeekTasksStillRunning ( void  )

References pdTRUE, ulLoopCounter, and xErrorDetected.

volatile unsigned portLONG ulLoopCounter = 0
static
xTaskHandle xHighestPriorityTask
xTaskHandle xHighPriorityTask
xTaskHandle xMediumPriorityTask