194typedef void FuriEventLoopObject;
void furi_event_loop_subscribe_stream_buffer(FuriEventLoop *instance, FuriStreamBuffer *stream_buffer, FuriEventLoopEvent event, FuriEventLoopEventCallback callback, void *context)
Subscribe to stream buffer events.
Definition event_loop.c:343
void furi_event_loop_subscribe_semaphore(FuriEventLoop *instance, FuriSemaphore *semaphore, FuriEventLoopEvent event, FuriEventLoopEventCallback callback, void *context)
Subscribe to semaphore events.
Definition event_loop.c:355
void furi_event_loop_run(FuriEventLoop *instance)
Continuously poll for events.
Definition event_loop.c:185
void furi_event_loop_pend_callback(FuriEventLoop *instance, FuriEventLoopPendingCallback callback, void *context)
Call a function when all preceding timer commands are processed.
Definition event_loop.c:256
void furi_event_loop_unsubscribe(FuriEventLoop *instance, FuriEventLoopObject *object)
Unsubscribe from events (common)
Definition event_loop.c:383
void furi_event_loop_free(FuriEventLoop *instance)
Free Event Loop instance.
Definition event_loop.c:81
void furi_event_loop_stop(FuriEventLoop *instance)
Stop Event Loop instance.
Definition event_loop.c:242
FuriEventLoop * furi_event_loop_alloc(void)
Allocate Event Loop instance.
Definition event_loop.c:62
void furi_event_loop_subscribe_mutex(FuriEventLoop *instance, FuriMutex *mutex, FuriEventLoopEvent event, FuriEventLoopEventCallback callback, void *context)
Subscribe to mutex events.
Definition event_loop.c:367
void furi_event_loop_subscribe_message_queue(FuriEventLoop *instance, FuriMessageQueue *message_queue, FuriEventLoopEvent event, FuriEventLoopEventCallback callback, void *context)
Subscribe to message queue events.
Definition event_loop.c:331
void(* FuriEventLoopPendingCallback)(void *context)
Timer callback type for functions to be called in a deferred manner.
Definition event_loop.h:174
FuriEventLoopEvent
Enumeration of event types, flags and masks.
Definition event_loop.h:32
@ FuriEventLoopEventFlagEdge
Use edge triggered events.
Definition event_loop.h:83
@ FuriEventLoopEventIn
Subscribe to In events.
Definition event_loop.h:42
@ FuriEventLoopEventFlagMask
Special value containing the event flag bits, used internally.
Definition event_loop.h:95
@ FuriEventLoopEventOut
Subscribe to Out events.
Definition event_loop.h:52
@ FuriEventLoopEventFlagOnce
Automatically unsubscribe from events after one time.
Definition event_loop.h:91
@ FuriEventLoopEventMask
Special value containing the event direction bits, used internally.
Definition event_loop.h:56
@ FuriEventLoopEventReserved
Special value to force the enum to 32-bit values.
Definition event_loop.h:99
bool(* FuriEventLoopEventCallback)(FuriEventLoopObject *object, void *context)
Callback type for event loop events.
Definition event_loop.h:203
void(* FuriEventLoopTickCallback)(void *context)
Tick callback type.
Definition event_loop.h:144
void furi_event_loop_tick_set(FuriEventLoop *instance, uint32_t interval, FuriEventLoopTickCallback callback, void *context)
Set Event Loop tick callback.
Definition event_loop_tick.c:56
Definition event_loop_i.h:79
Definition message_queue.c:16
Definition semaphore.c:15
Definition stream_buffer.c:14