Home
last modified time | relevance | path

Searched full:if (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/Kernel-v11.0.1/portable/Common/
Dmpu_wrappers_v2.c52 #if ( ( portUSING_MPU_WRAPPERS == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
61 * If the actual handle is stored at index i, ( i + INDEX_OFFSET )
122 * @brief Check if multiplying a and b will result in overflow.
129 * If a free slot is found, this function marks the slot as
132 * @return Index of a free slot is returned, if a free slot is
150 * @return Index at which the kernel object is stored if it is a valid
183 #if ( configUSE_TIMERS == 1 )
195 #endif /* #if ( configUSE_TIMERS == 1 ) */
203 #if ( configUSE_QUEUE_SETS == 1 )
232 #if ( configUSE_TIMERS == 1 )
[all …]
Dmpu_wrappers.c51 #if ( ( portUSING_MPU_WRAPPERS == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 1 ) )
53 #if ( configENABLE_ACCESS_CONTROL_LIST == 1 )
57 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
67 if( portIS_PRIVILEGED() == pdFALSE ) in MPU_xTaskCreate()
91 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
102 if( portIS_PRIVILEGED() == pdFALSE ) in MPU_xTaskCreateStatic()
126 #if ( INCLUDE_vTaskDelete == 1 )
129 if( portIS_PRIVILEGED() == pdFALSE ) in MPU_vTaskDelete()
145 #endif /* if ( INCLUDE_vTaskDelete == 1 ) */
148 #if ( INCLUDE_xTaskDelayUntil == 1 )
[all …]
/Kernel-v11.0.1/
Dtasks.c51 #if ( configUSE_STATS_FORMATTING_FUNCTIONS == 1 )
60 #if ( configUSE_PREEMPTION == 0 )
62 /* If the cooperative scheduler is being used then a yield should not be
68 #if ( configNUMBER_OF_CORES == 1 )
82 if( pxCurrentTCB->uxPriority < ( pxTCB )->uxPriority ) \
92 #else /* if ( configNUMBER_OF_CORES == 1 ) */
97 /* Yield for the task if a running task has priority lower than this task. */
100 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
102 #endif /* if ( configUSE_PREEMPTION == 0 ) */
120 /* If any of the following are set then task stacks are filled with a known
[all …]
Dqueue.c41 #if ( configUSE_CO_ROUTINES == 1 )
60 * structure instead holds a pointer to the mutex holder (if any). Map alternative
85 #if ( configUSE_PREEMPTION == 0 )
87 /* If the cooperative scheduler is being used then a yield should not be
91 #if ( configNUMBER_OF_CORES == 1 )
93 #else /* #if ( configNUMBER_OF_CORES == 1 ) */
95 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
124 #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
125 …uint8_t ucStaticallyAllocated; /**< Set to pdTRUE if the memory used by the queue was statically a…
128 #if ( configUSE_QUEUE_SETS == 1 )
[all …]
Dstream_buffer.c42 #if ( configUSE_TASK_NOTIFICATIONS != 1 )
46 #if ( INCLUDE_xTaskGetCurrentTaskHandle != 1 )
55 /* If the user has not provided application specific Rx notification macros,
64 if( ( pxStreamBuffer )->xTaskWaitingToSend != NULL ) \
76 /* If user has provided a per-instance receive complete callback, then
79 #if ( configUSE_SB_COMPLETED_CALLBACK == 1 )
82 if( ( pxStreamBuffer )->pxReceiveCompletedCallback != NULL ) \
91 #else /* if ( configUSE_SB_COMPLETED_CALLBACK == 1 ) */
93 #endif /* if ( configUSE_SB_COMPLETED_CALLBACK == 1 ) */
103 if( ( pxStreamBuffer )->xTaskWaitingToSend != NULL ) \
[all …]
Devent_groups.c53 #if ( configUSE_TRACE_FACILITY == 1 )
57 #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
58 …uint8_t ucStaticallyAllocated; /**< Set to pdTRUE if the event group is statically allocated to en…
65 * Test the bits set in uxCurrentEventBits to see if the wait condition is met.
66 * The wait condition is defined by xWaitForAllBits. If xWaitForAllBits is
67 * pdTRUE then the wait condition is met if all the bits set in uxBitsToWaitFor
68 * are also set in uxCurrentEventBits. If xWaitForAllBits is pdFALSE then the
69 * wait condition is met if any of the bits set in uxBitsToWait for are also set
78 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
89 #if ( configASSERT_DEFINED == 1 ) in xEventGroupCreateStatic()
[all …]
Dtimers.c42 #if ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_TIMERS == 0 )
52 /* This entire source file will be skipped if the application is not configured
53 * to include software timer functionality. This #if is closed at the very bottom
54 * of this file. If you want to include software timer functionality then ensure
56 #if ( configUSE_TIMERS == 1 )
68 #if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
75 #endif /* #if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) ) */
90 #if ( configUSE_TRACE_FACILITY == 1 )
93 … /**< Holds bits to say if the timer was statically allocated or not, an…
129 /* Don't include xCallbackParameters if it is not going to be used as
[all …]
/Kernel-v11.0.1/include/
Dqueue.h94 * second block is used to hold items placed into the queue. If a queue is
97 * https://www.FreeRTOS.org/a00111.html). If a queue is created using
111 * @return If the queue is successfully create then a handle to the newly
112 * created queue is returned. If the queue cannot be created then 0 is
129 * if( xQueue1 == 0 )
137 * if( xQueue2 == 0 )
148 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
168 * second block is used to hold items placed into the queue. If a queue is
171 * https://www.FreeRTOS.org/a00111.html). If a queue is created using
185 * @param pucQueueStorage If uxItemSize is not zero then
[all …]
Dtimers.h53 * highest numbers as tmrFIRST_FROM_ISR_COMMAND is used to determine if the task
103 * of memory, in which the timer data structure is stored. If a software timer
106 * https://www.FreeRTOS.org/a00111.html). If a software timer is created using
122 * has been specified in milliseconds. For example, if the timer must expire
124 * Alternatively, if the timer must expire after 500ms, then xPeriod can be set
128 * @param xAutoReload If xAutoReload is set to pdTRUE then the timer will
130 * If xAutoReload is set to pdFALSE then the timer will be a one-shot timer and
142 * @return If the timer is successfully created then a handle to the newly
143 * created timer is returned. If the timer cannot be created because there is
166 * // Optionally do something if the pxTimer parameter is NULL.
[all …]
Dsemphr.h64 * as we don't want to actually store any data - we just want to know if the
86 * if( xSemaphore != NULL )
96 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
100if( ( xSemaphore ) != NULL ) …
121 * of memory, in which the semaphore structure is stored. If a binary semaphore
124 * function. (see https://www.FreeRTOS.org/a00111.html). If a binary semaphore
143 * @return Handle to the created semaphore, or NULL if the memory required to
156 * if( xSemaphore != NULL )
166 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
184 * of memory, in which the semaphore structure is stored. If a binary semaphore
[all …]
Dstream_buffer.h42 * multiple different readers. If there are to be multiple different writers
45 * block time to 0. Likewise, if there are to be multiple different readers
60 #if defined( __cplusplus )
100 * moved out of the blocked state. For example, if a task is blocked on a read
103 * time expires. As another example, if a task is blocked on a read of an empty
106 * block time expires. If a reading task's block time expires before the
113 * trigger level is sent to the stream buffer. If the parameter is NULL, it will use the default
118 * stream buffer. If the parameter is NULL, it will use the default
122 * @return If NULL is returned, then the stream buffer cannot be created
142 * if( xStreamBuffer == NULL )
[all …]
/Kernel-v11.0.1/portable/ThirdParty/GCC/RP2040/
Dport.c41 * LIB_PICO_MULTICORE == 1, if we are linked with pico_multicore (note that
43 * use this flag to determine if we need multi-core functionality.
45 #if ( LIB_PICO_MULTICORE == 1 )
118 #if ( configNUMBER_OF_CORES == 1 )
120 #else /* #if ( configNUMBER_OF_CORES == 1 ) */
122 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
126 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 )
130 #if configSUPPORT_STATIC_ALLOCATION
135 #if ( portRUNNING_ON_BOTH_CORES == 0 )
147 #if ( configUSE_TICKLESS_IDLE == 1 )
[all …]
/Kernel-v11.0.1/portable/RVDS/ARM_CM4_MPU/
Dmpu_wrappers_v2_asm.c47 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
72 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
75 #if ( INCLUDE_xTaskAbortDelay == 1 )
96 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
99 #if ( INCLUDE_vTaskDelay == 1 )
120 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
123 #if ( INCLUDE_uxTaskPriorityGet == 1 )
144 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
147 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.0.1/portable/MemMang/
Dheap_5.c41 * pvPortMalloc() will be called if any task objects (tasks, queues, event
84 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 0 )
85 #error This file must not be used if configSUPPORT_DYNAMIC_ALLOCATION is 0
101 /* Check if multiplying a and b will result in overflow. */
104 /* Check if adding a and b will result in overflow. */
107 /* Check if the subtraction operation ( a - b ) will result in underflow. */
124 #if ( configENABLE_HEAP_PROTECTOR == 1 )
139 #else /* if ( configENABLE_HEAP_PROTECTOR == 1 ) */
162 * the block in front it and/or the block behind it if the memory blocks are
168 #if ( configENABLE_HEAP_PROTECTOR == 1 )
[all …]
/Kernel-v11.0.1/portable/GCC/IA32_flat/
Dport.c36 #if ( configUSE_PORT_OPTIMISED_TASK_SELECTION == 1 )
38 #if ( configMAX_PRIORITIES > 32 )
43 #if ( configISR_STACK_SIZE < ( configMINIMAL_STACK_SIZE * 2 ) )
47 #if ( ( configMAX_API_CALL_INTERRUPT_PRIORITY > portMAX_PRIORITY ) || ( configMAX_API_CALL_INTERRUP…
51 #if ( ( configSUPPORT_FPU == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 0 ) )
61 * part of the tasks context that holds portNO_FLOATING_POINT_CONTEXT if the task
62 * does not have an FPU context, or any other value if the task does have an FPU
66 /* Only the IF bit is set so tasks start with interrupts enabled. */
76 /* FPU context size if FSAVE is used. */
89 /* If configASSERT() is defined then the system stack is filled with this value
[all …]
/Kernel-v11.0.1/portable/ThirdParty/GCC/Xtensa_ESP32/
Dportmux_impl.inc.h35 #if !CONFIG_FREERTOS_UNICORE
41 if( !set_timeout )
48 if( set_timeout ) /* Timeout */
56 #if ( ESP_IDF_VERSION < ESP_IDF_VERSION_VAL( 4, 2, 0 ) )
57if( ( owner != portMUX_FREE_VAL ) && ( owner != CORE_ID_PRO ) && ( owner != CORE_ID_APP ) )
59if( ( owner != portMUX_FREE_VAL ) && ( owner != CORE_ID_REGVAL_PRO ) && ( owner != CORE_ID_REGVAL_…
74 #if ( ESP_IDF_VERSION < ESP_IDF_VERSION_VAL( 4, 2, 0 ) )
85 * - If portMUX_FREE_VAL, we want to atomically set to 'coreID'.
86 * - If "our" coreID, we can drop through immediately.
87 * - If "otherCoreID", we spin here.
[all …]
/Kernel-v11.0.1/portable/IAR/ARM_CM4F_MPU/
Dport.c52 #if ( configMAX_SYSCALL_INTERRUPT_PRIORITY == 0 )
175 /* Check if adding a and b will result in overflow. */
226 #if ( configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS == 1 )
235 #if ( configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS == 1 )
241 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
255 #endif /* #if ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
257 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
264 #endif /* #if ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
266 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
278 #endif /* #if ( configUSE_MPU_WRAPPERS_V1 == 0 ) */
[all …]
/Kernel-v11.0.1/portable/GCC/ARM_CM55_NTZ/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/GCC/ARM_CM85/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/GCC/ARM_CM85_NTZ/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/IAR/ARM_CM85_NTZ/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/IAR/ARM_CM35P_NTZ/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/IAR/ARM_CM55/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/IAR/ARM_CM33_NTZ/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]
/Kernel-v11.0.1/portable/IAR/ARM_CM35P/non_secure/
Dport.c45 #if ( configENABLE_TRUSTZONE == 1 )
68 #if ( ( configRUN_FREERTOS_SECURE_ONLY == 1 ) && ( configENABLE_TRUSTZONE == 1 ) )
76 #if ( ( portHAS_ARMV8M_MAIN_EXTENSION == 0 ) && ( configRUN_FREERTOS_SECURE_ONLY == 0 ) )
258 /* Check if adding a and b will result in overflow. */
282 #if ( configRUN_FREERTOS_SECURE_ONLY == 1 )
334 * @brief Let the user override the default SysTick clock rate. If defined by the
359 * @brief If portPRELOAD_REGISTERS then registers will be given an initial value
378 #if ( configENABLE_MPU == 1 )
391 #if ( configENABLE_MPU == 1 )
399 #if ( configENABLE_FPU == 1 )
[all …]

12345678910>>...28