libgpiod
1.4.1
|
Data Structures | |
class | gpiod::chip |
Represents a GPIO chip. More... | |
struct | gpiod::line_request |
Stores the configuration for line requests. More... | |
class | gpiod::line |
Represents a single GPIO line. More... | |
struct | gpiod::line_event |
Describes a single GPIO line event. More... | |
class | gpiod::line_bulk |
Represents a set of GPIO lines. More... | |
class | gpiod::line_bulk::iterator |
Iterator for iterating over lines held by line_bulk. More... | |
class | gpiod::chip_iter |
Allows to iterate over all GPIO chips present on the system. More... | |
class | gpiod::line_iter |
Allows to iterate over all lines owned by a GPIO chip. More... | |
Enumerations | |
enum | : int { gpiod::chip::OPEN_LOOKUP = 1, gpiod::chip::OPEN_BY_PATH, gpiod::chip::OPEN_BY_NAME, gpiod::chip::OPEN_BY_LABEL, gpiod::chip::OPEN_BY_NUMBER } |
Affect the way in which chip::chip and chip::open will try to open a GPIO chip character device. More... | |
enum | : int { gpiod::line_request::DIRECTION_AS_IS = 1, gpiod::line_request::DIRECTION_INPUT, gpiod::line_request::DIRECTION_OUTPUT, gpiod::line_request::EVENT_FALLING_EDGE, gpiod::line_request::EVENT_RISING_EDGE, gpiod::line_request::EVENT_BOTH_EDGES } |
Request types. More... | |
enum | : int { gpiod::line::DIRECTION_INPUT = 1, gpiod::line::DIRECTION_OUTPUT } |
Possible direction settings. More... | |
enum | : int { gpiod::line::ACTIVE_LOW = 1, gpiod::line::ACTIVE_HIGH } |
Possible active state settings. More... | |
enum | : int { gpiod::line_event::RISING_EDGE = 1, gpiod::line_event::FALLING_EDGE } |
Possible event types. More... | |
Functions | |
GPIOD_API line | gpiod::find_line (const ::std::string &name) |
Find a GPIO line by name. More... | |
GPIOD_API chip_iter | gpiod::make_chip_iter (void) |
Create a new chip_iter. More... | |
GPIOD_API chip_iter | gpiod::begin (chip_iter iter) noexcept |
Support for range-based loops for chip iterators. More... | |
GPIOD_API chip_iter | gpiod::end (const chip_iter &iter) noexcept |
Support for range-based loops for chip iterators. More... | |
GPIOD_API line_iter | gpiod::begin (line_iter iter) noexcept |
Support for range-based loops for line iterators. More... | |
GPIOD_API line_iter | gpiod::end (const line_iter &iter) noexcept |
Support for range-based loops for line iterators. More... | |
anonymous enum : int |
Request types.
anonymous enum : int |
anonymous enum : int |
anonymous enum : int |
anonymous enum : int |
Affect the way in which chip::chip and chip::open will try to open a GPIO chip character device.
|
noexcept |
Support for range-based loops for chip iterators.
iter | A chip iterator. |
|
noexcept |
Support for range-based loops for line iterators.
iter | A line iterator. |
|
noexcept |
Support for range-based loops for chip iterators.
iter | A chip iterator. |
|
noexcept |
Support for range-based loops for line iterators.
iter | A line iterator. |
GPIOD_API line gpiod::find_line | ( | const ::std::string & | name | ) |
Find a GPIO line by name.
Search all GPIO chips present on the system.
name | Name of the line. |
GPIOD_API chip_iter gpiod::make_chip_iter | ( | void | ) |
Create a new chip_iter.