Flipper Zero Firmware
Loading...
Searching...
No Matches
event_flag.h
Go to the documentation of this file.
1
5#pragma once
6
7#include "base.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct FuriEventFlag FuriEventFlag;
14
20
26
34uint32_t furi_event_flag_set(FuriEventFlag* instance, uint32_t flags);
35
43uint32_t furi_event_flag_clear(FuriEventFlag* instance, uint32_t flags);
44
51uint32_t furi_event_flag_get(FuriEventFlag* instance);
52
63 FuriEventFlag* instance,
64 uint32_t flags,
65 uint32_t options,
66 uint32_t timeout);
67
68#ifdef __cplusplus
69}
70#endif
uint32_t furi_event_flag_wait(FuriEventFlag *instance, uint32_t flags, uint32_t options, uint32_t timeout)
Wait flags.
Definition event_flag.c:100
uint32_t furi_event_flag_clear(FuriEventFlag *instance, uint32_t flags)
Clear flags.
Definition event_flag.c:58
void furi_event_flag_free(FuriEventFlag *instance)
Deallocate FuriEventFlag.
Definition event_flag.c:28
FuriEventFlag * furi_event_flag_alloc(void)
Allocate FuriEventFlag.
Definition event_flag.c:18
uint32_t furi_event_flag_set(FuriEventFlag *instance, uint32_t flags)
Set flags.
Definition event_flag.c:34
uint32_t furi_event_flag_get(FuriEventFlag *instance)
Get flags.
Definition event_flag.c:84
Definition event_flag.c:11