Commonly used utility macros.
More...
Commonly used utility macros.
◆ GPIOD_API
#define GPIOD_API __attribute__((visibility("default"))) |
Makes symbol visible.
Definition at line 62 of file gpiod.h.
◆ GPIOD_BIT
#define GPIOD_BIT |
( |
|
nr | ) |
(1UL << (nr)) |
Shift 1 by given offset.
- Parameters
-
- Returns
- 1 shifted by nr.
Definition at line 74 of file gpiod.h.
◆ GPIOD_DEPRECATED
#define GPIOD_DEPRECATED __attribute__((deprecated)) |
Marks a public function as deprecated.
Definition at line 79 of file gpiod.h.
◆ GPIOD_UNUSED
#define GPIOD_UNUSED __attribute__((unused)) |
Marks a function argument or variable as potentially unused.
Definition at line 67 of file gpiod.h.