Stores the configuration for line requests.
More...
#include <gpiod.hpp>
|
::std::string | consumer |
| Consumer name to pass to the request.
|
|
int | request_type |
| Type of the request.
|
|
::std::bitset< 32 > | flags |
| Additional request flags.
|
|
Stores the configuration for line requests.
Definition at line 214 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 219 of file gpiod.hpp.
◆ consumer
::std::string gpiod::line_request::consumer |
Consumer name to pass to the request.
Definition at line 247 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 234 of file gpiod.hpp.
◆ FLAG_BIAS_DISABLE
GPIOD_API const ::std::bitset<32> gpiod::line_request::FLAG_BIAS_DISABLE |
|
static |
The line has neither pull-up nor pull-down resistor enabled.
Definition at line 240 of file gpiod.hpp.
◆ FLAG_BIAS_PULL_DOWN
GPIOD_API const ::std::bitset<32> gpiod::line_request::FLAG_BIAS_PULL_DOWN |
|
static |
The line has a configurable pull-down resistor enabled.
Definition at line 242 of file gpiod.hpp.
◆ FLAG_BIAS_PULL_UP
GPIOD_API const ::std::bitset<32> gpiod::line_request::FLAG_BIAS_PULL_UP |
|
static |
The line has a configurable pull-up resistor enabled.
Definition at line 244 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 238 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 236 of file gpiod.hpp.
◆ flags
::std::bitset<32> gpiod::line_request::flags |
Additional request flags.
Definition at line 251 of file gpiod.hpp.
◆ request_type
int gpiod::line_request::request_type |
Type of the request.
Definition at line 249 of file gpiod.hpp.
The documentation for this struct was generated from the following file: