Lines Matching refs:loop
7 The event loop library allows components to declare events to which other components can register h…
21 These two appear prominently in the event loop library APIs.
25 1. A user defines a function that should run when an event is posted to a loop. This function is re…
26 …loop is created using :cpp:func:`esp_event_loop_create`, which outputs a handle to the loop of typ…
27 3. Components register event handlers to the loop using :cpp:func:`esp_event_handler_register_with`…
28 4. Event sources post an event to the loop using :cpp:func:`esp_event_post_to`.
29 …move their handlers from being called can do so by unregistering from the loop using :cpp:func:`es…
44 …ation structure of type esp_event_loop_args_t is needed to specify the properties of the loop to be
45 …f type esp_event_loop_handle_t is obtained, which is needed by the other APIs to reference the loop
60 // event that handler run_on_event should execute on when it gets posted to the loop.
65 … // 4. Post events to the loop. This queues the event on the event loop. At some point in time
66 …// the event loop executes the event handler registered to the posted event, in this case run_on_e…
78 // 6. Deleting an unneeded event loop
91 The event loop library provides macros to declare and define the event base easily.
129 The default event loop is a special type of loop used for system events (WiFi events, for example).…
130 loop is hidden from the user. The creation, deletion, handler registration/unregistration and posti…
148 If you compare the signatures for both, they are mostly similar except the for the lack of loop han…
149 specification for the default event loop APIs.
153 to the default event loop, should the user opt to not create their own loops to save memory.
163 …is desirable for a handler to execute on (1) all events that get posted to a loop or (2) all events
170 …dler executes when the event with base <event base> and event ID <event ID> gets posted to the loop
171 …, ESP_EVENT_ANY_ID - handler executes when any event with base <event base> gets posted to the loop
172 3. ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID - handler executes when any event gets posted to the loop
200 Event loop profiling
210 …und in :example:`system/esp_event`. The examples cover event declaration, loop creation, handler r…
228 Legacy event loop API reference <esp_event_legacy>