Atmel Software Framework

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

Macros

#define priLOOPS   ( 5 )
 
#define priMAX_COUNT   ( ( unsigned long ) 0xff )
 
#define priNO_BLOCK   ( ( portTickType ) 0 )
 
#define priSLEEP_TIME   ( ( portTickType ) 128 / portTICK_RATE_MS )
 
#define priSTACK_SIZE   ( configMINIMAL_STACK_SIZE )
 
#define priSUSPENDED_QUEUE_LENGTH   ( 1 )
 

Functions

static portTASK_FUNCTION (vLimitedIncrementTask, pvParameters)
 
static portTASK_FUNCTION (vContinuousIncrementTask, pvParameters)
 
static portTASK_FUNCTION (vCounterControlTask, pvParameters)
 
static portTASK_FUNCTION (vQueueSendWhenSuspendedTask, pvParameters)
 
static portTASK_FUNCTION (vQueueReceiveWhenSuspendedTask, pvParameters)
 
static portTASK_FUNCTION_PROTO (vLimitedIncrementTask, pvParameters)
 
static portTASK_FUNCTION_PROTO (vContinuousIncrementTask, pvParameters)
 
static portTASK_FUNCTION_PROTO (vCounterControlTask, pvParameters)
 
static portTASK_FUNCTION_PROTO (vQueueReceiveWhenSuspendedTask, pvParameters)
 
static portTASK_FUNCTION_PROTO (vQueueSendWhenSuspendedTask, pvParameters)
 
void vStartDynamicPriorityTasks (void)
 
portBASE_TYPE xAreDynamicPriorityTasksStillRunning (void)
 

Variables

static unsigned long ulCounter
 
static volatile unsigned short usCheckVariable = ( unsigned short ) 0
 
static xTaskHandle xContinousIncrementHandle
 
static xTaskHandle xLimitedIncrementHandle
 
static volatile portBASE_TYPE xSuspendedQueueReceiveError = pdFALSE
 
static volatile portBASE_TYPE xSuspendedQueueSendError = pdFALSE
 
xQueueHandle xSuspendedTestQueue
 

#define priLOOPS   ( 5 )

Referenced by portTASK_FUNCTION().

#define priMAX_COUNT   ( ( unsigned long ) 0xff )

Referenced by portTASK_FUNCTION().

#define priNO_BLOCK   ( ( portTickType ) 0 )

Referenced by portTASK_FUNCTION().

#define priSLEEP_TIME   ( ( portTickType ) 128 / portTICK_RATE_MS )

Referenced by portTASK_FUNCTION().

#define priSTACK_SIZE   ( configMINIMAL_STACK_SIZE )
#define priSUSPENDED_QUEUE_LENGTH   ( 1 )

static portTASK_FUNCTION ( vLimitedIncrementTask  ,
pvParameters   
)
static

References NULL, priMAX_COUNT, and vTaskSuspend().

static portTASK_FUNCTION ( vContinuousIncrementTask  ,
pvParameters   
)
static
static portTASK_FUNCTION ( vQueueSendWhenSuspendedTask  ,
pvParameters   
)
static
static portTASK_FUNCTION ( vQueueReceiveWhenSuspendedTask  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vLimitedIncrementTask  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vContinuousIncrementTask  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vCounterControlTask  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vQueueReceiveWhenSuspendedTask  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vQueueSendWhenSuspendedTask  ,
pvParameters   
)
static
portBASE_TYPE xAreDynamicPriorityTasksStillRunning ( void  )

unsigned long ulCounter
static
volatile unsigned short usCheckVariable = ( unsigned short ) 0
static
xTaskHandle xContinousIncrementHandle
static
xTaskHandle xLimitedIncrementHandle
static
volatile portBASE_TYPE xSuspendedQueueReceiveError = pdFALSE
static
volatile portBASE_TYPE xSuspendedQueueSendError = pdFALSE
static
xQueueHandle xSuspendedTestQueue