#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 ) |
Referenced by vStartDynamicPriorityTasks().
#define priSUSPENDED_QUEUE_LENGTH ( 1 ) |
Referenced by vStartDynamicPriorityTasks().
|
static |
References NULL, priMAX_COUNT, and vTaskSuspend().
|
static |
References NULL, uxTaskPriorityGet(), and vTaskPrioritySet().
|
static |
|
static |
References pdTRUE, priNO_BLOCK, priSLEEP_TIME, vTaskDelay(), vTaskSuspendAll(), xQueueSend, xSuspendedQueueSendError, and xTaskResumeAll().
|
static |
References pdFALSE, pdTRUE, priNO_BLOCK, taskYIELD, vTaskSuspendAll(), xQueueReceive, xSuspendedQueueReceiveError, and xTaskResumeAll().
|
static |
|
static |
|
static |
|
static |
|
static |
void vStartDynamicPriorityTasks | ( | void | ) |
portBASE_TYPE xAreDynamicPriorityTasksStillRunning | ( | void | ) |
References pdFALSE, pdTRUE, usCheckVariable, xSuspendedQueueReceiveError, and xSuspendedQueueSendError.
|
static |
Referenced by portTASK_FUNCTION(), and vStartDynamicPriorityTasks().
|
static |
Referenced by portTASK_FUNCTION(), and xAreDynamicPriorityTasksStillRunning().
|
static |
Referenced by portTASK_FUNCTION(), and vStartDynamicPriorityTasks().
|
static |
Referenced by portTASK_FUNCTION(), and vStartDynamicPriorityTasks().
|
static |
Referenced by portTASK_FUNCTION(), and xAreDynamicPriorityTasksStillRunning().
|
static |
Referenced by portTASK_FUNCTION(), and xAreDynamicPriorityTasksStillRunning().
xQueueHandle xSuspendedTestQueue |