Microchip® Advanced Software Framework

freertos-8.0.1/Source/include/FreeRTOS.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "projdefs.h"
#include "FreeRTOSConfig.h"
#include "portable.h"

Macros

#define configASSERT(x)
 
#define configASSERT_DEFINED   0
 
#define configCHECK_FOR_STACK_OVERFLOW   0
 
#define configENABLE_BACKWARD_COMPATIBILITY   1
 
#define configEXPECTED_IDLE_TIME_BEFORE_SLEEP   2
 
#define configGENERATE_RUN_TIME_STATS   0
 
#define configIDLE_SHOULD_YIELD   1
 
#define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS   0
 
#define configMAX_TASK_NAME_LEN   16
 
#define configPOST_SLEEP_PROCESSING(x)
 
#define configPRE_SLEEP_PROCESSING(x)
 
#define configQUEUE_REGISTRY_SIZE   0U
 
#define configUSE_ALTERNATIVE_API   0
 
#define configUSE_APPLICATION_TASK_TAG   0
 
#define configUSE_COUNTING_SEMAPHORES   0
 
#define configUSE_MALLOC_FAILED_HOOK   0
 
#define configUSE_MUTEXES   0
 
#define configUSE_NEWLIB_REENTRANT   0
 
#define configUSE_PORT_OPTIMISED_TASK_SELECTION   0
 
#define configUSE_QUEUE_SETS   0
 
#define configUSE_RECURSIVE_MUTEXES   0
 
#define configUSE_STATS_FORMATTING_FUNCTIONS   0
 
#define configUSE_TICKLESS_IDLE   0
 
#define configUSE_TIME_SLICING   1
 
#define configUSE_TIMERS   0
 
#define configUSE_TRACE_FACILITY   0
 
#define eTaskStateGet   eTaskGetState
 
#define INCLUDE_eTaskGetState   0
 
#define INCLUDE_pcTaskGetTaskName   0
 
#define INCLUDE_uxTaskGetStackHighWaterMark   0
 
#define INCLUDE_xEventGroupSetBitFromISR   0
 
#define INCLUDE_xQueueGetMutexHolder   0
 
#define INCLUDE_xSemaphoreGetMutexHolder   INCLUDE_xQueueGetMutexHolder
 
#define INCLUDE_xTaskGetCurrentTaskHandle   0
 
#define INCLUDE_xTaskGetIdleTaskHandle   0
 
#define INCLUDE_xTaskGetSchedulerState   0
 
#define INCLUDE_xTaskResumeFromISR   1
 
#define INCLUDE_xTimerGetTimerDaemonTaskHandle   0
 
#define INCLUDE_xTimerPendFunctionCall   0
 
#define mtCOVERAGE_TEST_MARKER()
 
#define pdTASK_CODE   TaskFunction_t
 
#define pdTASK_HOOK_CODE   TaskHookFunction_t
 
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
 
#define portCLEAN_UP_TCB(pxTCB)   ( void ) pxTCB
 
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(uxSavedStatusValue)   ( void ) uxSavedStatusValue
 
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
 
#define portCRITICAL_NESTING_IN_TCB   0
 
#define portPOINTER_SIZE_TYPE   uint32_t
 
#define portPRE_TASK_DELETE_HOOK(pvTaskToDelete, pxYieldPending)
 
#define portPRIVILEGE_BIT   ( ( UBaseType_t ) 0x00 )
 
#define portSET_INTERRUPT_MASK_FROM_ISR()   0
 
#define portSETUP_TCB(pxTCB)   ( void ) pxTCB
 
#define portSUPPRESS_TICKS_AND_SLEEP(xExpectedIdleTime)
 
#define portTASK_USES_FLOATING_POINT()
 
#define portTICK_RATE_MS   portTICK_PERIOD_MS
 
#define portTickType   TickType_t
 
#define portYIELD_WITHIN_API   portYIELD
 
#define pvPortMallocAligned(x, puxStackBuffer)   ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )
 
#define tmrTIMER_CALLBACK   TimerCallbackFunction_t
 
#define traceBLOCKING_ON_QUEUE_RECEIVE(pxQueue)
 
#define traceBLOCKING_ON_QUEUE_SEND(pxQueue)
 
#define traceCREATE_COUNTING_SEMAPHORE()
 
#define traceCREATE_COUNTING_SEMAPHORE_FAILED()
 
#define traceCREATE_MUTEX(pxNewQueue)
 
#define traceCREATE_MUTEX_FAILED()
 
#define traceEND()
 
#define traceEVENT_GROUP_CLEAR_BITS(xEventGroup, uxBitsToClear)
 
#define traceEVENT_GROUP_CLEAR_BITS_FROM_ISR(xEventGroup, uxBitsToClear)
 
#define traceEVENT_GROUP_CREATE(xEventGroup)
 
#define traceEVENT_GROUP_CREATE_FAILED()
 
#define traceEVENT_GROUP_DELETE(xEventGroup)
 
#define traceEVENT_GROUP_SET_BITS(xEventGroup, uxBitsToSet)
 
#define traceEVENT_GROUP_SET_BITS_FROM_ISR(xEventGroup, uxBitsToSet)
 
#define traceEVENT_GROUP_SYNC_BLOCK(xEventGroup, uxBitsToSet, uxBitsToWaitFor)
 
#define traceEVENT_GROUP_SYNC_END(xEventGroup, uxBitsToSet, uxBitsToWaitFor, xTimeoutOccurred)   ( void ) xTimeoutOccurred
 
#define traceEVENT_GROUP_WAIT_BITS_BLOCK(xEventGroup, uxBitsToWaitFor)
 
#define traceEVENT_GROUP_WAIT_BITS_END(xEventGroup, uxBitsToWaitFor, xTimeoutOccurred)   ( void ) xTimeoutOccurred
 
#define traceFREE(pvAddress, uiSize)
 
#define traceGIVE_MUTEX_RECURSIVE(pxMutex)
 
#define traceGIVE_MUTEX_RECURSIVE_FAILED(pxMutex)
 
#define traceINCREASE_TICK_COUNT(x)
 
#define traceLOW_POWER_IDLE_BEGIN()
 
#define traceLOW_POWER_IDLE_END()
 
#define traceMALLOC(pvAddress, uiSize)
 
#define traceMOVED_TASK_TO_READY_STATE(pxTCB)
 
#define tracePEND_FUNC_CALL(xFunctionToPend, pvParameter1, ulParameter2, ret)
 
#define tracePEND_FUNC_CALL_FROM_ISR(xFunctionToPend, pvParameter1, ulParameter2, ret)
 
#define traceQUEUE_CREATE(pxNewQueue)
 
#define traceQUEUE_CREATE_FAILED(ucQueueType)
 
#define traceQUEUE_DELETE(pxQueue)
 
#define traceQUEUE_PEEK(pxQueue)
 
#define traceQUEUE_PEEK_FROM_ISR(pxQueue)
 
#define traceQUEUE_PEEK_FROM_ISR_FAILED(pxQueue)
 
#define traceQUEUE_RECEIVE(pxQueue)
 
#define traceQUEUE_RECEIVE_FAILED(pxQueue)
 
#define traceQUEUE_RECEIVE_FROM_ISR(pxQueue)
 
#define traceQUEUE_RECEIVE_FROM_ISR_FAILED(pxQueue)
 
#define traceQUEUE_REGISTRY_ADD(xQueue, pcQueueName)
 
#define traceQUEUE_SEND(pxQueue)
 
#define traceQUEUE_SEND_FAILED(pxQueue)
 
#define traceQUEUE_SEND_FROM_ISR(pxQueue)
 
#define traceQUEUE_SEND_FROM_ISR_FAILED(pxQueue)
 
#define traceSTART()
 
#define traceTAKE_MUTEX_RECURSIVE(pxMutex)
 
#define traceTAKE_MUTEX_RECURSIVE_FAILED(pxMutex)
 
#define traceTASK_CREATE(pxNewTCB)
 
#define traceTASK_CREATE_FAILED()
 
#define traceTASK_DELAY()
 
#define traceTASK_DELAY_UNTIL()
 
#define traceTASK_DELETE(pxTaskToDelete)
 
#define traceTASK_INCREMENT_TICK(xTickCount)
 
#define traceTASK_PRIORITY_DISINHERIT(pxTCBOfMutexHolder, uxOriginalPriority)
 
#define traceTASK_PRIORITY_INHERIT(pxTCBOfMutexHolder, uxInheritedPriority)
 
#define traceTASK_PRIORITY_SET(pxTask, uxNewPriority)
 
#define traceTASK_RESUME(pxTaskToResume)
 
#define traceTASK_RESUME_FROM_ISR(pxTaskToResume)
 
#define traceTASK_SUSPEND(pxTaskToSuspend)
 
#define traceTASK_SWITCHED_IN()
 
#define traceTASK_SWITCHED_OUT()
 
#define traceTIMER_COMMAND_RECEIVED(pxTimer, xMessageID, xMessageValue)
 
#define traceTIMER_COMMAND_SEND(xTimer, xMessageID, xMessageValueValue, xReturn)
 
#define traceTIMER_CREATE(pxNewTimer)
 
#define traceTIMER_CREATE_FAILED()
 
#define traceTIMER_EXPIRED(pxTimer)
 
#define vPortFreeAligned(pvBlockToFree)   vPortFree( pvBlockToFree )
 
#define vQueueAddToRegistry(xQueue, pcName)
 
#define vQueueUnregisterQueue(xQueue)
 
#define xCoRoutineHandle   CoRoutineHandle_t
 
#define xList   List_t
 
#define xListItem   ListItem_t
 
#define xMemoryRegion   MemoryRegion_t
 
#define xQueueHandle   QueueHandle_t
 
#define xQueueSetHandle   QueueSetHandle_t
 
#define xQueueSetMemberHandle   QueueSetMemberHandle_t
 
#define xSemaphoreHandle   SemaphoreHandle_t
 
#define xTaskHandle   TaskHandle_t
 
#define xTaskParameters   TaskParameters_t
 
#define xTaskStatusType   TaskStatus_t
 
#define xTimeOutType   TimeOut_t
 
#define xTimerHandle   TimerHandle_t
 

#define configASSERT (   x)
#define configASSERT_DEFINED   0
#define configCHECK_FOR_STACK_OVERFLOW   0
#define configENABLE_BACKWARD_COMPATIBILITY   1
#define configEXPECTED_IDLE_TIME_BEFORE_SLEEP   2
#define configGENERATE_RUN_TIME_STATS   0
#define configIDLE_SHOULD_YIELD   1
#define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS   0
#define configMAX_TASK_NAME_LEN   16
#define configPOST_SLEEP_PROCESSING (   x)
#define configPRE_SLEEP_PROCESSING (   x)
#define configQUEUE_REGISTRY_SIZE   0U
#define configUSE_ALTERNATIVE_API   0
#define configUSE_APPLICATION_TASK_TAG   0
#define configUSE_COUNTING_SEMAPHORES   0
#define configUSE_MALLOC_FAILED_HOOK   0
#define configUSE_MUTEXES   0
#define configUSE_NEWLIB_REENTRANT   0
#define configUSE_PORT_OPTIMISED_TASK_SELECTION   0
#define configUSE_QUEUE_SETS   0
#define configUSE_RECURSIVE_MUTEXES   0
#define configUSE_STATS_FORMATTING_FUNCTIONS   0
#define configUSE_TICKLESS_IDLE   0
#define configUSE_TIME_SLICING   1
#define configUSE_TIMERS   0
#define configUSE_TRACE_FACILITY   0
#define eTaskStateGet   eTaskGetState
#define INCLUDE_eTaskGetState   0
#define INCLUDE_pcTaskGetTaskName   0
#define INCLUDE_uxTaskGetStackHighWaterMark   0
#define INCLUDE_xEventGroupSetBitFromISR   0
#define INCLUDE_xQueueGetMutexHolder   0
#define INCLUDE_xSemaphoreGetMutexHolder   INCLUDE_xQueueGetMutexHolder
#define INCLUDE_xTaskGetCurrentTaskHandle   0
#define INCLUDE_xTaskGetIdleTaskHandle   0
#define INCLUDE_xTaskGetSchedulerState   0
#define INCLUDE_xTaskResumeFromISR   1
#define INCLUDE_xTimerGetTimerDaemonTaskHandle   0
#define INCLUDE_xTimerPendFunctionCall   0
#define mtCOVERAGE_TEST_MARKER ( )
#define pdTASK_CODE   TaskFunction_t
#define pdTASK_HOOK_CODE   TaskHookFunction_t
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID ( )
#define portCLEAN_UP_TCB (   pxTCB)    ( void ) pxTCB
#define portCLEAR_INTERRUPT_MASK_FROM_ISR (   uxSavedStatusValue)    ( void ) uxSavedStatusValue
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS ( )
#define portCRITICAL_NESTING_IN_TCB   0
#define portPOINTER_SIZE_TYPE   uint32_t
#define portPRE_TASK_DELETE_HOOK (   pvTaskToDelete,
  pxYieldPending 
)
#define portPRIVILEGE_BIT   ( ( UBaseType_t ) 0x00 )
#define portSET_INTERRUPT_MASK_FROM_ISR ( )    0
#define portSETUP_TCB (   pxTCB)    ( void ) pxTCB
#define portSUPPRESS_TICKS_AND_SLEEP (   xExpectedIdleTime)
#define portTASK_USES_FLOATING_POINT ( )
#define portTICK_RATE_MS   portTICK_PERIOD_MS
#define portTickType   TickType_t
#define portYIELD_WITHIN_API   portYIELD
#define pvPortMallocAligned (   x,
  puxStackBuffer 
)    ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )
#define tmrTIMER_CALLBACK   TimerCallbackFunction_t
#define traceBLOCKING_ON_QUEUE_RECEIVE (   pxQueue)
#define traceBLOCKING_ON_QUEUE_SEND (   pxQueue)
#define traceCREATE_COUNTING_SEMAPHORE ( )
#define traceCREATE_COUNTING_SEMAPHORE_FAILED ( )
#define traceCREATE_MUTEX (   pxNewQueue)
#define traceCREATE_MUTEX_FAILED ( )
#define traceEND ( )
#define traceEVENT_GROUP_CLEAR_BITS (   xEventGroup,
  uxBitsToClear 
)
#define traceEVENT_GROUP_CLEAR_BITS_FROM_ISR (   xEventGroup,
  uxBitsToClear 
)
#define traceEVENT_GROUP_CREATE (   xEventGroup)
#define traceEVENT_GROUP_CREATE_FAILED ( )
#define traceEVENT_GROUP_DELETE (   xEventGroup)
#define traceEVENT_GROUP_SET_BITS (   xEventGroup,
  uxBitsToSet 
)
#define traceEVENT_GROUP_SET_BITS_FROM_ISR (   xEventGroup,
  uxBitsToSet 
)
#define traceEVENT_GROUP_SYNC_BLOCK (   xEventGroup,
  uxBitsToSet,
  uxBitsToWaitFor 
)
#define traceEVENT_GROUP_SYNC_END (   xEventGroup,
  uxBitsToSet,
  uxBitsToWaitFor,
  xTimeoutOccurred 
)    ( void ) xTimeoutOccurred
#define traceEVENT_GROUP_WAIT_BITS_BLOCK (   xEventGroup,
  uxBitsToWaitFor 
)
#define traceEVENT_GROUP_WAIT_BITS_END (   xEventGroup,
  uxBitsToWaitFor,
  xTimeoutOccurred 
)    ( void ) xTimeoutOccurred
#define traceFREE (   pvAddress,
  uiSize 
)
#define traceGIVE_MUTEX_RECURSIVE (   pxMutex)
#define traceGIVE_MUTEX_RECURSIVE_FAILED (   pxMutex)
#define traceINCREASE_TICK_COUNT (   x)
#define traceLOW_POWER_IDLE_BEGIN ( )
#define traceLOW_POWER_IDLE_END ( )
#define traceMALLOC (   pvAddress,
  uiSize 
)
#define traceMOVED_TASK_TO_READY_STATE (   pxTCB)
#define tracePEND_FUNC_CALL (   xFunctionToPend,
  pvParameter1,
  ulParameter2,
  ret 
)
#define tracePEND_FUNC_CALL_FROM_ISR (   xFunctionToPend,
  pvParameter1,
  ulParameter2,
  ret 
)
#define traceQUEUE_CREATE (   pxNewQueue)
#define traceQUEUE_CREATE_FAILED (   ucQueueType)
#define traceQUEUE_DELETE (   pxQueue)
#define traceQUEUE_PEEK (   pxQueue)
#define traceQUEUE_PEEK_FROM_ISR (   pxQueue)
#define traceQUEUE_PEEK_FROM_ISR_FAILED (   pxQueue)
#define traceQUEUE_RECEIVE (   pxQueue)
#define traceQUEUE_RECEIVE_FAILED (   pxQueue)
#define traceQUEUE_RECEIVE_FROM_ISR (   pxQueue)
#define traceQUEUE_RECEIVE_FROM_ISR_FAILED (   pxQueue)
#define traceQUEUE_REGISTRY_ADD (   xQueue,
  pcQueueName 
)
#define traceQUEUE_SEND (   pxQueue)
#define traceQUEUE_SEND_FAILED (   pxQueue)
#define traceQUEUE_SEND_FROM_ISR (   pxQueue)
#define traceQUEUE_SEND_FROM_ISR_FAILED (   pxQueue)
#define traceSTART ( )
#define traceTAKE_MUTEX_RECURSIVE (   pxMutex)
#define traceTAKE_MUTEX_RECURSIVE_FAILED (   pxMutex)
#define traceTASK_CREATE (   pxNewTCB)
#define traceTASK_CREATE_FAILED ( )
#define traceTASK_DELAY ( )
#define traceTASK_DELAY_UNTIL ( )
#define traceTASK_DELETE (   pxTaskToDelete)
#define traceTASK_INCREMENT_TICK (   xTickCount)
#define traceTASK_PRIORITY_DISINHERIT (   pxTCBOfMutexHolder,
  uxOriginalPriority 
)
#define traceTASK_PRIORITY_INHERIT (   pxTCBOfMutexHolder,
  uxInheritedPriority 
)
#define traceTASK_PRIORITY_SET (   pxTask,
  uxNewPriority 
)
#define traceTASK_RESUME (   pxTaskToResume)
#define traceTASK_RESUME_FROM_ISR (   pxTaskToResume)
#define traceTASK_SUSPEND (   pxTaskToSuspend)
#define traceTASK_SWITCHED_IN ( )
#define traceTASK_SWITCHED_OUT ( )
#define traceTIMER_COMMAND_RECEIVED (   pxTimer,
  xMessageID,
  xMessageValue 
)
#define traceTIMER_COMMAND_SEND (   xTimer,
  xMessageID,
  xMessageValueValue,
  xReturn 
)
#define traceTIMER_CREATE (   pxNewTimer)
#define traceTIMER_CREATE_FAILED ( )
#define traceTIMER_EXPIRED (   pxTimer)
#define vPortFreeAligned (   pvBlockToFree)    vPortFree( pvBlockToFree )
#define vQueueAddToRegistry (   xQueue,
  pcName 
)
#define vQueueUnregisterQueue (   xQueue)
#define xList   List_t
#define xListItem   ListItem_t
#define xTaskHandle   TaskHandle_t
#define xTimeOutType   TimeOut_t