Home
last modified time | relevance | path

Searched refs:event_loop (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_esp_event_cxx.cpp97 event_loop(api), in EventLoopFix()
127 ESPEventLoop event_loop; member
157 ESPEventLoop event_loop(api);
166 ESPEventLoop event_loop(api);
226 fix.event_loop.post_event_data(ESPEvent(TEST_EVENT_BASE_0, TEST_EVENT_ID_0), data_sent);
237 TEST_THROW(ESPEventLoop event_loop, EventException);
247 ESPEventLoop event_loop; variable
249 TEST_THROW(event_loop.register_event(TEMPLATE_EVENT_0, event_cb), EventException);
256 ESPEventLoop event_loop; variable
259 …TEST_THROW(event_loop.register_event_timed(TEMPLATE_EVENT_0, event_cb, std::chrono::microseconds(1…
[all …]
/hal_espressif-3.4.0/components/esp_event/include/
Desp_event.h59 …ent_loop_create(const esp_event_loop_args_t *event_loop_args, esp_event_loop_handle_t *event_loop);
70 esp_err_t esp_event_loop_delete(esp_event_loop_handle_t event_loop);
118 esp_err_t esp_event_loop_run(esp_event_loop_handle_t event_loop, TickType_t ticks_to_run);
180 esp_err_t esp_event_handler_register_with(esp_event_loop_handle_t event_loop,
225 esp_err_t esp_event_handler_instance_register_with(esp_event_loop_handle_t event_loop,
311 esp_err_t esp_event_handler_unregister_with(esp_event_loop_handle_t event_loop,
340 esp_err_t esp_event_handler_instance_unregister_with(esp_event_loop_handle_t event_loop,
410 esp_err_t esp_event_post_to(esp_event_loop_handle_t event_loop,
469 esp_err_t esp_event_isr_post_to(esp_event_loop_handle_t event_loop,
/hal_espressif-3.4.0/components/esp_event/
Desp_event.c110 esp_event_loop_handle_t event_loop = (esp_event_loop_handle_t) args; in esp_event_loop_run_task() local
112 ESP_LOGD(TAG, "running task for loop %p", event_loop); in esp_event_loop_run_task()
115 err = esp_event_loop_run(event_loop, portMAX_DELAY); in esp_event_loop_run_task()
121 ESP_LOGE(TAG, "suspended task for loop %p", event_loop); in esp_event_loop_run_task()
448 …vent_loop_create(const esp_event_loop_args_t* event_loop_args, esp_event_loop_handle_t* event_loop) in esp_event_loop_create() argument
455 if (event_loop == NULL) { in esp_event_loop_create()
519 *event_loop = (esp_event_loop_handle_t) loop; in esp_event_loop_create()
551 esp_err_t esp_event_loop_run(esp_event_loop_handle_t event_loop, TickType_t ticks_to_run) in esp_event_loop_run() argument
553 assert(event_loop); in esp_event_loop_run()
555 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_loop_run()
[all …]
Desp_event_private.c20 bool esp_event_is_handler_registered(esp_event_loop_handle_t event_loop, esp_event_base_t event_bas… in esp_event_is_handler_registered() argument
22 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_is_handler_registered()
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/
Desp_event_api.cpp60 esp_err_t res = esp_event_loop_create(&event_loop_args, &event_loop); in ESPEventAPICustom()
68 esp_event_loop_delete(event_loop); in ~ESPEventAPICustom()
77 return esp_event_handler_instance_register_with(event_loop, in handler_register()
89 return esp_event_handler_instance_unregister_with(event_loop, event_base, event_id, instance); in handler_unregister()
98 return esp_event_post_to(event_loop, in post()
108 return esp_event_loop_run(event_loop, ticks_to_run); in run()
Desp_event_cxx.cpp153 ESPEventHandlerSync::ESPEventHandlerSync(std::shared_ptr<ESPEventLoop> event_loop, in ESPEventHandlerSync() argument
158 event_loop(event_loop) in ESPEventHandlerSync()
160 if (!event_loop) throw EventException(ESP_ERR_INVALID_ARG); in ESPEventHandlerSync()
197 …std::shared_ptr<ESPEventReg> reg = event_loop->register_event(event, [this](const ESPEvent &event,… in listen_to()
/hal_espressif-3.4.0/components/esp_event/private_include/
Desp_event_private.h40 bool esp_event_is_handler_registered(esp_event_loop_handle_t event_loop, esp_event_base_t event_bas…
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/include/
Desp_event_cxx.hpp372 ESPEventHandlerSync(std::shared_ptr<ESPEventLoop> event_loop,
438 std::shared_ptr<ESPEventLoop> event_loop; member in idf::event::ESPEventHandlerSync
Desp_event_api.hpp115 esp_event_loop_handle_t event_loop; member in idf::event::ESPEventAPICustom
/hal_espressif-3.4.0/components/esp_event/test/
Dtest_event.c287 esp_event_loop_handle_t event_loop = (esp_event_loop_handle_t) args; in test_post_from_handler_loop_task() local
290 TEST_ESP_OK(esp_event_loop_run(event_loop, portMAX_DELAY)); in test_post_from_handler_loop_task()
1404 esp_event_loop_handle_t event_loop = (esp_event_loop_handle_t) args; in loop_run_task() local
1407 esp_event_loop_run(event_loop, portMAX_DELAY); in loop_run_task()
/hal_espressif-3.4.0/tools/test_idf_size/
Dexpected_output307event_loop.o 0 0 0 0 0 0 0 …
1022event_loop.o 0 0 0 0 0 0 0 …
1364event_loop.o| | | | | | | | | | | …
1675event_loop.o 0 0 0 0 0 0 0 …
2349event_loop.o 0 0 0 0 0 0 0 …
6163 "libesp32.a:event_loop.o": {
8479 "libesp32.a:event_loop.o": {
10841 "libesp32.a:event_loop.o": {
Dapp.map217 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
220 …/home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o) (esp_event_process…
222 … /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o) (g_mesh_event_cb)
3953 …00000000 0x8 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
3955 …00000000 0x30 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
3957 …00000000 0x8 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
3959 …00000000 0x44 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
3961 …00000000 0x4 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
3963 …00000000 0x24 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
3964 …00000000 0x0 /home/user/esp/esp-idf/tools/unit-test-app/build/esp32/libesp32.a(event_loop.o)
[all …]