Microchip® Advanced Software Framework

AltBlckQ.c File Reference
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "AltBlckQ.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 vStartAltBlockingQueueTasks (unsigned portBASE_TYPE uxPriority)
 
portBASE_TYPE xAreAltBlockingQueuesStillRunning (void)
 

Variables

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

#define blckqNUM_TASK_SETS   ( 3 )
#define blckqSTACK_SIZE   configMINIMAL_STACK_SIZE

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

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