uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FreeRTOS.h File Reference
#include <stddef.h>
#include "projdefs.h"
#include "FreeRTOSConfig.h"
#include "portable.h"

Go to the source code of this file.

Macros

#define configUSE_PORT_OPTIMISED_TASK_SELECTION   0
 
#define INCLUDE_xTaskGetIdleTaskHandle   0
 
#define INCLUDE_xTimerGetTimerDaemonTaskHandle   0
 
#define INCLUDE_xQueueGetMutexHolder   0
 
#define INCLUDE_xSemaphoreGetMutexHolder   INCLUDE_xQueueGetMutexHolder
 
#define INCLUDE_pcTaskGetTaskName   0
 
#define configUSE_APPLICATION_TASK_TAG   0
 
#define INCLUDE_uxTaskGetStackHighWaterMark   0
 
#define INCLUDE_eTaskGetState   0
 
#define configUSE_RECURSIVE_MUTEXES   0
 
#define configUSE_MUTEXES   0
 
#define configUSE_TIMERS   0
 
#define configUSE_COUNTING_SEMAPHORES   0
 
#define configUSE_ALTERNATIVE_API   0
 
#define portCRITICAL_NESTING_IN_TCB   0
 
#define configMAX_TASK_NAME_LEN   16
 
#define configIDLE_SHOULD_YIELD   1
 
#define INCLUDE_xTaskResumeFromISR   1
 
#define configASSERT(x)
 
#define configASSERT_DEFINED   0
 
#define INCLUDE_xTaskGetSchedulerState   0
 
#define INCLUDE_xTaskGetCurrentTaskHandle   0
 
#define portSET_INTERRUPT_MASK_FROM_ISR()   0
 
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(uxSavedStatusValue)   ( void ) uxSavedStatusValue
 
#define portCLEAN_UP_TCB(pxTCB)   ( void ) pxTCB
 
#define portSETUP_TCB(pxTCB)   ( void ) pxTCB
 
#define configQUEUE_REGISTRY_SIZE   0U
 
#define vQueueAddToRegistry(xQueue, pcName)
 
#define vQueueUnregisterQueue(xQueue)
 
#define portPOINTER_SIZE_TYPE   unsigned long
 
#define traceSTART()
 
#define traceEND()
 
#define traceTASK_SWITCHED_IN()
 
#define traceINCREASE_TICK_COUNT(x)
 
#define traceLOW_POWER_IDLE_BEGIN()
 
#define traceLOW_POWER_IDLE_END()
 
#define traceTASK_SWITCHED_OUT()
 
#define traceTASK_PRIORITY_INHERIT(pxTCBOfMutexHolder, uxInheritedPriority)
 
#define traceTASK_PRIORITY_DISINHERIT(pxTCBOfMutexHolder, uxOriginalPriority)
 
#define traceBLOCKING_ON_QUEUE_RECEIVE(pxQueue)
 
#define traceBLOCKING_ON_QUEUE_SEND(pxQueue)
 
#define configCHECK_FOR_STACK_OVERFLOW   0
 
#define traceMOVED_TASK_TO_READY_STATE(pxTCB)
 
#define traceQUEUE_CREATE(pxNewQueue)
 
#define traceQUEUE_CREATE_FAILED(ucQueueType)
 
#define traceCREATE_MUTEX(pxNewQueue)
 
#define traceCREATE_MUTEX_FAILED()
 
#define traceGIVE_MUTEX_RECURSIVE(pxMutex)
 
#define traceGIVE_MUTEX_RECURSIVE_FAILED(pxMutex)
 
#define traceTAKE_MUTEX_RECURSIVE(pxMutex)
 
#define traceTAKE_MUTEX_RECURSIVE_FAILED(pxMutex)
 
#define traceCREATE_COUNTING_SEMAPHORE()
 
#define traceCREATE_COUNTING_SEMAPHORE_FAILED()
 
#define traceQUEUE_SEND(pxQueue)
 
#define traceQUEUE_SEND_FAILED(pxQueue)
 
#define traceQUEUE_RECEIVE(pxQueue)
 
#define traceQUEUE_PEEK(pxQueue)
 
#define traceQUEUE_PEEK_FROM_ISR(pxQueue)
 
#define traceQUEUE_RECEIVE_FAILED(pxQueue)
 
#define traceQUEUE_SEND_FROM_ISR(pxQueue)
 
#define traceQUEUE_SEND_FROM_ISR_FAILED(pxQueue)
 
#define traceQUEUE_RECEIVE_FROM_ISR(pxQueue)
 
#define traceQUEUE_RECEIVE_FROM_ISR_FAILED(pxQueue)
 
#define traceQUEUE_PEEK_FROM_ISR_FAILED(pxQueue)
 
#define traceQUEUE_DELETE(pxQueue)
 
#define traceTASK_CREATE(pxNewTCB)
 
#define traceTASK_CREATE_FAILED()
 
#define traceTASK_DELETE(pxTaskToDelete)
 
#define traceTASK_DELAY_UNTIL()
 
#define traceTASK_DELAY()
 
#define traceTASK_PRIORITY_SET(pxTask, uxNewPriority)
 
#define traceTASK_SUSPEND(pxTaskToSuspend)
 
#define traceTASK_RESUME(pxTaskToResume)
 
#define traceTASK_RESUME_FROM_ISR(pxTaskToResume)
 
#define traceTASK_INCREMENT_TICK(xTickCount)
 
#define traceTIMER_CREATE(pxNewTimer)
 
#define traceTIMER_CREATE_FAILED()
 
#define traceTIMER_COMMAND_SEND(xTimer, xMessageID, xMessageValueValue, xReturn)
 
#define traceTIMER_EXPIRED(pxTimer)
 
#define traceTIMER_COMMAND_RECEIVED(pxTimer, xMessageID, xMessageValue)
 
#define traceMALLOC(pvAddress, uiSize)
 
#define traceFREE(pvAddress, uiSize)
 
#define configGENERATE_RUN_TIME_STATS   0
 
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
 
#define configUSE_MALLOC_FAILED_HOOK   0
 
#define portPRIVILEGE_BIT   ( ( unsigned portBASE_TYPE ) 0x00 )
 
#define portYIELD_WITHIN_API   portYIELD
 
#define pvPortMallocAligned(x, puxStackBuffer)   ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )
 
#define vPortFreeAligned(pvBlockToFree)   vPortFree( pvBlockToFree )
 
#define portSUPPRESS_TICKS_AND_SLEEP(xExpectedIdleTime)
 
#define configEXPECTED_IDLE_TIME_BEFORE_SLEEP   2
 
#define configUSE_TICKLESS_IDLE   0
 
#define configPRE_SLEEP_PROCESSING(x)
 
#define configPOST_SLEEP_PROCESSING(x)
 
#define configUSE_QUEUE_SETS   0
 
#define portTASK_USES_FLOATING_POINT()
 
#define configUSE_TIME_SLICING   1
 
#define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS   0
 
#define configUSE_NEWLIB_REENTRANT   0
 
#define configUSE_STATS_FORMATTING_FUNCTIONS   0
 
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
 
#define eTaskStateGet   eTaskGetState
 

Typedefs

typedef portBASE_TYPE(* pdTASK_HOOK_CODE )(void *)
 

Macro Definition Documentation

#define configASSERT (   x)

Definition at line 222 of file FreeRTOS.h.

#define configASSERT_DEFINED   0

Definition at line 223 of file FreeRTOS.h.

#define configCHECK_FOR_STACK_OVERFLOW   0

Definition at line 358 of file FreeRTOS.h.

#define configEXPECTED_IDLE_TIME_BEFORE_SLEEP   2

Definition at line 570 of file FreeRTOS.h.

#define configGENERATE_RUN_TIME_STATS   0

Definition at line 524 of file FreeRTOS.h.

#define configIDLE_SHOULD_YIELD   1

Definition at line 210 of file FreeRTOS.h.

#define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS   0

Definition at line 602 of file FreeRTOS.h.

#define configMAX_TASK_NAME_LEN   16

Definition at line 206 of file FreeRTOS.h.

#define configPOST_SLEEP_PROCESSING (   x)

Definition at line 586 of file FreeRTOS.h.

#define configPRE_SLEEP_PROCESSING (   x)

Definition at line 582 of file FreeRTOS.h.

#define configQUEUE_REGISTRY_SIZE   0U

Definition at line 271 of file FreeRTOS.h.

#define configUSE_ALTERNATIVE_API   0

Definition at line 198 of file FreeRTOS.h.

#define configUSE_APPLICATION_TASK_TAG   0

Definition at line 170 of file FreeRTOS.h.

#define configUSE_COUNTING_SEMAPHORES   0

Definition at line 194 of file FreeRTOS.h.

#define configUSE_MALLOC_FAILED_HOOK   0

Definition at line 546 of file FreeRTOS.h.

#define configUSE_MUTEXES   0

Definition at line 186 of file FreeRTOS.h.

#define configUSE_NEWLIB_REENTRANT   0

Definition at line 606 of file FreeRTOS.h.

#define configUSE_PORT_OPTIMISED_TASK_SELECTION   0

Definition at line 84 of file FreeRTOS.h.

#define configUSE_QUEUE_SETS   0

Definition at line 590 of file FreeRTOS.h.

#define configUSE_RECURSIVE_MUTEXES   0

Definition at line 182 of file FreeRTOS.h.

#define configUSE_STATS_FORMATTING_FUNCTIONS   0

Definition at line 610 of file FreeRTOS.h.

#define configUSE_TICKLESS_IDLE   0

Definition at line 578 of file FreeRTOS.h.

#define configUSE_TIME_SLICING   1

Definition at line 598 of file FreeRTOS.h.

#define configUSE_TIMERS   0

Definition at line 190 of file FreeRTOS.h.

#define eTaskStateGet   eTaskGetState

Definition at line 618 of file FreeRTOS.h.

#define INCLUDE_eTaskGetState   0

Definition at line 178 of file FreeRTOS.h.

#define INCLUDE_pcTaskGetTaskName   0

Definition at line 166 of file FreeRTOS.h.

#define INCLUDE_uxTaskGetStackHighWaterMark   0

Definition at line 174 of file FreeRTOS.h.

#define INCLUDE_xQueueGetMutexHolder   0

Definition at line 158 of file FreeRTOS.h.

#define INCLUDE_xSemaphoreGetMutexHolder   INCLUDE_xQueueGetMutexHolder

Definition at line 162 of file FreeRTOS.h.

#define INCLUDE_xTaskGetCurrentTaskHandle   0

Definition at line 250 of file FreeRTOS.h.

#define INCLUDE_xTaskGetIdleTaskHandle   0

Definition at line 150 of file FreeRTOS.h.

#define INCLUDE_xTaskGetSchedulerState   0

Definition at line 246 of file FreeRTOS.h.

#define INCLUDE_xTaskResumeFromISR   1

Definition at line 218 of file FreeRTOS.h.

#define INCLUDE_xTimerGetTimerDaemonTaskHandle   0

Definition at line 154 of file FreeRTOS.h.

#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID ( )

Definition at line 614 of file FreeRTOS.h.

#define portCLEAN_UP_TCB (   pxTCB)    ( void ) pxTCB

Definition at line 263 of file FreeRTOS.h.

#define portCLEAR_INTERRUPT_MASK_FROM_ISR (   uxSavedStatusValue)    ( void ) uxSavedStatusValue

Definition at line 259 of file FreeRTOS.h.

#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS ( )

Definition at line 542 of file FreeRTOS.h.

#define portCRITICAL_NESTING_IN_TCB   0

Definition at line 202 of file FreeRTOS.h.

#define portPOINTER_SIZE_TYPE   unsigned long

Definition at line 280 of file FreeRTOS.h.

#define portPRIVILEGE_BIT   ( ( unsigned portBASE_TYPE ) 0x00 )

Definition at line 550 of file FreeRTOS.h.

#define portSET_INTERRUPT_MASK_FROM_ISR ( )    0

Definition at line 255 of file FreeRTOS.h.

#define portSETUP_TCB (   pxTCB)    ( void ) pxTCB

Definition at line 267 of file FreeRTOS.h.

#define portSUPPRESS_TICKS_AND_SLEEP (   xExpectedIdleTime)

Definition at line 566 of file FreeRTOS.h.

#define portTASK_USES_FLOATING_POINT ( )

Definition at line 594 of file FreeRTOS.h.

#define portYIELD_WITHIN_API   portYIELD

Definition at line 554 of file FreeRTOS.h.

#define pvPortMallocAligned (   x,
  puxStackBuffer 
)    ( ( ( puxStackBuffer ) == NULL ) ? ( pvPortMalloc( ( x ) ) ) : ( puxStackBuffer ) )

Definition at line 558 of file FreeRTOS.h.

#define traceBLOCKING_ON_QUEUE_RECEIVE (   pxQueue)

Definition at line 346 of file FreeRTOS.h.

#define traceBLOCKING_ON_QUEUE_SEND (   pxQueue)

Definition at line 354 of file FreeRTOS.h.

#define traceCREATE_COUNTING_SEMAPHORE ( )

Definition at line 400 of file FreeRTOS.h.

#define traceCREATE_COUNTING_SEMAPHORE_FAILED ( )

Definition at line 404 of file FreeRTOS.h.

#define traceCREATE_MUTEX (   pxNewQueue)

Definition at line 376 of file FreeRTOS.h.

#define traceCREATE_MUTEX_FAILED ( )

Definition at line 380 of file FreeRTOS.h.

#define traceEND ( )

Definition at line 293 of file FreeRTOS.h.

#define traceFREE (   pvAddress,
  uiSize 
)

Definition at line 520 of file FreeRTOS.h.

#define traceGIVE_MUTEX_RECURSIVE (   pxMutex)

Definition at line 384 of file FreeRTOS.h.

#define traceGIVE_MUTEX_RECURSIVE_FAILED (   pxMutex)

Definition at line 388 of file FreeRTOS.h.

#define traceINCREASE_TICK_COUNT (   x)

Definition at line 305 of file FreeRTOS.h.

#define traceLOW_POWER_IDLE_BEGIN ( )

Definition at line 310 of file FreeRTOS.h.

#define traceLOW_POWER_IDLE_END ( )

Definition at line 315 of file FreeRTOS.h.

#define traceMALLOC (   pvAddress,
  uiSize 
)

Definition at line 516 of file FreeRTOS.h.

#define traceMOVED_TASK_TO_READY_STATE (   pxTCB)

Definition at line 364 of file FreeRTOS.h.

#define traceQUEUE_CREATE (   pxNewQueue)

Definition at line 368 of file FreeRTOS.h.

#define traceQUEUE_CREATE_FAILED (   ucQueueType)

Definition at line 372 of file FreeRTOS.h.

#define traceQUEUE_DELETE (   pxQueue)

Definition at line 452 of file FreeRTOS.h.

#define traceQUEUE_PEEK (   pxQueue)

Definition at line 420 of file FreeRTOS.h.

#define traceQUEUE_PEEK_FROM_ISR (   pxQueue)

Definition at line 424 of file FreeRTOS.h.

#define traceQUEUE_PEEK_FROM_ISR_FAILED (   pxQueue)

Definition at line 448 of file FreeRTOS.h.

#define traceQUEUE_RECEIVE (   pxQueue)

Definition at line 416 of file FreeRTOS.h.

#define traceQUEUE_RECEIVE_FAILED (   pxQueue)

Definition at line 428 of file FreeRTOS.h.

#define traceQUEUE_RECEIVE_FROM_ISR (   pxQueue)

Definition at line 440 of file FreeRTOS.h.

#define traceQUEUE_RECEIVE_FROM_ISR_FAILED (   pxQueue)

Definition at line 444 of file FreeRTOS.h.

#define traceQUEUE_SEND (   pxQueue)

Definition at line 408 of file FreeRTOS.h.

#define traceQUEUE_SEND_FAILED (   pxQueue)

Definition at line 412 of file FreeRTOS.h.

#define traceQUEUE_SEND_FROM_ISR (   pxQueue)

Definition at line 432 of file FreeRTOS.h.

#define traceQUEUE_SEND_FROM_ISR_FAILED (   pxQueue)

Definition at line 436 of file FreeRTOS.h.

#define traceSTART ( )

Definition at line 287 of file FreeRTOS.h.

#define traceTAKE_MUTEX_RECURSIVE (   pxMutex)

Definition at line 392 of file FreeRTOS.h.

#define traceTAKE_MUTEX_RECURSIVE_FAILED (   pxMutex)

Definition at line 396 of file FreeRTOS.h.

#define traceTASK_CREATE (   pxNewTCB)

Definition at line 456 of file FreeRTOS.h.

#define traceTASK_CREATE_FAILED ( )

Definition at line 460 of file FreeRTOS.h.

#define traceTASK_DELAY ( )

Definition at line 472 of file FreeRTOS.h.

#define traceTASK_DELAY_UNTIL ( )

Definition at line 468 of file FreeRTOS.h.

#define traceTASK_DELETE (   pxTaskToDelete)

Definition at line 464 of file FreeRTOS.h.

#define traceTASK_INCREMENT_TICK (   xTickCount)

Definition at line 492 of file FreeRTOS.h.

#define traceTASK_PRIORITY_DISINHERIT (   pxTCBOfMutexHolder,
  uxOriginalPriority 
)

Definition at line 338 of file FreeRTOS.h.

#define traceTASK_PRIORITY_INHERIT (   pxTCBOfMutexHolder,
  uxInheritedPriority 
)

Definition at line 330 of file FreeRTOS.h.

#define traceTASK_PRIORITY_SET (   pxTask,
  uxNewPriority 
)

Definition at line 476 of file FreeRTOS.h.

#define traceTASK_RESUME (   pxTaskToResume)

Definition at line 484 of file FreeRTOS.h.

#define traceTASK_RESUME_FROM_ISR (   pxTaskToResume)

Definition at line 488 of file FreeRTOS.h.

#define traceTASK_SUSPEND (   pxTaskToSuspend)

Definition at line 480 of file FreeRTOS.h.

#define traceTASK_SWITCHED_IN ( )

Definition at line 299 of file FreeRTOS.h.

#define traceTASK_SWITCHED_OUT ( )

Definition at line 321 of file FreeRTOS.h.

#define traceTIMER_COMMAND_RECEIVED (   pxTimer,
  xMessageID,
  xMessageValue 
)

Definition at line 512 of file FreeRTOS.h.

#define traceTIMER_COMMAND_SEND (   xTimer,
  xMessageID,
  xMessageValueValue,
  xReturn 
)

Definition at line 504 of file FreeRTOS.h.

#define traceTIMER_CREATE (   pxNewTimer)

Definition at line 496 of file FreeRTOS.h.

#define traceTIMER_CREATE_FAILED ( )

Definition at line 500 of file FreeRTOS.h.

#define traceTIMER_EXPIRED (   pxTimer)

Definition at line 508 of file FreeRTOS.h.

#define vPortFreeAligned (   pvBlockToFree)    vPortFree( pvBlockToFree )

Definition at line 562 of file FreeRTOS.h.

#define vQueueAddToRegistry (   xQueue,
  pcName 
)

Definition at line 275 of file FreeRTOS.h.

#define vQueueUnregisterQueue (   xQueue)

Definition at line 276 of file FreeRTOS.h.

Typedef Documentation

typedef portBASE_TYPE(* pdTASK_HOOK_CODE)(void *)

Definition at line 93 of file FreeRTOS.h.