Atmel Software Framework

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

Macros

#define intgCONST1   ( ( long ) 123 )
 
#define intgCONST2   ( ( long ) 234567 )
 
#define intgCONST3   ( ( long ) -3 )
 
#define intgCONST4   ( ( long ) 7 )
 
#define intgEXPECTED_ANSWER   ( ( ( intgCONST1 + intgCONST2 ) * intgCONST3 ) / intgCONST4 )
 
#define intgNUMBER_OF_TASKS   ( 1 )
 
#define intgSTACK_SIZE   configMINIMAL_STACK_SIZE
 

Functions

static portTASK_FUNCTION (vCompeteingIntMathTask, pvParameters)
 
static portTASK_FUNCTION_PROTO (vCompeteingIntMathTask, pvParameters)
 
void vStartIntegerMathTasks (unsigned portBASE_TYPE uxPriority)
 
portBASE_TYPE xAreIntegerMathsTaskStillRunning (void)
 

Variables

static volatile signed
portBASE_TYPE 
xTaskCheck [intgNUMBER_OF_TASKS] = { ( signed portBASE_TYPE ) pdFALSE }
 

#define intgCONST1   ( ( long ) 123 )

Referenced by portTASK_FUNCTION().

#define intgCONST2   ( ( long ) 234567 )

Referenced by portTASK_FUNCTION().

#define intgCONST3   ( ( long ) -3 )

Referenced by portTASK_FUNCTION().

#define intgCONST4   ( ( long ) 7 )

Referenced by portTASK_FUNCTION().

#define intgEXPECTED_ANSWER   ( ( ( intgCONST1 + intgCONST2 ) * intgCONST3 ) / intgCONST4 )

Referenced by portTASK_FUNCTION().

#define intgNUMBER_OF_TASKS   ( 1 )
#define intgSTACK_SIZE   configMINIMAL_STACK_SIZE

Referenced by vStartIntegerMathTasks().

static portTASK_FUNCTION ( vCompeteingIntMathTask  ,
pvParameters   
)
static
static portTASK_FUNCTION_PROTO ( vCompeteingIntMathTask  ,
pvParameters   
)
static
void vStartIntegerMathTasks ( unsigned portBASE_TYPE  uxPriority)
portBASE_TYPE xAreIntegerMathsTaskStillRunning ( void  )

volatile signed portBASE_TYPE xTaskCheck[intgNUMBER_OF_TASKS] = { ( signed portBASE_TYPE ) pdFALSE }
static