Home
last modified time | relevance | path

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

12345678910>>...29

/Kernel-v11.1.0/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 )
218 #if ( configUSE_EVENT_GROUPS == 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.1.0/
Dtasks.c47 #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configKERNEL_PROVIDED_STATIC_MEMORY == 1 ) && (…
58 #if ( configUSE_STATS_FORMATTING_FUNCTIONS == 1 )
67 #if ( configUSE_PREEMPTION == 0 )
69 /* If the cooperative scheduler is being used then a yield should not be
75 #if ( configNUMBER_OF_CORES == 1 )
89 if( pxCurrentTCB->uxPriority < ( pxTCB )->uxPriority ) \
99 #else /* if ( configNUMBER_OF_CORES == 1 ) */
104 /* Yield for the task if a running task has priority lower than this task. */
107 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
109 #endif /* if ( configUSE_PREEMPTION == 0 ) */
[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 /* This entire source file will be skipped if the application is not configured
56 * to include stream buffer functionality. This #if is closed at the very bottom
57 * of this file. If you want to include stream buffers then ensure
59 #if ( configUSE_STREAM_BUFFERS == 1 )
61 /* If the user has not provided application specific Rx notification macros,
70 if( ( pxStreamBuffer )->xTaskWaitingToSend != NULL ) \
83 /* If user has provided a per-instance receive complete callback, then
86 #if ( configUSE_SB_COMPLETED_CALLBACK == 1 )
[all …]
Devent_groups.c48 /* This entire source file will be skipped if the application is not configured
49 * to include event groups functionality. This #if is closed at the very bottom
50 * of this file. If you want to include event groups then ensure
52 #if ( configUSE_EVENT_GROUPS == 1 )
59 #if ( configUSE_TRACE_FACILITY == 1 )
63 … #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
64 …uint8_t ucStaticallyAllocated; /**< Set to pdTRUE if the event group is statically allocated to en…
71 * Test the bits set in uxCurrentEventBits to see if the wait condition is met.
72 * The wait condition is defined by xWaitForAllBits. If xWaitForAllBits is
73 * pdTRUE then the wait condition is met if all the bits set in uxBitsToWaitFor
[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.1.0/portable/RVDS/ARM_CM4_MPU/
Dmpu_wrappers_v2_asm.c47 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
71 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
74 #if ( INCLUDE_xTaskAbortDelay == 1 )
94 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
97 #if ( INCLUDE_vTaskDelay == 1 )
117 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
120 #if ( INCLUDE_uxTaskPriorityGet == 1 )
140 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
143 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/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 …]
/Kernel-v11.1.0/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.1.0/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.1.0/portable/GCC/ARM_CM85/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM55/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM55_NTZ/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM85_NTZ/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM35P_NTZ/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM33/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM4_MPU/
Dmpu_wrappers_v2_asm.c47 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM3_MPU/
Dmpu_wrappers_v2_asm.c47 #if ( configUSE_MPU_WRAPPERS_V1 == 0 )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM33_NTZ/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CM35P/non_secure/
Dmpu_wrappers_v2_asm.c47 #if ( ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 0 ) )
49 #if ( INCLUDE_xTaskDelayUntil == 1 )
76 #endif /* if ( INCLUDE_xTaskDelayUntil == 1 ) */
79 #if ( INCLUDE_xTaskAbortDelay == 1 )
104 #endif /* if ( INCLUDE_xTaskAbortDelay == 1 ) */
107 #if ( INCLUDE_vTaskDelay == 1 )
132 #endif /* if ( INCLUDE_vTaskDelay == 1 ) */
135 #if ( INCLUDE_uxTaskPriorityGet == 1 )
160 #endif /* if ( INCLUDE_uxTaskPriorityGet == 1 ) */
163 #if ( INCLUDE_eTaskGetState == 1 )
[all …]

12345678910>>...29