Searched refs:ESPTimer (Results 1 – 7 of 7) sorted by relevance
27 ESPTimer::ESPTimer(function<void()> timeout_cb, const string &timer_name) in ESPTimer() function in idf::esp_timer::ESPTimer43 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()
53 class ESPTimer { class59 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;
97 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);
25 ESPTimer timer([]() { cout << "timeout" << endl; }); in app_main()31 ESPTimer timer2([]() { cout << "periodic timeout" << endl; }); in app_main()
57 ESPTimer timer(timer_cb, "timer1");103 ESPTimer timer(timer_cb, "timer1");
1 # Example: ESPTimer C++ class5 This example demonstrates usage of the ESPTimer c++ class in ESP-IDF.
4 # C++ ESPTimer test on Linux target6 This unit test tests basic functionality of the `ESPTimer` class. The test does not use mocks. Inst…