Stores the configuration for line requests.
More...
#include <gpiod.hpp>
Stores the configuration for line requests.
Definition at line 210 of file gpiod.hpp.
◆ anonymous enum
Request types.
Enumerator |
---|
DIRECTION_AS_IS | Request for values, don't change the direction.
|
DIRECTION_INPUT | Request for reading line values.
|
DIRECTION_OUTPUT | Request for driving the GPIO lines.
|
EVENT_FALLING_EDGE | Listen for falling edge events.
|
EVENT_RISING_EDGE | Listen for rising edge events.
|
EVENT_BOTH_EDGES | Listen for all types of events.
|
Definition at line 215 of file gpiod.hpp.
◆ consumer
::std::string gpiod::line_request::consumer |
Consumer name to pass to the request.
Definition at line 237 of file gpiod.hpp.
◆ FLAG_ACTIVE_LOW
GPIOD_API const ::std::bitset<32> gpiod::line_request::FLAG_ACTIVE_LOW |
|
static |
Set the active state to 'low' (high is the default).
Definition at line 230 of file gpiod.hpp.
◆ FLAG_OPEN_DRAIN
GPIOD_API const ::std::bitset<32> gpiod::line_request::FLAG_OPEN_DRAIN |
|
static |
The line is an open-drain port.
Definition at line 234 of file gpiod.hpp.
◆ FLAG_OPEN_SOURCE
GPIOD_API const ::std::bitset<32> gpiod::line_request::FLAG_OPEN_SOURCE |
|
static |
The line is an open-source port.
Definition at line 232 of file gpiod.hpp.
◆ flags
::std::bitset<32> gpiod::line_request::flags |
Additional request flags.
Definition at line 241 of file gpiod.hpp.
◆ request_type
int gpiod::line_request::request_type |
Type of the request.
Definition at line 239 of file gpiod.hpp.
The documentation for this struct was generated from the following file: