Microchip® Advanced Software Framework

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

Data Structures

struct  BLOCKING_QUEUE_PARAMETERS
 

Macros

#define blckqNUM_TASK_SETS   ( 3 )
 
#define blckqSTACK_SIZE   configMINIMAL_STACK_SIZE
 

Typedefs

typedef struct
BLOCKING_QUEUE_PARAMETERS 
xBlockingQueueParameters
 

Functions

static portTASK_FUNCTION (vBlockingQueueProducer, pvParameters)
 
static portTASK_FUNCTION (vBlockingQueueConsumer, pvParameters)
 
static portTASK_FUNCTION_PROTO (vBlockingQueueProducer, pvParameters)
 
static portTASK_FUNCTION_PROTO (vBlockingQueueConsumer, pvParameters)
 
void vStartBlockingQueueTasks (unsigned portBASE_TYPE uxPriority)
 
portBASE_TYPE xAreBlockingQueuesStillRunning (void)
 

Variables

static volatile short sBlockingConsumerCount [blckqNUM_TASK_SETS] = { ( unsigned short ) 0, ( unsigned short ) 0, ( unsigned short ) 0 }
 
static volatile short sBlockingProducerCount [blckqNUM_TASK_SETS] = { ( unsigned short ) 0, ( unsigned short ) 0, ( unsigned short ) 0 }
 

#define blckqNUM_TASK_SETS   ( 3 )
#define blckqSTACK_SIZE   configMINIMAL_STACK_SIZE

static portTASK_FUNCTION ( vBlockingQueueProducer  ,
pvParameters   
)
static
static portTASK_FUNCTION ( vBlockingQueueConsumer  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vBlockingQueueProducer  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vBlockingQueueConsumer  ,
pvParameters   
)
static
portBASE_TYPE xAreBlockingQueuesStillRunning ( void  )

volatile short sBlockingConsumerCount[blckqNUM_TASK_SETS] = { ( unsigned short ) 0, ( unsigned short ) 0, ( unsigned short ) 0 }
static
volatile short sBlockingProducerCount[blckqNUM_TASK_SETS] = { ( unsigned short ) 0, ( unsigned short ) 0, ( unsigned short ) 0 }
static