Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/newlib/port/
Desp_time_impl.c70 uint64_t microseconds = 0; in esp_time_impl_get_time_since_boot() local
74 microseconds = s_microseconds_offset + esp_system_get_time(); in esp_time_impl_get_time_since_boot()
76 microseconds = esp_system_get_time(); in esp_time_impl_get_time_since_boot()
79 microseconds = esp_rtc_get_time_us(); in esp_time_impl_get_time_since_boot()
81 return microseconds; in esp_time_impl_get_time_since_boot()
86 uint64_t microseconds = 0; in esp_time_impl_get_time() local
88 microseconds = esp_system_get_time(); in esp_time_impl_get_time()
90 microseconds = esp_rtc_get_time_us(); in esp_time_impl_get_time()
92 return microseconds; in esp_time_impl_get_time()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/
Desp_timer_cxx.hpp33 static inline std::chrono::microseconds get_time() in get_time()
35 return std::chrono::microseconds(esp_timer_get_time()); in get_time()
43 static inline std::chrono::microseconds get_next_alarm() in get_next_alarm()
45 return std::chrono::microseconds(esp_timer_get_next_alarm()); in get_next_alarm()
85 inline void start(std::chrono::microseconds timeout) in start()
102 inline void start_periodic(std::chrono::microseconds period) in start_periodic()
Desp_event_cxx.hpp45 const std::chrono::microseconds MIN_TIMEOUT(200);
224 const std::chrono::microseconds &timeout,
300 const std::chrono::microseconds &timeout,
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/main/
Desp_timer_test.cpp85 CHECK(get_time() == std::chrono::microseconds(0xfeeddeadbeef));
92 CHECK(get_next_alarm() == std::chrono::microseconds(47u));
124 CHECK_THROWS_AS(timer.start(chrono::microseconds(5000)), ESPException&);
136 CHECK_THROWS_AS(timer.start_periodic(chrono::microseconds(5000)), ESPException&);
163 timer.start(chrono::microseconds(5000));
178 timer.start(chrono::microseconds(5000));
/hal_espressif-3.6.0/tools/unit-test-app/components/test_utils/
Dref_clock_impl_rmt_pcnt.c164 int microseconds = 0; in ref_clock_get() local
165 microseconds = pcnt_ll_get_count(s_pcnt_hal.dev, REF_CLOCK_PCNT_UNIT); in ref_clock_get()
170 microseconds = pcnt_ll_get_count(s_pcnt_hal.dev, REF_CLOCK_PCNT_UNIT); in ref_clock_get()
174 return 1000 * (uint64_t)milliseconds + (uint64_t)microseconds; in ref_clock_get()
/hal_espressif-3.6.0/examples/common_components/pcap/src/
Dpcap.c41 …uint32_t microseconds; /*!< Number of microseconds when the packet was captured (offset from sec… member
114 …t(pcap_file_handle_t pcap, void *payload, uint32_t length, uint32_t seconds, uint32_t microseconds) in pcap_capture_packet() argument
120 .microseconds = microseconds, in pcap_capture_packet()
169 fprintf(print_file, "Timestamp (Microseconds): %d\n", packet_header.microseconds); in pcap_print_summary()
/hal_espressif-3.6.0/examples/cxx/experimental/esp_timer_cxx/main/
Desp_timer_example.cpp26 timer.start(chrono::microseconds(200 * 1000)); in app_main()
32 timer2.start_periodic(chrono::microseconds(200 * 1000)); in app_main()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_esp_event_cxx.cpp259 …ent_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(10), timer_cb),
270 …ent_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(10), timer_cb),
291 …ent_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(40), timer_cb),
456 const std::chrono::microseconds INVALID_US(MIN_TIMEOUT - chrono::microseconds(1));
491 … timed_reg(fix.handler0, TEMPLATE_EVENT_0, fix.timer_cb, std::chrono::microseconds(500000), fix.ap…
510 … timed_reg(fix.handler1, TEMPLATE_EVENT_0, fix.timer_cb, std::chrono::microseconds(500000), fix.ap…
530 std::chrono::microseconds(500000),
Dtest_esp_timer.cpp66 timer.start(chrono::microseconds(delays_ms[i] * 1000));
107 timer.start_periodic(chrono::microseconds(DELAY_MS * 1000));
/hal_espressif-3.6.0/components/newlib/
Dtime.c178 uint64_t microseconds = get_adjusted_boot_time() + esp_time_impl_get_time_since_boot(); in _gettimeofday_r() local
179 tv->tv_sec = microseconds / 1000000; in _gettimeofday_r()
180 tv->tv_usec = microseconds % 1000000; in _gettimeofday_r()
/hal_espressif-3.6.0/examples/network/simple_sniffer/main/
Dcmd_sniffer.c58 uint32_t microseconds; member
140 packet_info.microseconds = sniffer->rx_ctrl.timestamp % 1000000U; in wifi_sniffer_cb()
160 packet_info.microseconds = tv_now.tv_usec; in eth_sniffer_cb()
185 packet_info.microseconds) != ESP_OK) { in sniffer_task()
Dcmd_pcap.h28 esp_err_t packet_capture(void *payload, uint32_t length, uint32_t seconds, uint32_t microseconds);
Dcmd_pcap.c143 esp_err_t packet_capture(void *payload, uint32_t length, uint32_t seconds, uint32_t microseconds) in packet_capture() argument
145 return pcap_capture_packet(pcap_cmd_rt.pcap_handle, payload, length, seconds, microseconds); in packet_capture()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Desp_event_cxx.cpp64 const std::chrono::microseconds &timeout, in ESPEventRegTimed()
133 const std::chrono::microseconds &timeout, in register_event_timed()
/hal_espressif-3.6.0/examples/common_components/pcap/include/
Dpcap.h112 …(pcap_file_handle_t pcap, void *payload, uint32_t length, uint32_t seconds, uint32_t microseconds);
/hal_espressif-3.6.0/components/pthread/test/
Dtest_cxx_cond_var.cpp89 auto extra_us = extra / std::chrono::microseconds(1);
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/
DREADME.md17 8. After the Provisioner receives the response, it will calculate the latency (in microseconds).
/hal_espressif-3.6.0/docs/zh_CN/api-guides/
Dunit-tests.rst272 // Stop the timer, and return the elapsed time in microseconds relative to
/hal_espressif-3.6.0/examples/system/esp_timer/
DREADME.md9 … `esp_timer_get_time()` function which returns the time since boot in microseconds. This can be us…
/hal_espressif-3.6.0/docs/en/api-reference/system/
Desp_timer.rst101 …: :cpp:func:`esp_timer_get_time`. This function returns the number of microseconds since ``esp_tim…
/hal_espressif-3.6.0/components/esptool_py/esptool/docs/en/advanced-topics/
Dserial-protocol.rst169 …adwrite>`__ | Four 32-bit words: address, value, mask and delay (in microseconds) …
193 …__ | Four 32-bit words: address, value, mask and delay (in microseconds) …
231 …__ | Four 32-bit words: address, value, mask and delay (in microseconds) …
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dmcpwm.rst74 …ll :cpp:func:`mcpwm_set_duty_in_us`, if you prefer to set the duty in microseconds. Checking of cu…
/hal_espressif-3.6.0/docs/en/api-guides/
Dunit-tests.rst272 // Stop the timer, and return the elapsed time in microseconds relative to
Dwifi.rst61 …he recoverable-error code vTaskDelay can be called, in order to get a microseconds' delay for anot…
/hal_espressif-3.6.0/docs/en/api-guides/performance/
Dspeed.rst45 printf("%u iterations took %ull milliseconds (%ull microseconds per invocation)\n",