FreeRTOS
+
0
/65 examples
SourceVu will show references to
pdTRUE
from the following samples and libraries:
ESP-IDF
FatFS
lwIP
eth2ap sample
simple_sniffer sample
sta2eth sample
vlan_support sample
ot_br sample
ot_cli sample
ot_trel sample
esp_local_ctrl sample
static_ip sample
sysview_tracing sample
task_watchdog sample
espnow sample
ftm sample
aligenie_demo sample
ble_adv_scan_combined sample
blehr sample
continuous_read sample
matrix_keyboard sample
i2c_slave_network_sensor sample
i2c_oled sample
ledc_fade sample
mcpwm_bldc_hall_control sample
mcpwm_capture_hc_sr04 sample
rotary_encoder sample
ir_nec_transceiver sample
hd_eeprom sample
gptimer sample
gptimer_capture_hc_sr04 sample
wiegand_interface sample
nmea0183_parser sample
wss_server sample
restful_server sample
advanced sample
user_event_loops sample
basic_freertos_smp_usage sample
a2dp_sink sample
a2dp_source sample
bt_l2cap_client sample
bt_l2cap_server sample
bt_spp_vfs_acceptor sample
bt_spp_vfs_initiator sample
hfp_ag sample
hfp_hf sample
a2dp_gatts_coex sample
df_client sample
df_server sample
rpr_client sample
rpr_server sample
unprov_dev sample
htp_prph sample
logic_analyzer sample
touch_pad_interrupt sample
twai_network_master sample
twai_network_slave sample
usb_host_lib sample
mb_master sample
mb_slave sample
mb_tcp_master sample
mb_tcp_slave sample
throughput_server sample
cdc_acm_host sample
cdc_acm_vcp sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FreeRTOS
pdTRUE
pdTRUE macro
Syntax
Show:
Summary
Declaration
from
projdefs.h:59
#define
pdTRUE
(
(
BaseType_t
)
1
)
Examples
pdTRUE
is referenced by 65 libraries and example projects:
ESP-IDF
FatFS
lwIP
eth2ap sample
simple_sniffer sample
sta2eth sample
vlan_support sample
ot_br sample
ot_cli sample
ot_trel sample
esp_local_ctrl sample
static_ip sample
sysview_tracing sample
task_watchdog sample
espnow sample
ftm sample
aligenie_demo sample
ble_adv_scan_combined sample
blehr sample
continuous_read sample
matrix_keyboard sample
i2c_slave_network_sensor sample
i2c_oled sample
ledc_fade sample
mcpwm_bldc_hall_control sample
mcpwm_capture_hc_sr04 sample
rotary_encoder sample
ir_nec_transceiver sample
hd_eeprom sample
gptimer sample
gptimer_capture_hc_sr04 sample
wiegand_interface sample
nmea0183_parser sample
wss_server sample
restful_server sample
advanced sample
user_event_loops sample
basic_freertos_smp_usage sample
a2dp_sink sample
a2dp_source sample
bt_l2cap_client sample
bt_l2cap_server sample
bt_spp_vfs_acceptor sample
bt_spp_vfs_initiator sample
hfp_ag sample
hfp_hf sample
a2dp_gatts_coex sample
df_client sample
df_server sample
rpr_client sample
rpr_server sample
unprov_dev sample
htp_prph sample
logic_analyzer sample
touch_pad_interrupt sample
twai_network_master sample
twai_network_slave sample
usb_host_lib sample
mb_master sample
mb_slave sample
mb_tcp_master sample
mb_tcp_slave sample
throughput_server sample
cdc_acm_host sample
cdc_acm_vcp sample
References
from
0/65
examples
Code
Location
#define
pdTRUE
(
(
BaseType_t
)
1
)
projdefs.h:59
assert
(
res
==
pdTRUE
)
;
app_startup.c:86
pxEventBits
->
ucStaticallyAllocated
=
pdTRUE
;
event_groups.c:135
xTimeoutOccurred
=
pdTRUE
;
event_groups.c:266
xTimeoutOccurred
=
pdTRUE
;
event_groups.c:311
xTimeoutOccurred
=
pdTRUE
;
event_groups.c:383
xTimeoutOccurred
=
pdTRUE
;
event_groups.c:466
xMatchFound
=
pdTRUE
;
event_groups.c:598
xMatchFound
=
pdTRUE
;
event_groups.c:608
if
(
pxEventBits
->
ucStaticallyAllocated
==
(
uint8_t
)
pdTRUE
)
event_groups.c:725
xReturn
=
pdTRUE
;
event_groups.c:728
xWaitConditionMet
=
pdTRUE
;
event_groups.c:778
xWaitConditionMet
=
pdTRUE
;
event_groups.c:791
if
(
xPeek
==
pdTRUE
)
freertos_compatibility.c:26
xSwitchRequired
=
pdTRUE
;
freertos_tasks_c_additions.h:110
xSwitchRequired
=
pdTRUE
;
freertos_tasks_c_additions.h:127
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
||
xCoreID
==
tskNO_AFFINITY
)
;
freertos_tasks_c_additions.h:163
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
||
xCoreID
==
tskNO_AFFINITY
)
;
freertos_tasks_c_additions.h:301
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
)
;
freertos_tasks_c_additions.h:452
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
)
;
freertos_tasks_c_additions.h:466
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
)
;
freertos_tasks_c_additions.h:493
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
)
;
freertos_tasks_c_additions.h:516
xYieldRequired
=
pdTRUE
;
freertos_tasks_c_additions.h:721
return
pdTRUE
;
freertos_tasks_c_additions.h:1056
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
)
;
freertos_tasks_c_additions.h:1090
configASSERT
(
taskVALID_CORE_ID
(
xCoreID
)
==
pdTRUE
||
xCoreID
==
tskNO_AFFINITY
)
;
freertos_tasks_c_additions.h:1172
configASSERT
(
xResult
==
pdTRUE
)
;
idf_additions.c:104
configASSERT
(
xResult
==
pdTRUE
)
;
idf_additions.c:249
configASSERT
(
xResult
==
pdTRUE
)
;
idf_additions.c:322
if
(
xIsMessageBuffer
==
pdTRUE
)
idf_additions.c:358
if
(
xIsMessageBuffer
==
pdTRUE
)
idf_additions.c:395
configASSERT
(
xResult
==
pdTRUE
)
;
idf_additions.c:404
if
(
xIsMessageBuffer
==
pdTRUE
)
idf_additions.c:407
return
(
MessageBufferHandle_t
)
xStreamBufferGenericCreateWithCaps
(
xBufferSizeBytes
,
(
size_t
)
0
,
pdTRUE
,
uxMemoryCaps
)
;
idf_additions.h:578
vStreamBufferGenericDeleteWithCaps
(
(
StreamBufferHandle_t
)
xMessageBuffer
,
pdTRUE
)
;
idf_additions.h:593
configASSERT
(
xResult
==
pdTRUE
)
;
idf_additions_event_groups.c:69
#define
listLIST_IS_EMPTY
(
pxList
)
(
(
(
pxList
)
->
uxNumberOfItems
==
(
UBaseType_t
)
0
)
?
pdTRUE
:
pdFALSE
)
list.h:262
#define
listIS_CONTAINED_WITHIN
(
pxList
,
pxListItem
)
(
(
(
pxListItem
)
->
pxContainer
==
(
pxList
)
)
?
(
pdTRUE
)
:
(
pdFALSE
)
)
list.h:410
xStreamBufferGenericCreateStatic
(
(
xBufferSizeBytes
)
,
0
,
pdTRUE
,
(
pucMessageBufferStorageArea
)
,
(
pxStaticMessageBuffer
)
,
NULL
,
NULL
)
message_buffer.h:233
return
pdTRUE
;
port.c:120
#define
pdPASS
(
pdTRUE
)
projdefs.h:61
if
(
xNewQueue
==
pdTRUE
)
queue.c:335
pxNewQueue
->
ucStaticallyAllocated
=
pdTRUE
;
queue.c:448
if
(
pxQueue
->
ucStaticallyAllocated
==
(
uint8_t
)
pdTRUE
)
queue.c:481
xReturn
=
pdTRUE
;
queue.c:489
(
void
)
xQueueGenericReset
(
pxNewQueue
,
pdTRUE
)
;
queue.c:611
xEntryTimeSet
=
pdTRUE
;
queue.c:1077
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
queue.c:1248
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
queue.c:1270
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
queue.c:1427
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
queue.c:1449
xEntryTimeSet
=
pdTRUE
;
queue.c:1599
xEntryTimeSet
=
pdTRUE
;
queue.c:1795
xEntryTimeSet
=
pdTRUE
;
queue.c:2051
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
queue.c:2209
xReturn
=
pdTRUE
;
queue.c:2686
xReturn
=
pdTRUE
;
queue.c:2709
xReturn
=
pdTRUE
;
queue.c:2729
xReturn
=
pdTRUE
;
queue.c:2752
xReturn
=
pdTRUE
;
queue.c:3389
if
(
xIsMessageBuffer
==
pdTRUE
)
stream_buffer.c:342
xReturn
=
pdTRUE
;
stream_buffer.c:512
xReturn
=
pdTRUE
;
stream_buffer.c:1210
xReturn
=
pdTRUE
;
stream_buffer.c:1245
xReturn
=
pdTRUE
;
stream_buffer.c:1274
xReturn
=
pdTRUE
;
stream_buffer.c:1305
#define
taskVALID_CORE_ID
(
xCoreID
)
(
(
(
(
BaseType_t
)
xCoreID
)
>=
0
&&
(
(
BaseType_t
)
xCoreID
)
<
configNUMBER_OF_CORES
)
?
pdTRUE
:
pdFALSE
)
task.h:216
(
(
(
pxTCB
)
->
uxPriority
+
(
(
xYieldEqualPriority
==
pdTRUE
)
?
1
:
0
)
)
>
pxCurrentTCBs
[
0
]
->
uxPriority
)
?
pdTRUE
:
pdFALSE
;
\
tasks.c:156
(
(
uxTaskPriority
+
(
(
xYieldEqualPriority
==
pdTRUE
)
?
1
:
0
)
)
>=
pxCurrentTCBs
[
0
]
->
uxPriority
)
?
pdTRUE
:
pdFALSE
;
\
tasks.c:161
#define
taskIS_AFFINITY_COMPATIBLE
(
xCore
,
pxTCB
)
(
(
(
(
pxTCB
)
->
xCoreID
==
xCore
)
||
(
(
pxTCB
)
->
xCoreID
==
tskNO_AFFINITY
)
)
?
pdTRUE
:
pdFALSE
)
tasks.c:173
pdTRUE
;
\
tasks.c:180
#define
taskIS_CURRENTLY_RUNNING
(
pxTCB
)
(
(
(
(
pxTCB
)
==
pxCurrentTCBs
[
0
]
)
||
(
(
pxTCB
)
==
pxCurrentTCBs
[
1
]
)
)
?
pdTRUE
:
pdFALSE
)
tasks.c:192
#define
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
xCoreID
)
(
(
(
pxTCB
)
==
pxCurrentTCBs
[
(
xCoreID
)
]
)
?
pdTRUE
:
pdFALSE
)
tasks.c:193
#define
taskIS_CURRENTLY_RUNNING
(
pxTCB
)
(
(
(
pxTCB
)
==
pxCurrentTCBs
[
0
]
)
?
pdTRUE
:
pdFALSE
)
tasks.c:195
(
(
uxSchedulerSuspended
[
0
]
==
(
UBaseType_t
)
0U
)
)
?
pdTRUE
:
pdFALSE
;
\
tasks.c:219
#define
taskIS_SCHEDULER_SUSPENDED
(
)
(
(
xTaskGetSchedulerState
(
)
==
taskSCHEDULER_SUSPENDED
)
?
pdTRUE
:
pdFALSE
)
tasks.c:241
#define
taskIS_SCHEDULER_SUSPENDED
(
)
(
(
(
uxSchedulerSuspended
[
0
]
!=
(
UBaseType_t
)
0U
)
)
?
pdTRUE
:
pdFALSE
)
tasks.c:243
if
(
xYieldEqualPriority
==
pdTRUE
)
tasks.c:804
if
(
(
taskIS_AFFINITY_COMPATIBLE
(
xCurCoreID
,
pxTCB
)
==
pdTRUE
)
&&
tasks.c:818
xYieldRequiredCurrentCore
=
pdTRUE
;
tasks.c:823
else
if
(
(
taskIS_AFFINITY_COMPATIBLE
(
!
xCurCoreID
,
pxTCB
)
==
pdTRUE
)
&&
tasks.c:829
xReturn
=
pdTRUE
;
tasks.c:863
xReturn
=
pdTRUE
;
tasks.c:874
if
(
(
pxCurrentTCBs
[
0
]
==
NULL
)
&&
(
taskIS_AFFINITY_COMPATIBLE
(
0
,
pxNewTCB
)
==
pdTRUE
)
)
tasks.c:1230
else
if
(
(
pxCurrentTCBs
[
1
]
==
NULL
)
&&
(
taskIS_AFFINITY_COMPATIBLE
(
1
,
pxNewTCB
)
==
pdTRUE
)
)
tasks.c:1238
(
taskIS_AFFINITY_COMPATIBLE
(
0
,
pxNewTCB
)
==
pdTRUE
)
&&
tasks.c:1253
(
taskIS_AFFINITY_COMPATIBLE
(
1
,
pxNewTCB
)
==
pdTRUE
)
&&
tasks.c:1261
if
(
taskIS_YIELD_REQUIRED
(
pxNewTCB
,
pdTRUE
)
==
pdTRUE
)
tasks.c:1296
if
(
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
xCurCoreID
)
==
pdTRUE
)
tasks.c:1362
xSelfDelete
=
pdTRUE
;
tasks.c:1364
xIsCurRunning
=
pdTRUE
;
tasks.c:1365
else
if
(
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
!
xCurCoreID
)
==
pdTRUE
)
tasks.c:1369
xIsCurRunning
=
pdTRUE
;
tasks.c:1372
if
(
xIsCurRunning
==
pdTRUE
)
tasks.c:1381
if
(
xSelfDelete
==
pdTRUE
)
tasks.c:1449
xShouldDelay
=
pdTRUE
;
tasks.c:1497
xShouldDelay
=
pdTRUE
;
tasks.c:1511
if
(
taskIS_CURRENTLY_RUNNING
(
pxTCB
)
==
pdTRUE
)
tasks.c:1613
if
(
taskIS_YIELD_REQUIRED_USING_PRIORITY
(
pxTCB
,
uxNewPriority
,
pdTRUE
)
==
pdTRUE
)
tasks.c:1813
xYieldRequired
=
pdTRUE
;
tasks.c:1815
else
if
(
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
xCurCoreID
)
==
pdTRUE
)
tasks.c:1829
xYieldRequired
=
pdTRUE
;
tasks.c:1834
else
if
(
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
!
xCurCoreID
)
==
pdTRUE
)
tasks.c:1838
if
(
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
xCurCoreID
)
==
pdTRUE
)
tasks.c:2006
else
if
(
taskIS_CURRENTLY_RUNNING_ON_CORE
(
pxTCB
,
!
xCurCoreID
)
==
pdTRUE
)
tasks.c:2035
xReturn
=
pdTRUE
;
tasks.c:2094
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdTRUE
)
==
pdTRUE
)
tasks.c:2142
if
(
taskCAN_BE_SCHEDULED
(
pxTCB
)
==
pdTRUE
)
tasks.c:2209
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdTRUE
)
==
pdTRUE
)
tasks.c:2213
xYieldRequired
=
pdTRUE
;
tasks.c:2215
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:2220
xSchedulerRunning
=
pdTRUE
;
tasks.c:2426
uxHigherPriorityReadyTasks
=
pdTRUE
;
tasks.c:2533
uxHigherPriorityReadyTasks
=
pdTRUE
;
tasks.c:2547
configASSERT
(
taskIS_SCHEDULER_SUSPENDED
(
)
==
pdTRUE
)
;
tasks.c:2588
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdTRUE
)
==
pdTRUE
)
tasks.c:2618
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:2620
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:2659
xAlreadyYielded
=
pdTRUE
;
tasks.c:2681
xBreakLoop
=
pdTRUE
;
tasks.c:2809
xBreakLoop
=
pdTRUE
;
tasks.c:2816
xReturn
=
pdTRUE
;
tasks.c:2932
xReturn
=
pdTRUE
;
tasks.c:2938
configASSERT
(
taskIS_SCHEDULER_SUSPENDED
(
)
==
pdTRUE
)
;
tasks.c:3076
pxTCB
->
ucDelayAborted
=
pdTRUE
;
tasks.c:3158
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdFALSE
)
==
pdTRUE
)
tasks.c:3180
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:3184
if
(
taskIS_AFFINITY_COMPATIBLE
(
0
,
pxTCB
)
==
pdTRUE
)
tasks.c:3328
xSwitchRequired
=
pdTRUE
;
tasks.c:3332
xYieldPending
[
1
]
=
pdTRUE
;
tasks.c:3340
xYieldPending
[
1
]
=
pdTRUE
;
tasks.c:3359
xSwitchRequired
=
pdTRUE
;
tasks.c:3380
xSwitchRequired
=
pdTRUE
;
tasks.c:3408
xNewTopPrioritySet
=
pdTRUE
;
tasks.c:3584
xTaskScheduled
=
pdTRUE
;
tasks.c:3629
configASSERT
(
xTaskScheduled
==
pdTRUE
)
;
/* At this point, a task MUST have been scheduled */
tasks.c:3645
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:3665
prvAddCurrentTaskToDelayedList
(
xTicksToWait
,
pdTRUE
)
;
tasks.c:3771
prvAddCurrentTaskToDelayedList
(
xTicksToWait
,
pdTRUE
)
;
tasks.c:3816
if
(
taskCAN_BE_SCHEDULED
(
pxUnblockedTCB
)
==
pdTRUE
)
tasks.c:3904
if
(
taskIS_YIELD_REQUIRED
(
pxUnblockedTCB
,
pdFALSE
)
==
pdTRUE
)
tasks.c:3938
xReturn
=
pdTRUE
;
tasks.c:3941
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:3945
xReturn
=
pdTRUE
;
tasks.c:4028
xYieldPending
[
0
]
=
pdTRUE
;
tasks.c:4032
if
(
taskIS_YIELD_REQUIRED
(
pxUnblockedTCB
,
pdFALSE
)
==
pdTRUE
)
tasks.c:4123
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:4137
xReturn
=
pdTRUE
;
tasks.c:4186
xReturn
=
pdTRUE
;
tasks.c:4209
xReturn
=
pdTRUE
;
tasks.c:4222
xYieldPending
[
portGET_CORE_ID
(
)
]
=
pdTRUE
;
tasks.c:4233
vTaskGetInfo
(
(
TaskHandle_t
)
pxNextTCB
,
&
(
pxTaskStatusArray
[
uxTask
]
)
,
pdTRUE
,
eState
)
;
tasks.c:4787
xReturn
=
pdTRUE
;
tasks.c:5101
xReturn
=
pdTRUE
;
tasks.c:5114
xReturn
=
pdTRUE
;
tasks.c:5197
prvAddCurrentTaskToDelayedList
(
xTicksToWait
,
pdTRUE
)
;
tasks.c:5746
prvAddCurrentTaskToDelayedList
(
xTicksToWait
,
pdTRUE
)
;
tasks.c:5831
xReturn
=
pdTRUE
;
tasks.c:5880
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdFALSE
)
==
pdTRUE
)
tasks.c:5992
if
(
taskCAN_BE_SCHEDULED
(
pxTCB
)
==
pdTRUE
)
tasks.c:6118
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdFALSE
)
==
pdTRUE
)
tasks.c:6130
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
tasks.c:6136
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:6142
if
(
taskCAN_BE_SCHEDULED
(
pxTCB
)
==
pdTRUE
)
tasks.c:6212
if
(
taskIS_YIELD_REQUIRED
(
pxTCB
,
pdFALSE
)
==
pdTRUE
)
tasks.c:6224
*
pxHigherPriorityTaskWoken
=
pdTRUE
;
tasks.c:6230
xYieldPending
[
xCurCoreID
]
=
pdTRUE
;
tasks.c:6236
if
(
listIS_CONTAINED_WITHIN
(
&
xTasksWaitingTermination
,
&
(
pxCurrentTCBs
[
xCurCoreID
]
->
xStateListItem
)
)
==
pdTRUE
)
tasks.c:6342
xReturn
=
pdTRUE
;
timers.c:553
xReturn
=
pdTRUE
;
timers.c:590
*
pxTimerListsWereSwitched
=
pdTRUE
;
timers.c:792
xProcessTimerNow
=
pdTRUE
;
timers.c:823
xProcessTimerNow
=
pdTRUE
;
timers.c:837
xReturn
=
pdTRUE
;
timers.c:1089
Call Tree
from
0/65
examples
All items filtered out
All items filtered out
Data Use
from
0/65
examples
All items filtered out
All items filtered out
Class Tree
from
0/65
examples
All items filtered out
All items filtered out
Override Tree
from
0/65
examples
All items filtered out
All items filtered out
Implementations
from
0/65
examples
All items filtered out
All items filtered out
Instances
from
0/65
examples
Lifecycle
from
0/65
examples
All items filtered out
All items filtered out