Home
last modified time | relevance | path

Searched refs:ESPTimer (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/
Desp_timer_cxx.cpp27 ESPTimer::ESPTimer(function<void()> timeout_cb, const string &timer_name) in ESPTimer() function in idf::esp_timer::ESPTimer
43 ESPTimer::~ESPTimer() in ~ESPTimer()
50 void ESPTimer::esp_timer_cb(void *arg) in esp_timer_cb()
52 ESPTimer *timer = static_cast<ESPTimer*>(arg); in esp_timer_cb()
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/include/
Desp_timer_cxx.hpp53 class ESPTimer { class
59 ESPTimer(std::function<void()> timeout_cb, const std::string &timer_name = "ESPTimer");
64 ~ESPTimer();
69 ESPTimer(const ESPTimer&) = delete;
74 ESPTimer &operator=(const ESPTimer&) = delete;
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/main/
Desp_timer_test.cpp97 CHECK_THROWS_AS(ESPTimer(nullptr), ESPException&);
103 CHECK_THROWS_AS(ESPTimer(nothing, "test"), ESPException&);
112 ESPTimer(timer_cb, "test");
122 ESPTimer timer(timer_cb);
134 ESPTimer timer(timer_cb);
149 ESPTimer timer(timer_cb);
161 ESPTimer timer(timer_cb);
176 ESPTimer timer(timer_cb);
190 ESPTimer timer(timer_cb);
/hal_espressif-3.4.0/examples/cxx/experimental/esp_timer_cxx/main/
Desp_timer_example.cpp25 ESPTimer timer([]() { cout << "timeout" << endl; }); in app_main()
31 ESPTimer timer2([]() { cout << "periodic timeout" << endl; }); in app_main()
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_esp_timer.cpp57 ESPTimer timer(timer_cb, "timer1");
103 ESPTimer timer(timer_cb, "timer1");
/hal_espressif-3.4.0/examples/cxx/experimental/esp_timer_cxx/
DREADME.md1 # Example: ESPTimer C++ class
5 This example demonstrates usage of the ESPTimer c++ class in ESP-IDF.
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/
DREADME.md4 # C++ ESPTimer test on Linux target
6 This unit test tests basic functionality of the `ESPTimer` class. The test does not use mocks. Inst…