Home
last modified time | relevance | path

Searched refs:xSemaphoreTake (Results 1 – 25 of 152) sorted by relevance

1234567

/hal_espressif-2.7.6/examples/peripherals/twai/twai_network/twai_network_slave/main/
Dtwai_network_example_slave_main.c151 if (xSemaphoreTake(stop_data_sem, 0) == pdTRUE) { in twai_transmit_task()
169 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
180 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
185 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
190 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
197 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
202 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
252 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for tasks to complete in app_main()
/hal_espressif-2.7.6/examples/peripherals/twai/twai_self_test/main/
Dtwai_self_test_example_main.c62 xSemaphoreTake(tx_sem, portMAX_DELAY); in twai_transmit_task()
78 xSemaphoreTake(rx_sem, portMAX_DELAY); in twai_receive_task()
92 xSemaphoreTake(ctrl_sem, portMAX_DELAY); in twai_control_task()
101 xSemaphoreTake(ctrl_sem, portMAX_DELAY); //Wait for TX and RX tasks to finish iteration in twai_control_task()
130 xSemaphoreTake(done_sem, portMAX_DELAY); in app_main()
/hal_espressif-2.7.6/components/cxx/
Dcxx_guards.cpp90 result = xSemaphoreTake(s_static_init_wait_sem, portMAX_DELAY); in wait_for_guard_obj()
96 result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in wait_for_guard_obj()
141 auto result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in __cxa_guard_acquire()
180 auto result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in __cxa_guard_release()
200 auto result = xSemaphoreTake(s_static_init_mutex, portMAX_DELAY); in __cxa_guard_abort()
/hal_espressif-2.7.6/components/esp_common/test/
Dtest_delay.c51 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
56 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
74 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
79 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
/hal_espressif-2.7.6/components/vfs/test/
Dtest_vfs_fd.c200 TEST_ASSERT_EQUAL(xSemaphoreTake(param1.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
201 TEST_ASSERT_EQUAL(xSemaphoreTake(param2.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
202 TEST_ASSERT_EQUAL(xSemaphoreTake(param3.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
203 TEST_ASSERT_EQUAL(xSemaphoreTake(param4.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
204 TEST_ASSERT_EQUAL(xSemaphoreTake(param5.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
205 TEST_ASSERT_EQUAL(xSemaphoreTake(param6.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
206 TEST_ASSERT_EQUAL(xSemaphoreTake(param7.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
207 TEST_ASSERT_EQUAL(xSemaphoreTake(param8.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
Dtest_vfs_select.c186 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE);
203 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE);
246 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE);
264 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE);
307 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE);
359 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE);
494 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1000 / portTICK_PERIOD_MS));
544 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1000 / portTICK_PERIOD_MS));
547 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(send_param.sem, 1000 / portTICK_PERIOD_MS));
596 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1500 / portTICK_PERIOD_MS));
[all …]
/hal_espressif-2.7.6/examples/peripherals/twai/twai_network/twai_network_master/main/
Dtwai_network_example_master_main.c143 while (xSemaphoreTake(stop_ping_sem, 0) != pdTRUE) { in twai_transmit_task()
164 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
179 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
186 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
192 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in twai_control_task()
225 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for completion in app_main()
/hal_espressif-2.7.6/components/freertos/test/
Dtest_freertos_debug_functions.c38 xSemaphoreTake(start_sem[core], portMAX_DELAY); //Wait for start vQueueAddToRegistry() in test_queue_registry_task()
46 xSemaphoreTake(start_sem[core], portMAX_DELAY); //Wait to start vQueueUnregisterQueue() in test_queue_registry_task()
70 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for tasks to complete vQueueAddToRegistry
83xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for tasks to complete vQueueUnregisterQueue
Dtest_freertos_task_notify.c48 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task()
53 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task()
58 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task()
63 xSemaphoreTake(trigger_send_semphr, portMAX_DELAY); in sender_task()
192 TEST_ASSERT( xSemaphoreTake(task_delete_semphr, 1000 / portTICK_PERIOD_MS) );
Dtest_isr_latency.c66 xSemaphoreTake(sync, portMAX_DELAY); in test_task()
89 BaseType_t result = xSemaphoreTake(end_sema, portMAX_DELAY);
108 BaseType_t result = xSemaphoreTake(end_sema, portMAX_DELAY);
Dtest_freertos_eventgroups.c75 TEST_ASSERT( xSemaphoreTake(done_sem, 100/portTICK_PERIOD_MS) );
120 TEST_ASSERT( xSemaphoreTake(done_sem, 100/portTICK_PERIOD_MS) );
210 xSemaphoreTake(done_sem, portMAX_DELAY); //Wait for ISR to clear bits
/hal_espressif-2.7.6/components/esp_ipc/
Dipc.c51 if (xSemaphoreTake(s_ipc_sem[cpuid], portMAX_DELAY) != pdTRUE) { in ipc_task()
118 xSemaphoreTake(s_ipc_mutex[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait()
121 xSemaphoreTake(s_ipc_mutex[0], portMAX_DELAY); in esp_ipc_call_and_wait()
128 xSemaphoreTake(s_ipc_ack[cpu_id], portMAX_DELAY); in esp_ipc_call_and_wait()
/hal_espressif-2.7.6/components/esp_ipc/test/
Dtest_ipc.c68 xSemaphoreTake(sema_ipc_done, 4000 / portTICK_PERIOD_MS);
71 xSemaphoreTake(sema_ipc_done, portMAX_DELAY);
90 xSemaphoreTake(*(xSemaphoreHandle *)sema, portMAX_DELAY); in task()
121 xSemaphoreTake(sema_ipc_done[task_num * 2 + cpu_num], portMAX_DELAY);
/hal_espressif-2.7.6/examples/peripherals/twai/twai_alert_and_recovery/main/
Dtwai_alert_and_recovery_example_main.c67 xSemaphoreTake(tx_task_sem, portMAX_DELAY); in tx_task()
86 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); in ctrl_task()
146 xSemaphoreTake(ctrl_task_sem, portMAX_DELAY); //Wait for completion in app_main()
/hal_espressif-2.7.6/components/bt/common/osi/
Dsemaphore.c60 if (xSemaphoreTake(*sem, portMAX_DELAY) != pdTRUE) { in osi_sem_take()
64 if (xSemaphoreTake(*sem, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_sem_take()
Dmutex.c49 if (xSemaphoreTake(*mutex, portMAX_DELAY) != pdTRUE) { in osi_mutex_lock()
53 if (xSemaphoreTake(*mutex, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_mutex_lock()
/hal_espressif-2.7.6/components/touch_element/
Dtouch_button.c60 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_install()
85 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_uninstall()
165 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_set_dispatch_method()
185 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_subscribe_event()
199 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_set_callback()
213 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in touch_button_set_longpress()
281 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in button_object_add_instance()
293 xSemaphoreTake(s_te_btn_obj->mutex, portMAX_DELAY); in button_object_remove_instance()
370 BaseType_t mux_ret = xSemaphoreTake(s_te_btn_obj->mutex, 0); in button_proc_state()
Dtouch_element.c156 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_install()
185 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_start()
223 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_stop()
244 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_uninstall()
387 BaseType_t ret = xSemaphoreTake(s_te_obj->mutex, 0); in te_proc_timer_cb()
424 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in te_object_method_register()
435 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in te_object_method_unregister()
732 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_waterproof_add()
749 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_waterproof_remove()
763 xSemaphoreTake(s_te_obj->mutex, portMAX_DELAY); in touch_element_waterproof_uninstall()
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/
Dble_mesh_adapter.h87 xSemaphoreTake(ble_mesh_node_sema, portMAX_DELAY); \
98 xSemaphoreTake(ble_mesh_node_sema, portMAX_DELAY); \
105 xSemaphoreTake(ble_mesh_node_sema, portMAX_DELAY); \
/hal_espressif-2.7.6/components/driver/esp32/
Dtouch_sensor.c118 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_cb()
313 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_deinit()
354 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_read()
393 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_set_filter_period()
412 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_get_filter_period()
428 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_start()
459 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_stop()
474 xSemaphoreTake(rtc_touch_mux, portMAX_DELAY); in touch_pad_filter_delete()
/hal_espressif-2.7.6/components/esp_timer/test/
Dtest_esp_timer.c141 TEST_ASSERT(xSemaphoreTake(done, test_time_sec * 2 * 1000 / portTICK_PERIOD_MS));
143 TEST_ASSERT(xSemaphoreTake(done, test_time_sec * 2 * 1000 / portTICK_PERIOD_MS));
238 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * NUM_INTERVALS * 2));
359 int result = xSemaphoreTake(done, 1000 / portTICK_PERIOD_MS);
407 TEST_ASSERT_EQUAL(pdPASS, xSemaphoreTake(semaphore, timeout_ms * 2));
408 TEST_ASSERT_EQUAL(pdPASS, xSemaphoreTake(semaphore, timeout_ms * 2));
505 TEST_ASSERT_TRUE( xSemaphoreTake(done, portMAX_DELAY) );
553 TEST_ASSERT_TRUE(xSemaphoreTake(args.notify_from_timer_cb, 1000 / portTICK_PERIOD_MS));
571 xSemaphoreTake(args->delete_start, portMAX_DELAY); in timer_delete_task()
584 xSemaphoreTake(args->delete_done, portMAX_DELAY); in timer_delete_test_callback()
[all …]
/hal_espressif-2.7.6/components/wear_levelling/test/
Dtest_wl.c152 xSemaphoreTake(args1.done, portMAX_DELAY);
155 xSemaphoreTake(args2.done, portMAX_DELAY);
170 xSemaphoreTake(args1.done, portMAX_DELAY);
173 xSemaphoreTake(args2.done, portMAX_DELAY);
176 xSemaphoreTake(args3.done, portMAX_DELAY);
179 xSemaphoreTake(args4.done, portMAX_DELAY);
/hal_espressif-2.7.6/components/esp32/test/
Dtest_aes_sha_rsa.c132 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) {
177 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) {
211 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) {
245 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) {
281 if (!xSemaphoreTake(exit_sema[i], 2000/portTICK_PERIOD_MS)) {
/hal_espressif-2.7.6/components/log/
Dlog_freertos.c37 xSemaphoreTake(s_log_mutex, portMAX_DELAY); in esp_log_impl_lock()
45 return xSemaphoreTake(s_log_mutex, MAX_MUTEX_WAIT_TICKS) == pdTRUE; in esp_log_impl_lock_timeout()
/hal_espressif-2.7.6/examples/peripherals/twai/twai_network/twai_network_listen_only/main/
Dtwai_network_example_listen_only_main.c61 xSemaphoreTake(rx_sem, portMAX_DELAY); in twai_receive_task()
113 xSemaphoreTake(rx_sem, portMAX_DELAY); //Wait for RX task to complete in app_main()

1234567