Home
last modified time | relevance | path

Searched refs:pdMS_TO_TICKS (Results 1 – 25 of 114) sorted by relevance

12345

/hal_espressif-3.6.0/examples/peripherals/rmt/step_motor/main/
Dstep_motor_main.c60 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
64 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
67 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
70 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
73 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
78 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
82 vTaskDelay(pdMS_TO_TICKS(5000)); in app_main()
86 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_sync_example/main/
Dmcpwm_sync_example.c55 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
60 vTaskDelay(pdMS_TO_TICKS(2000)); in app_main()
84 vTaskDelay(pdMS_TO_TICKS(10)); in app_main()
91 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
97 vTaskDelay(pdMS_TO_TICKS(2000)); in app_main()
103 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
108 vTaskDelay(pdMS_TO_TICKS(2000)); in app_main()
125 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
132 vTaskDelay(pdMS_TO_TICKS(2000)); in app_main()
146 vTaskDelay(pdMS_TO_TICKS(10)); in app_main()
[all …]
/hal_espressif-3.6.0/components/esp_event/test/
Dtest_event.c43 vTaskDelay(pdMS_TO_TICKS(CONFIG_ESP_INT_WDT_TIMEOUT_MS * TEST_CONFIG_WAIT_MULTIPLIER)); \
355 …TIMEOUT, esp_event_post_to(loop3, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, pdMS_TO_TICKS(10)));
385 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
420 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
427 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
468 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
501 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
533 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
566 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
572 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
[all …]
/hal_espressif-3.6.0/components/esp_eth/test_apps/main/
Desp_eth_test.c73 bits = xEventGroupWaitBits(eth_event_group, ETH_START_BIT, true, true, pdMS_TO_TICKS(3000));
78 bits = xEventGroupWaitBits(eth_event_group, ETH_STOP_BIT, true, true, pdMS_TO_TICKS(3000));
123 TEST_ASSERT(xSemaphoreTake(mutex, pdMS_TO_TICKS(3000)));
176 TEST_ASSERT(xSemaphoreTake(mutex, pdMS_TO_TICKS(3000)));
178 vTaskDelay(pdMS_TO_TICKS(100));
188 vTaskDelay(pdMS_TO_TICKS(100));
256 true, true, pdMS_TO_TICKS(3000));
369 … bits = xEventGroupWaitBits(eth_event_group, ETH_CONNECT_BIT, true, true, pdMS_TO_TICKS(3000));
372 vTaskDelay(pdMS_TO_TICKS(100));
379 TEST_ASSERT(xSemaphoreTake(recv_info.mutex, pdMS_TO_TICKS(3000)));
[all …]
/hal_espressif-3.6.0/components/touch_element/test/
Dtest_touch_button.c141 …esp_err_t ret = touch_element_message_receive(&current_message, pdMS_TO_TICKS(2 * te_button->trigg… in test_button_event_trigger_and_check()
166 …BaseType_t os_ret = xSemaphoreTake(monitor->response_sig_handle, pdMS_TO_TICKS(2 * te_button->trig… in test_button_callback_trigger_and_check()
169 BaseType_t os_ret = xSemaphoreTake(monitor->response_sig_handle, pdMS_TO_TICKS(500)); in test_button_callback_trigger_and_check()
193 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_button_disp_event()
239 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_button_disp_callback()
263 …BaseType_t os_ret = xQueueReceive(monitor->valid_msg_handle, &valid_message, pdMS_TO_TICKS(200)); … in test_button_handler()
285 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_button_event_change_lp()
308 ret = touch_element_message_receive(&current_message, pdMS_TO_TICKS(10 * 1000)); in test_button_event_change_lp()
344 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_button_callback_change_lp()
364 …BaseType_t os_ret = xSemaphoreTake(monitor.response_sig_handle, pdMS_TO_TICKS(10 * 1000)); //100ms… in test_button_callback_change_lp()
[all …]
Dtest_touch_matrix.c155 …esp_err_t ret = touch_element_message_receive(&current_message, pdMS_TO_TICKS(2 * te_matrix->trigg… in test_matrix_event_trigger_and_check()
183 …BaseType_t os_ret = xSemaphoreTake(monitor->response_sig_handle, pdMS_TO_TICKS(2 * te_matrix->trig… in test_matrix_callback_trigger_and_check()
186 BaseType_t os_ret = xSemaphoreTake(monitor->response_sig_handle, pdMS_TO_TICKS(500)); in test_matrix_callback_trigger_and_check()
210 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_matrix_disp_event()
253 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_matrix_disp_callback()
277 … BaseType_t os_ret = xQueueReceive(monitor->valid_msg_handle, &valid_message, pdMS_TO_TICKS(200)); in test_matrix_handler()
307 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_matrix_random_channel_trigger()
322 os_ret = xSemaphoreTake(monitor.response_sig_handle, pdMS_TO_TICKS(500)); in test_matrix_random_channel_trigger()
327 os_ret = xSemaphoreTake(monitor.response_sig_handle, pdMS_TO_TICKS(500)); in test_matrix_random_channel_trigger()
368 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_matrix_event_change_lp()
[all …]
Dtest_touch_element.c115 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_system_waterproof_guard()
136 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_system_waterproof_guard()
167 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_system_waterproof_guard()
201 vTaskDelay(pdMS_TO_TICKS(100)); in test_waterproof_event_simulator()
309 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_integrat_btn_sld_mat()
348 os_ret = xSemaphoreTake(monitor.response_sig_handle, pdMS_TO_TICKS(500)); in test_integrat_btn_sld_mat()
371 os_ret = xSemaphoreTake(monitor.response_sig_handle, pdMS_TO_TICKS(500)); in test_integrat_btn_sld_mat()
401 …os_ret = xQueueReceive(monitor->valid_msg_handle, &valid_message, pdMS_TO_TICKS(500)); //Get the v… in test_integration_monitor_task()
Dtest_touch_slider.c116 BaseType_t os_ret = xSemaphoreTake(monitor->response_sig_handle, pdMS_TO_TICKS(300)); in test_slider_callback_trigger_and_check()
142 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_slider_disp_event()
182 vTaskDelay(pdMS_TO_TICKS(500)); //Mention in README, code-block-1 in test_slider_disp_callback()
205 …BaseType_t os_ret = xQueueReceive(monitor->valid_msg_handle, &valid_message, pdMS_TO_TICKS(200)); … in test_slider_handler()
/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_port.c49 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
140 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
157 vTaskDelay(pdMS_TO_TICKS(100)); //Give some time for bus to remain suspended
167 vTaskDelay(pdMS_TO_TICKS(100)); //Give some time for resumed URBs to complete
196 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
276 vTaskDelay(pdMS_TO_TICKS(10)); //Give a short delay let reset command start in main thread in concurrent_task()
286 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
297 vTaskDelay(pdMS_TO_TICKS(20)); //Short delay for device to enter suspend state
310 vTaskDelay(pdMS_TO_TICKS(10)); //Short delay for concurrent task finish running
Dtest_hcd_ctrl.c49 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
92 vTaskDelay(pdMS_TO_TICKS(100)); //Give some time for any inflight transfers to complete
144 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
250 vTaskDelay(pdMS_TO_TICKS(100)); //Short delay send of SOF (for FS) or EOPs (for LS)
277 vTaskDelay(pdMS_TO_TICKS(100)); //Give some time pending for transfers to restart and complete
/hal_espressif-3.6.0/components/driver/test/
Dtest_pwm.c129 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_timer_duty_test()
135 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_timer_duty_test()
140 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_timer_duty_test()
144 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_timer_duty_test()
147 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_timer_duty_test()
210 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_deadtime_test()
240 vTaskDelay(pdMS_TO_TICKS(100)); in mcpwm_carrier_test()
367 vTaskDelay(pdMS_TO_TICKS(50)); in mcpwm_sync_test()
369 vTaskDelay(pdMS_TO_TICKS(50)); in mcpwm_sync_test()
371 vTaskDelay(pdMS_TO_TICKS(50)); in mcpwm_sync_test()
[all …]
Dtest_rmt.c268 vTaskDelay(pdMS_TO_TICKS(100));
292 vTaskDelay(pdMS_TO_TICKS(1000)); in do_nec_tx_rx()
396 vTaskDelay(pdMS_TO_TICKS(1000));
408 vTaskDelay(pdMS_TO_TICKS(100));
463 vTaskDelay(pdMS_TO_TICKS(1000));
523 vTaskDelay(pdMS_TO_TICKS(1000));
565 vTaskDelay(pdMS_TO_TICKS(1000));
/hal_espressif-3.6.0/components/esp_eth/test/
Dtest_emac.c85 vTaskDelay(pdMS_TO_TICKS(100)); in test_uninstall_driver()
143 …bits = xEventGroupWaitBits(eth_event_group, ETH_START_BIT, true, true, pdMS_TO_TICKS(ETH_START_TIM…
146 …bits = xEventGroupWaitBits(eth_event_group, ETH_CONNECT_BIT, true, true, pdMS_TO_TICKS(ETH_CONNECT…
151 …bits = xEventGroupWaitBits(eth_event_group, ETH_STOP_BIT, true, true, pdMS_TO_TICKS(ETH_STOP_TIMEO…
190 …bits = xEventGroupWaitBits(eth_event_group, ETH_GOT_IP_BIT, true, true, pdMS_TO_TICKS(ETH_GET_IP_T…
195 …bits = xEventGroupWaitBits(eth_event_group, ETH_STOP_BIT, true, true, pdMS_TO_TICKS(ETH_STOP_TIMEO…
239 …bits = xEventGroupWaitBits(eth_event_group, ETH_GOT_IP_BIT, true, true, pdMS_TO_TICKS(ETH_GET_IP_T…
244 …bits = xEventGroupWaitBits(eth_event_group, ETH_STOP_BIT, true, true, pdMS_TO_TICKS(ETH_STOP_TIMEO…
335 …bits = xEventGroupWaitBits(eth_event_group, ETH_GOT_IP_BIT, true, true, pdMS_TO_TICKS(ETH_GET_IP_T…
340 …bits = xEventGroupWaitBits(eth_event_group, ETH_DOWNLOAD_END_BIT, true, true, pdMS_TO_TICKS(ETH_DO…
[all …]
/hal_espressif-3.6.0/components/freemodbus/port/
Dport.h62 #define MB_SERIAL_TX_TOUT_TICKS (pdMS_TO_TICKS(MB_SERIAL_TX_TOUT_MS)) // timeout for transm…
64 #define MB_SERIAL_RX_TOUT_TICKS (pdMS_TO_TICKS(MB_SERIAL_RX_TOUT_MS)) // timeout for receive
78 #define MB_TCP_READ_TIMEOUT (pdMS_TO_TICKS(MB_TCP_READ_TIMEOUT_MS))
80 #define MB_TCP_SEND_TIMEOUT (pdMS_TO_TICKS(MB_TCP_SEND_TIMEOUT_MS))
/hal_espressif-3.6.0/examples/peripherals/twai/twai_alert_and_recovery/main/
Dtwai_alert_and_recovery_example_main.c79 vTaskDelay(pdMS_TO_TICKS(50)); in tx_task()
96 vTaskDelay(pdMS_TO_TICKS(1000)); in ctrl_task()
116 vTaskDelay(pdMS_TO_TICKS(1000)); in ctrl_task()
145 vTaskDelay(pdMS_TO_TICKS(100)); in app_main()
/hal_espressif-3.6.0/components/lwip/test/
Dtest_lwip_apps.c90 vTaskDelay(pdMS_TO_TICKS(ETH_PING_DURATION_MS));
94 …bits = xEventGroupWaitBits(eth_event_group, ETH_PING_END_BIT, true, true, pdMS_TO_TICKS(ETH_PING_E…
98 vTaskDelay(pdMS_TO_TICKS(ETH_PING_DURATION_MS));
100 …bits = xEventGroupWaitBits(eth_event_group, ETH_PING_END_BIT, true, true, pdMS_TO_TICKS(ETH_PING_E…
/hal_espressif-3.6.0/examples/system/freertos/real_time_stats/main/
Dreal_time_stats_example_main.c21 #define STATS_TICKS pdMS_TO_TICKS(1000)
143 vTaskDelay(pdMS_TO_TICKS(100)); in spin_task()
164 vTaskDelay(pdMS_TO_TICKS(1000)); in stats_task()
171 vTaskDelay(pdMS_TO_TICKS(100)); in app_main()
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_slave/main/
Dtwai_network_example_slave_main.c150 vTaskDelay(pdMS_TO_TICKS(DATA_PERIOD_MS)); in twai_transmit_task()
208 vTaskDelay(pdMS_TO_TICKS(100)); in twai_control_task()
214 vTaskDelay(pdMS_TO_TICKS(ITER_DELAY_MS)); in twai_control_task()
233 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
/hal_espressif-3.6.0/examples/network/simple_sniffer/main/
Dcmd_pcap.c82 esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, pdMS_TO_TICKS(10)); in pcap_flush_apptrace_timer_cb()
101 xTimerDelete(pcap->trace_flush_timer, pdMS_TO_TICKS(100)); in pcap_close()
157 vTaskDelay(pdMS_TO_TICKS(1000)); in sniff_packet_start()
178 pdMS_TO_TICKS(TRACE_TIMER_FLUSH_INT_MS), in sniff_packet_start()
193 xTimerDelete(pcap_cmd_rt.trace_flush_timer, pdMS_TO_TICKS(100)); in sniff_packet_start()
/hal_espressif-3.6.0/components/esp_hw_support/test/
Dtest_rtc_clk.c337 vTaskDelay(pdMS_TO_TICKS(1000));
349 vTaskDelay(pdMS_TO_TICKS(1000));
370 vTaskDelay(pdMS_TO_TICKS(1000)); in trigger_deepsleep()
390 vTaskDelay(pdMS_TO_TICKS(1000)); in check_time_deepsleep_1()
/hal_espressif-3.6.0/components/freertos/include/freertos/
Dprojdefs.h39 #ifndef pdMS_TO_TICKS
40 …#define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickTy… macro
/hal_espressif-3.6.0/components/esp_lcd/src/
Desp_lcd_panel_st7789.c134 vTaskDelay(pdMS_TO_TICKS(10)); in panel_st7789_reset()
136 vTaskDelay(pdMS_TO_TICKS(10)); in panel_st7789_reset()
139 vTaskDelay(pdMS_TO_TICKS(20)); // spec, wait at least 5m before sending new command in panel_st7789_reset()
151 vTaskDelay(pdMS_TO_TICKS(100)); in panel_st7789_init()
Desp_lcd_panel_nt35510.c137 vTaskDelay(pdMS_TO_TICKS(10)); in panel_nt35510_reset()
139 vTaskDelay(pdMS_TO_TICKS(10)); in panel_nt35510_reset()
143 vTaskDelay(pdMS_TO_TICKS(20)); // spec, wait at least 5m before sending new command in panel_nt35510_reset()
155 vTaskDelay(pdMS_TO_TICKS(100)); in panel_nt35510_init()
/hal_espressif-3.6.0/examples/system/task_watchdog/main/
Dtask_watchdog_example_main.c41 vTaskDelay(pdMS_TO_TICKS(TASK_RESET_PERIOD_S * 1000)); in reset_task()
65 vTaskDelay(pdMS_TO_TICKS(10000)); //Delay for 10 seconds in app_main()
/hal_espressif-3.6.0/examples/peripherals/adc/single_read/single_read/main/
Dsingle_read.c96 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()
108 vTaskDelay(pdMS_TO_TICKS(1000)); in app_main()

12345