Microchip® Advanced Software Framework

flop.c File Reference
#include <stdlib.h>
#include <math.h>
#include "FreeRTOS.h"
#include "task.h"
#include "flop.h"

Macros

#define mathNUMBER_OF_TASKS   ( 8 )
 
#define mathSTACK_SIZE   configMINIMAL_STACK_SIZE
 

Functions

static portTASK_FUNCTION (vCompetingMathTask1, pvParameters)
 
static portTASK_FUNCTION (vCompetingMathTask2, pvParameters)
 
static portTASK_FUNCTION (vCompetingMathTask3, pvParameters)
 
static portTASK_FUNCTION (vCompetingMathTask4, pvParameters)
 
static portTASK_FUNCTION_PROTO (vCompetingMathTask1, pvParameters)
 
static portTASK_FUNCTION_PROTO (vCompetingMathTask2, pvParameters)
 
static portTASK_FUNCTION_PROTO (vCompetingMathTask3, pvParameters)
 
static portTASK_FUNCTION_PROTO (vCompetingMathTask4, pvParameters)
 
void vStartMathTasks (unsigned portBASE_TYPE uxPriority)
 
portBASE_TYPE xAreMathsTaskStillRunning (void)
 

Variables

static volatile unsigned short usTaskCheck [mathNUMBER_OF_TASKS] = { ( unsigned short ) 0 }
 

#define mathNUMBER_OF_TASKS   ( 8 )
#define mathSTACK_SIZE   configMINIMAL_STACK_SIZE

Referenced by vStartMathTasks().

static portTASK_FUNCTION ( vCompetingMathTask1  ,
pvParameters   
)
static

References pdFALSE, pdTRUE, and taskYIELD.

static portTASK_FUNCTION ( vCompetingMathTask2  ,
pvParameters   
)
static

References pdFALSE, pdTRUE, and taskYIELD.

static portTASK_FUNCTION ( vCompetingMathTask3  ,
pvParameters   
)
static

References pdFALSE, pdTRUE, pvPortMalloc(), and taskYIELD.

static portTASK_FUNCTION ( vCompetingMathTask4  ,
pvParameters   
)
static

References pdFALSE, pdTRUE, pvPortMalloc(), and taskYIELD.

static portTASK_FUNCTION_PROTO ( vCompetingMathTask1  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vCompetingMathTask2  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vCompetingMathTask3  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vCompetingMathTask4  ,
pvParameters   
)
static
void vStartMathTasks ( unsigned portBASE_TYPE  uxPriority)
portBASE_TYPE xAreMathsTaskStillRunning ( void  )

volatile unsigned short usTaskCheck[mathNUMBER_OF_TASKS] = { ( unsigned short ) 0 }
static