Skip to content

File task.h

FileList > FreeRTOS > include > task.h

Go to the source code of this file.

  • #include "list.h"

Classes

Type Name
struct xMEMORY_REGION
struct xTASK_PARAMETERS
struct xTASK_STATUS
struct xTIME_OUT

Public Types

Type Name
typedef struct xMEMORY_REGION MemoryRegion_t
typedef struct tskTaskControlBlock * TaskHandle_t
typedef BaseType_t(* TaskHookFunction_t
typedef struct xTASK_PARAMETERS TaskParameters_t
typedef struct xTASK_STATUS TaskStatus_t
typedef struct xTIME_OUT TimeOut_t
enum eNotifyAction
enum eSleepModeStatus
enum eTaskState

Public Functions

Type Name
eSleepModeStatus eTaskConfirmSleepModeStatus (void)
eTaskState eTaskGetState (TaskHandle_t xTask)
char * pcTaskGetName (TaskHandle_t xTaskToQuery)
TaskHandle_t pvTaskIncrementMutexHeldCount (void)
uint32_t ulTaskGetIdleRunTimeCounter (void)
uint32_t ulTaskNotifyTake (BaseType_t xClearCountOnExit, TickType_t xTicksToWait)
uint32_t ulTaskNotifyValueClear (TaskHandle_t xTask, uint32_t ulBitsToClear)
UBaseType_t uxTaskGetNumberOfTasks (void)
UBaseType_t uxTaskGetStackHighWaterMark (TaskHandle_t xTask)
configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2 (TaskHandle_t xTask)
UBaseType_t uxTaskGetSystemState (TaskStatus_t *const pxTaskStatusArray, const UBaseType_t uxArraySize, uint32_t *const pulTotalRunTime)
UBaseType_t uxTaskGetTaskNumber (TaskHandle_t xTask)
UBaseType_t uxTaskPriorityGet (const TaskHandle_t xTask)
UBaseType_t uxTaskPriorityGetFromISR (const TaskHandle_t xTask)
TickType_t uxTaskResetEventItemValue (void)
void vTaskAllocateMPURegions (TaskHandle_t xTask, const MemoryRegion_t *const pxRegions)
void vTaskDelay (const TickType_t xTicksToDelay)
void vTaskDelayUntil (TickType_t *const pxPreviousWakeTime, const TickType_t xTimeIncrement)
void vTaskDelete (TaskHandle_t xTaskToDelete)
void vTaskEndScheduler (void)
void vTaskGetInfo (TaskHandle_t xTask, TaskStatus_t * pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState)
void vTaskGetRunTimeStats (char * pcWriteBuffer)
void vTaskInternalSetTimeOutState (TimeOut_t *const pxTimeOut)
void vTaskList (char * pcWriteBuffer)
void vTaskMissedYield (void)
void vTaskNotifyGiveFromISR (TaskHandle_t xTaskToNotify, BaseType_t * pxHigherPriorityTaskWoken)
void vTaskPlaceOnEventList (List_t *const pxEventList, const TickType_t xTicksToWait)
void vTaskPlaceOnEventListRestricted (List_t *const pxEventList, TickType_t xTicksToWait, const BaseType_t xWaitIndefinitely)
void vTaskPlaceOnUnorderedEventList (List_t * pxEventList, const TickType_t xItemValue, const TickType_t xTicksToWait)
void vTaskPriorityDisinheritAfterTimeout (TaskHandle_t const pxMutexHolder, UBaseType_t uxHighestPriorityWaitingTask)
void vTaskPrioritySet (TaskHandle_t xTask, UBaseType_t uxNewPriority)
void vTaskRemoveFromUnorderedEventList (ListItem_t * pxEventListItem, const TickType_t xItemValue)
void vTaskResume (TaskHandle_t xTaskToResume)
void vTaskSetTaskNumber (TaskHandle_t xTask, const UBaseType_t uxHandle)
void vTaskSetTimeOutState (TimeOut_t *const pxTimeOut)
void vTaskStartScheduler (void)
void vTaskStepTick (const TickType_t xTicksToJump)
void vTaskSuspend (TaskHandle_t xTaskToSuspend)
void vTaskSuspendAll (void)
portDONT_DISCARD void vTaskSwitchContext (void)
BaseType_t xTaskAbortDelay (TaskHandle_t xTask)
BaseType_t xTaskCallApplicationTaskHook (TaskHandle_t xTask, void * pvParameter)
BaseType_t xTaskCatchUpTicks (TickType_t xTicksToCatchUp)
BaseType_t xTaskCheckForTimeOut (TimeOut_t *const pxTimeOut, TickType_t *const pxTicksToWait)
BaseType_t xTaskGenericNotify (TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t * pulPreviousNotificationValue)
BaseType_t xTaskGenericNotifyFromISR (TaskHandle_t xTaskToNotify, uint32_t ulValue, eNotifyAction eAction, uint32_t * pulPreviousNotificationValue, BaseType_t * pxHigherPriorityTaskWoken)
TaskHandle_t xTaskGetCurrentTaskHandle (void)
TaskHandle_t xTaskGetHandle (const char * pcNameToQuery)
TaskHandle_t xTaskGetIdleTaskHandle (void)
BaseType_t xTaskGetSchedulerState (void)
TickType_t xTaskGetTickCount (void)
TickType_t xTaskGetTickCountFromISR (void)
BaseType_t xTaskIncrementTick (void)
BaseType_t xTaskNotifyStateClear (TaskHandle_t xTask)
BaseType_t xTaskNotifyWait (uint32_t ulBitsToClearOnEntry, uint32_t ulBitsToClearOnExit, uint32_t * pulNotificationValue, TickType_t xTicksToWait)
BaseType_t xTaskPriorityDisinherit (TaskHandle_t const pxMutexHolder)
BaseType_t xTaskPriorityInherit (TaskHandle_t const pxMutexHolder)
BaseType_t xTaskRemoveFromEventList (const List_t *const pxEventList)
BaseType_t xTaskResumeAll (void)
BaseType_t xTaskResumeFromISR (TaskHandle_t xTaskToResume)

Macros

Type Name
define taskDISABLE_INTERRUPTS () portDISABLE_INTERRUPTS()
define taskENABLE_INTERRUPTS () portENABLE_INTERRUPTS()
define taskENTER_CRITICAL () portENTER_CRITICAL()
define taskENTER_CRITICAL_FROM_ISR () portSET_INTERRUPT_MASK_FROM_ISR()
define taskEXIT_CRITICAL () portEXIT_CRITICAL()
define taskEXIT_CRITICAL_FROM_ISR (x) portCLEAR_INTERRUPT_MASK_FROM_ISR( x )
define taskSCHEDULER_NOT_STARTED ( ( BaseType_t ) 1 )
define taskSCHEDULER_RUNNING ( ( BaseType_t ) 2 )
define taskSCHEDULER_SUSPENDED ( ( BaseType_t ) 0 )
define taskYIELD () portYIELD()
define tskIDLE_PRIORITY ( ( UBaseType_t ) 0U )
define tskKERNEL_VERSION_BUILD 1
define tskKERNEL_VERSION_MAJOR 10
define tskKERNEL_VERSION_MINOR 3
define tskKERNEL_VERSION_NUMBER "V10.3.1"
define tskMPU_REGION_DEVICE_MEMORY ( 1UL << 4UL )
define tskMPU_REGION_EXECUTE_NEVER ( 1UL << 2UL )
define tskMPU_REGION_NORMAL_MEMORY ( 1UL << 3UL )
define tskMPU_REGION_READ_ONLY ( 1UL << 0UL )
define tskMPU_REGION_READ_WRITE ( 1UL << 1UL )
define xTaskNotify (xTaskToNotify, ulValue, eAction) xTaskGenericNotify( ( xTaskToNotify ), ( ulValue ), ( eAction ), NULL )
define xTaskNotifyAndQuery (xTaskToNotify, ulValue, eAction, pulPreviousNotifyValue) xTaskGenericNotify( ( xTaskToNotify ), ( ulValue ), ( eAction ), ( pulPreviousNotifyValue ) )
define xTaskNotifyAndQueryFromISR (xTaskToNotify, ulValue, eAction, pulPreviousNotificationValue, pxHigherPriorityTaskWoken) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( ulValue ), ( eAction ), ( pulPreviousNotificationValue ), ( pxHigherPriorityTaskWoken ) )
define xTaskNotifyFromISR (xTaskToNotify, ulValue, eAction, pxHigherPriorityTaskWoken) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( ulValue ), ( eAction ), NULL, ( pxHigherPriorityTaskWoken ) )
define xTaskNotifyGive (xTaskToNotify) xTaskGenericNotify( ( xTaskToNotify ), ( 0 ), eIncrement, NULL )

Public Types Documentation

typedef MemoryRegion_t

typedef struct xMEMORY_REGION MemoryRegion_t;

typedef TaskHandle_t

typedef struct tskTaskControlBlock* TaskHandle_t;

typedef TaskHookFunction_t

typedef BaseType_t(* TaskHookFunction_t) (void *);

typedef TaskParameters_t

typedef struct xTASK_PARAMETERS TaskParameters_t;

typedef TaskStatus_t

typedef struct xTASK_STATUS TaskStatus_t;

typedef TimeOut_t

typedef struct xTIME_OUT TimeOut_t;

enum eNotifyAction

enum eNotifyAction {
    eNoAction = 0,
    eSetBits,
    eIncrement,
    eSetValueWithOverwrite,
    eSetValueWithoutOverwrite
};

enum eSleepModeStatus

enum eSleepModeStatus {
    eAbortSleep = 0,
    eStandardSleep,
    eNoTasksWaitingTimeout
};

enum eTaskState

enum eTaskState {
    eRunning = 0,
    eReady,
    eBlocked,
    eSuspended,
    eDeleted,
    eInvalid
};

Public Functions Documentation

function eTaskConfirmSleepModeStatus

eSleepModeStatus eTaskConfirmSleepModeStatus (
    void
) 

function eTaskGetState

eTaskState eTaskGetState (
    TaskHandle_t xTask
) 

task. h

INCLUDE_eTaskGetState must be defined as 1 for this function to be available. See the configuration section for more information.

Obtain the state of any task. States are encoded by the eTaskState enumerated type.

Parameters:

  • xTask Handle of the task to be queried.

Returns:

The state of xTask at the time the function was called. Note the state of the task might change between the function being called, and the functions return value being tested by the calling task.

function pcTaskGetName

char * pcTaskGetName (
    TaskHandle_t xTaskToQuery
) 

function pvTaskIncrementMutexHeldCount

TaskHandle_t pvTaskIncrementMutexHeldCount (
    void
) 

function ulTaskGetIdleRunTimeCounter

uint32_t ulTaskGetIdleRunTimeCounter (
    void
) 

function ulTaskNotifyTake

uint32_t ulTaskNotifyTake (
    BaseType_t xClearCountOnExit,
    TickType_t xTicksToWait
) 

function ulTaskNotifyValueClear

uint32_t ulTaskNotifyValueClear (
    TaskHandle_t xTask,
    uint32_t ulBitsToClear
) 

function uxTaskGetNumberOfTasks

UBaseType_t uxTaskGetNumberOfTasks (
    void
) 

function uxTaskGetStackHighWaterMark

UBaseType_t uxTaskGetStackHighWaterMark (
    TaskHandle_t xTask
) 

task.h

INCLUDE_uxTaskGetStackHighWaterMark must be set to 1 in FreeRTOSConfig.h for this function to be available.

Returns the high water mark of the stack associated with xTask. That is, the minimum free stack space there has been (in words, so on a 32 bit machine a value of 1 means 4 bytes) since the task started. The smaller the returned number the closer the task has come to overflowing its stack.

uxTaskGetStackHighWaterMark() and uxTaskGetStackHighWaterMark2() are the same except for their return type. Using configSTACK_DEPTH_TYPE allows the user to determine the return type. It gets around the problem of the value overflowing on 8-bit types without breaking backward compatibility for applications that expect an 8-bit return type.

Parameters:

  • xTask Handle of the task associated with the stack to be checked. Set xTask to NULL to check the stack of the calling task.

Returns:

The smallest amount of free stack space there has been (in words, so actual spaces on the stack rather than bytes) since the task referenced by xTask was created.

function uxTaskGetStackHighWaterMark2

configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2 (
    TaskHandle_t xTask
) 

task.h

INCLUDE_uxTaskGetStackHighWaterMark2 must be set to 1 in FreeRTOSConfig.h for this function to be available.

Returns the high water mark of the stack associated with xTask. That is, the minimum free stack space there has been (in words, so on a 32 bit machine a value of 1 means 4 bytes) since the task started. The smaller the returned number the closer the task has come to overflowing its stack.

uxTaskGetStackHighWaterMark() and uxTaskGetStackHighWaterMark2() are the same except for their return type. Using configSTACK_DEPTH_TYPE allows the user to determine the return type. It gets around the problem of the value overflowing on 8-bit types without breaking backward compatibility for applications that expect an 8-bit return type.

Parameters:

  • xTask Handle of the task associated with the stack to be checked. Set xTask to NULL to check the stack of the calling task.

Returns:

The smallest amount of free stack space there has been (in words, so actual spaces on the stack rather than bytes) since the task referenced by xTask was created.

function uxTaskGetSystemState

UBaseType_t uxTaskGetSystemState (
    TaskStatus_t *const pxTaskStatusArray,
    const UBaseType_t uxArraySize,
    uint32_t *const pulTotalRunTime
) 

configUSE_TRACE_FACILITY must be defined as 1 in FreeRTOSConfig.h for uxTaskGetSystemState() to be available.

uxTaskGetSystemState() populates an TaskStatus_t structure for each task in the system. TaskStatus_t structures contain, among other things, members for the task handle, task name, task priority, task state, and total amount of run time consumed by the task. See the TaskStatus_t structure definition in this file for the full member list.

NOTE: This function is intended for debugging use only as its use results in the scheduler remaining suspended for an extended period.

Parameters:

  • pxTaskStatusArray A pointer to an array of TaskStatus_t structures. The array must contain at least one TaskStatus_t structure for each task that is under the control of the RTOS. The number of tasks under the control of the RTOS can be determined using the uxTaskGetNumberOfTasks() API function.
  • uxArraySize The size of the array pointed to by the pxTaskStatusArray parameter. The size is specified as the number of indexes in the array, or the number of TaskStatus_t structures contained in the array, not by the number of bytes in the array.
  • pulTotalRunTime If configGENERATE_RUN_TIME_STATS is set to 1 in FreeRTOSConfig.h then *pulTotalRunTime is set by uxTaskGetSystemState() to the total run time (as defined by the run time stats clock, see http://www.freertos.org/rtos-run-time-stats.html) since the target booted. pulTotalRunTime can be set to NULL to omit the total run time information.

Returns:

The number of TaskStatus_t structures that were populated by uxTaskGetSystemState(). This should equal the number returned by the uxTaskGetNumberOfTasks() API function, but will be zero if the value passed in the uxArraySize parameter was too small.

Example usage:

function uxTaskGetTaskNumber

UBaseType_t uxTaskGetTaskNumber (
    TaskHandle_t xTask
) 

function uxTaskPriorityGet

UBaseType_t uxTaskPriorityGet (
    const TaskHandle_t xTask
) 

function uxTaskPriorityGetFromISR

UBaseType_t uxTaskPriorityGetFromISR (
    const TaskHandle_t xTask
) 

task. h

A version of uxTaskPriorityGet() that can be used from an ISR.

function uxTaskResetEventItemValue

TickType_t uxTaskResetEventItemValue (
    void
) 

function vTaskAllocateMPURegions

void vTaskAllocateMPURegions (
    TaskHandle_t xTask,
    const MemoryRegion_t *const pxRegions
) 

function vTaskDelay

void vTaskDelay (
    const TickType_t xTicksToDelay
) 

function vTaskDelayUntil

void vTaskDelayUntil (
    TickType_t *const pxPreviousWakeTime,
    const TickType_t xTimeIncrement
) 

function vTaskDelete

void vTaskDelete (
    TaskHandle_t xTaskToDelete
) 

function vTaskEndScheduler

void vTaskEndScheduler (
    void
) 

function vTaskGetInfo

void vTaskGetInfo (
    TaskHandle_t xTask,
    TaskStatus_t * pxTaskStatus,
    BaseType_t xGetFreeStackSpace,
    eTaskState eState
) 

function vTaskGetRunTimeStats

void vTaskGetRunTimeStats (
    char * pcWriteBuffer
) 

function vTaskInternalSetTimeOutState

void vTaskInternalSetTimeOutState (
    TimeOut_t *const pxTimeOut
) 

function vTaskList

void vTaskList (
    char * pcWriteBuffer
) 

function vTaskMissedYield

void vTaskMissedYield (
    void
) 

function vTaskNotifyGiveFromISR

void vTaskNotifyGiveFromISR (
    TaskHandle_t xTaskToNotify,
    BaseType_t * pxHigherPriorityTaskWoken
) 

function vTaskPlaceOnEventList

void vTaskPlaceOnEventList (
    List_t *const pxEventList,
    const TickType_t xTicksToWait
) 

function vTaskPlaceOnEventListRestricted

void vTaskPlaceOnEventListRestricted (
    List_t *const pxEventList,
    TickType_t xTicksToWait,
    const BaseType_t xWaitIndefinitely
) 

function vTaskPlaceOnUnorderedEventList

void vTaskPlaceOnUnorderedEventList (
    List_t * pxEventList,
    const TickType_t xItemValue,
    const TickType_t xTicksToWait
) 

function vTaskPriorityDisinheritAfterTimeout

void vTaskPriorityDisinheritAfterTimeout (
    TaskHandle_t const pxMutexHolder,
    UBaseType_t uxHighestPriorityWaitingTask
) 

function vTaskPrioritySet

void vTaskPrioritySet (
    TaskHandle_t xTask,
    UBaseType_t uxNewPriority
) 

function vTaskRemoveFromUnorderedEventList

void vTaskRemoveFromUnorderedEventList (
    ListItem_t * pxEventListItem,
    const TickType_t xItemValue
) 

function vTaskResume

void vTaskResume (
    TaskHandle_t xTaskToResume
) 

function vTaskSetTaskNumber

void vTaskSetTaskNumber (
    TaskHandle_t xTask,
    const UBaseType_t uxHandle
) 

function vTaskSetTimeOutState

void vTaskSetTimeOutState (
    TimeOut_t *const pxTimeOut
) 

function vTaskStartScheduler

void vTaskStartScheduler (
    void
) 

function vTaskStepTick

void vTaskStepTick (
    const TickType_t xTicksToJump
) 

function vTaskSuspend

void vTaskSuspend (
    TaskHandle_t xTaskToSuspend
) 

function vTaskSuspendAll

void vTaskSuspendAll (
    void
) 

function vTaskSwitchContext

portDONT_DISCARD void vTaskSwitchContext (
    void
) 

function xTaskAbortDelay

BaseType_t xTaskAbortDelay (
    TaskHandle_t xTask
) 

function xTaskCallApplicationTaskHook

BaseType_t xTaskCallApplicationTaskHook (
    TaskHandle_t xTask,
    void * pvParameter
) 

task.h

Calls the hook function associated with xTask. Passing xTask as NULL has the effect of calling the Running tasks (the calling task) hook function.

pvParameter is passed to the hook function for the task to interpret as it wants. The return value is the value returned by the task hook function registered by the user.

function xTaskCatchUpTicks

BaseType_t xTaskCatchUpTicks (
    TickType_t xTicksToCatchUp
) 

function xTaskCheckForTimeOut

BaseType_t xTaskCheckForTimeOut (
    TimeOut_t *const pxTimeOut,
    TickType_t *const pxTicksToWait
) 

function xTaskGenericNotify

BaseType_t xTaskGenericNotify (
    TaskHandle_t xTaskToNotify,
    uint32_t ulValue,
    eNotifyAction eAction,
    uint32_t * pulPreviousNotificationValue
) 

function xTaskGenericNotifyFromISR

BaseType_t xTaskGenericNotifyFromISR (
    TaskHandle_t xTaskToNotify,
    uint32_t ulValue,
    eNotifyAction eAction,
    uint32_t * pulPreviousNotificationValue,
    BaseType_t * pxHigherPriorityTaskWoken
) 

function xTaskGetCurrentTaskHandle

TaskHandle_t xTaskGetCurrentTaskHandle (
    void
) 

function xTaskGetHandle

TaskHandle_t xTaskGetHandle (
    const char * pcNameToQuery
) 

function xTaskGetIdleTaskHandle

TaskHandle_t xTaskGetIdleTaskHandle (
    void
) 

xTaskGetIdleTaskHandle() is only available if INCLUDE_xTaskGetIdleTaskHandle is set to 1 in FreeRTOSConfig.h.

Simply returns the handle of the idle task. It is not valid to call xTaskGetIdleTaskHandle() before the scheduler has been started.

function xTaskGetSchedulerState

BaseType_t xTaskGetSchedulerState (
    void
) 

function xTaskGetTickCount

TickType_t xTaskGetTickCount (
    void
) 

function xTaskGetTickCountFromISR

TickType_t xTaskGetTickCountFromISR (
    void
) 

function xTaskIncrementTick

BaseType_t xTaskIncrementTick (
    void
) 

function xTaskNotifyStateClear

BaseType_t xTaskNotifyStateClear (
    TaskHandle_t xTask
) 

function xTaskNotifyWait

BaseType_t xTaskNotifyWait (
    uint32_t ulBitsToClearOnEntry,
    uint32_t ulBitsToClearOnExit,
    uint32_t * pulNotificationValue,
    TickType_t xTicksToWait
) 

function xTaskPriorityDisinherit

BaseType_t xTaskPriorityDisinherit (
    TaskHandle_t const pxMutexHolder
) 

function xTaskPriorityInherit

BaseType_t xTaskPriorityInherit (
    TaskHandle_t const pxMutexHolder
) 

function xTaskRemoveFromEventList

BaseType_t xTaskRemoveFromEventList (
    const List_t *const pxEventList
) 

function xTaskResumeAll

BaseType_t xTaskResumeAll (
    void
) 

function xTaskResumeFromISR

BaseType_t xTaskResumeFromISR (
    TaskHandle_t xTaskToResume
) 

Macro Definition Documentation

define taskDISABLE_INTERRUPTS

#define taskDISABLE_INTERRUPTS (

) portDISABLE_INTERRUPTS()

define taskENABLE_INTERRUPTS

#define taskENABLE_INTERRUPTS (

) portENABLE_INTERRUPTS()

define taskENTER_CRITICAL

#define taskENTER_CRITICAL (

) portENTER_CRITICAL()

define taskENTER_CRITICAL_FROM_ISR

#define taskENTER_CRITICAL_FROM_ISR (

) portSET_INTERRUPT_MASK_FROM_ISR()

define taskEXIT_CRITICAL

#define taskEXIT_CRITICAL (

) portEXIT_CRITICAL()

define taskEXIT_CRITICAL_FROM_ISR

#define taskEXIT_CRITICAL_FROM_ISR (
    x
) portCLEAR_INTERRUPT_MASK_FROM_ISR( x )

define taskSCHEDULER_NOT_STARTED

#define taskSCHEDULER_NOT_STARTED ( ( BaseType_t ) 1 )

define taskSCHEDULER_RUNNING

#define taskSCHEDULER_RUNNING ( ( BaseType_t ) 2 )

define taskSCHEDULER_SUSPENDED

#define taskSCHEDULER_SUSPENDED ( ( BaseType_t ) 0 )

define taskYIELD

#define taskYIELD (

) portYIELD()

define tskIDLE_PRIORITY

#define tskIDLE_PRIORITY ( ( UBaseType_t ) 0U )

Defines the priority used by the idle task. This must not be modified.

define tskKERNEL_VERSION_BUILD

#define tskKERNEL_VERSION_BUILD 1

define tskKERNEL_VERSION_MAJOR

#define tskKERNEL_VERSION_MAJOR 10

define tskKERNEL_VERSION_MINOR

#define tskKERNEL_VERSION_MINOR 3

define tskKERNEL_VERSION_NUMBER

#define tskKERNEL_VERSION_NUMBER "V10.3.1"

define tskMPU_REGION_DEVICE_MEMORY

#define tskMPU_REGION_DEVICE_MEMORY ( 1UL << 4UL )

define tskMPU_REGION_EXECUTE_NEVER

#define tskMPU_REGION_EXECUTE_NEVER ( 1UL << 2UL )

define tskMPU_REGION_NORMAL_MEMORY

#define tskMPU_REGION_NORMAL_MEMORY ( 1UL << 3UL )

define tskMPU_REGION_READ_ONLY

#define tskMPU_REGION_READ_ONLY ( 1UL << 0UL )

define tskMPU_REGION_READ_WRITE

#define tskMPU_REGION_READ_WRITE ( 1UL << 1UL )

define xTaskNotify

#define xTaskNotify (
    xTaskToNotify,
    ulValue,
    eAction
) xTaskGenericNotify( ( xTaskToNotify ), ( ulValue ), ( eAction ), NULL )

define xTaskNotifyAndQuery

#define xTaskNotifyAndQuery (
    xTaskToNotify,
    ulValue,
    eAction,
    pulPreviousNotifyValue
) xTaskGenericNotify( ( xTaskToNotify ), ( ulValue ), ( eAction ), ( pulPreviousNotifyValue ) )

define xTaskNotifyAndQueryFromISR

#define xTaskNotifyAndQueryFromISR (
    xTaskToNotify,
    ulValue,
    eAction,
    pulPreviousNotificationValue,
    pxHigherPriorityTaskWoken
) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( ulValue ), ( eAction ), ( pulPreviousNotificationValue ), ( pxHigherPriorityTaskWoken ) )

define xTaskNotifyFromISR

#define xTaskNotifyFromISR (
    xTaskToNotify,
    ulValue,
    eAction,
    pxHigherPriorityTaskWoken
) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( ulValue ), ( eAction ), NULL, ( pxHigherPriorityTaskWoken ) )

define xTaskNotifyGive

#define xTaskNotifyGive (
    xTaskToNotify
) xTaskGenericNotify( ( xTaskToNotify ), ( 0 ), eIncrement, NULL )

The documentation for this class was generated from the following file fw/rbcx-coprocessor/lib/FreeRTOS/include/task.h