Microchip® Advanced Software Framework

FreeRTOS.h File Reference
#include <stddef.h>
#include "projdefs.h"
#include "FreeRTOSConfig.h"
#include "portable.h"

Macros

#define configASSERT(x)
 
#define configUSE_ALTERNATIVE_API   0
 
#define configUSE_APPLICATION_TASK_TAG   0
 
#define configUSE_COUNTING_SEMAPHORES   0
 
#define configUSE_MALLOC_FAILED_HOOK   0
 
#define configUSE_TIMERS   0
 
#define INCLUDE_xTaskGetCurrentTaskHandle   0
 
#define INCLUDE_xTaskGetSchedulerState   0
 
#define INCLUDE_xTaskResumeFromISR   1
 
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(uxSavedStatusValue)   ( void ) uxSavedStatusValue
 
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
 
#define portCRITICAL_NESTING_IN_TCB   0
 
#define portPRIVILEGE_BIT   ( ( unsigned portBASE_TYPE ) 0x00 )
 
#define portSET_INTERRUPT_MASK_FROM_ISR()   0
 
#define portYIELD_WITHIN_API   portYIELD
 
#define pvPortMallocAligned(x, puxStackBuffer)   ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )
 
#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 traceGIVE_MUTEX_RECURSIVE(pxMutex)
 
#define traceGIVE_MUTEX_RECURSIVE_FAILED(pxMutex)
 
#define traceQUEUE_CREATE(pxNewQueue)
 
#define traceQUEUE_CREATE_FAILED()
 
#define traceQUEUE_DELETE(pxQueue)
 
#define traceQUEUE_PEEK(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_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_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 )
 

Typedefs

typedef portBASE_TYPE(* pdTASK_HOOK_CODE )(void *)
 

#define configUSE_ALTERNATIVE_API   0
#define configUSE_APPLICATION_TASK_TAG   0
#define configUSE_COUNTING_SEMAPHORES   0
#define configUSE_MALLOC_FAILED_HOOK   0
#define configUSE_TIMERS   0
#define INCLUDE_xTaskGetCurrentTaskHandle   0
#define INCLUDE_xTaskGetSchedulerState   0
#define INCLUDE_xTaskResumeFromISR   1
#define portCLEAR_INTERRUPT_MASK_FROM_ISR (   uxSavedStatusValue)    ( void ) uxSavedStatusValue
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS ( )

Referenced by vTaskStartScheduler().

#define portCRITICAL_NESTING_IN_TCB   0
#define portPRIVILEGE_BIT   ( ( unsigned portBASE_TYPE ) 0x00 )
#define portSET_INTERRUPT_MASK_FROM_ISR ( )    0
#define pvPortMallocAligned (   x,
  puxStackBuffer 
)    ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )

Referenced by prvAllocateTCBAndStack().

#define traceBLOCKING_ON_QUEUE_RECEIVE (   pxQueue)

Referenced by xQueueGenericReceive().

#define traceBLOCKING_ON_QUEUE_SEND (   pxQueue)

Referenced by xQueueGenericSend().

#define traceCREATE_COUNTING_SEMAPHORE ( )
#define traceCREATE_COUNTING_SEMAPHORE_FAILED ( )
#define traceCREATE_MUTEX (   pxNewQueue)
#define traceCREATE_MUTEX_FAILED ( )
#define traceEND ( )
#define traceGIVE_MUTEX_RECURSIVE (   pxMutex)
#define traceGIVE_MUTEX_RECURSIVE_FAILED (   pxMutex)
#define traceQUEUE_CREATE (   pxNewQueue)

Referenced by xQueueCreate().

#define traceQUEUE_CREATE_FAILED ( )

Referenced by xQueueCreate().

#define traceQUEUE_DELETE (   pxQueue)

Referenced by vQueueDelete().

#define traceQUEUE_PEEK (   pxQueue)

Referenced by xQueueGenericReceive().

#define traceQUEUE_RECEIVE (   pxQueue)

Referenced by xQueueGenericReceive().

#define traceQUEUE_RECEIVE_FAILED (   pxQueue)

Referenced by xQueueGenericReceive().

#define traceQUEUE_RECEIVE_FROM_ISR (   pxQueue)

Referenced by xQueueReceiveFromISR().

#define traceQUEUE_RECEIVE_FROM_ISR_FAILED (   pxQueue)

Referenced by xQueueReceiveFromISR().

#define traceQUEUE_SEND (   pxQueue)

Referenced by xQueueGenericSend().

#define traceQUEUE_SEND_FAILED (   pxQueue)

Referenced by xQueueGenericSend().

#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)

Referenced by prvInitialiseTaskLists().

#define traceTASK_CREATE_FAILED ( )

Referenced by prvInitialiseTaskLists().

#define traceTASK_DELAY ( )

Referenced by vTaskDelay().

#define traceTASK_DELAY_UNTIL ( )
#define traceTASK_DELETE (   pxTaskToDelete)
#define traceTASK_INCREMENT_TICK (   xTickCount)

Referenced by vTaskIncrementTick().

#define traceTASK_PRIORITY_SET (   pxTask,
  uxNewPriority 
)

Referenced by vTaskPrioritySet().

#define traceTASK_RESUME (   pxTaskToResume)

Referenced by vTaskResume().

#define traceTASK_RESUME_FROM_ISR (   pxTaskToResume)

Referenced by xTaskResumeFromISR().

#define traceTASK_SUSPEND (   pxTaskToSuspend)

Referenced by vTaskSuspend().

#define traceTASK_SWITCHED_IN ( )

Referenced by vTaskSwitchContext().

#define traceTASK_SWITCHED_OUT ( )

Referenced by vTaskSwitchContext().

#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 )

typedef portBASE_TYPE(* pdTASK_HOOK_CODE)(void *)