libgpiod
1.6.2
|
Stores the configuration for line requests. More...
#include <gpiod.hpp>
Public Types | |
enum | : int { DIRECTION_AS_IS = 1, DIRECTION_INPUT, DIRECTION_OUTPUT, EVENT_FALLING_EDGE, EVENT_RISING_EDGE, EVENT_BOTH_EDGES } |
Request types. More... | |
Data Fields | |
::std::string | consumer |
Consumer name to pass to the request. | |
int | request_type |
Type of the request. | |
::std::bitset< 32 > | flags |
Additional request flags. | |
Static Public Attributes | |
static GPIOD_API const ::std::bitset< 32 > | FLAG_ACTIVE_LOW |
Set the active state to 'low' (high is the default). | |
static GPIOD_API const ::std::bitset< 32 > | FLAG_OPEN_SOURCE |
The line is an open-source port. | |
static GPIOD_API const ::std::bitset< 32 > | FLAG_OPEN_DRAIN |
The line is an open-drain port. | |
static GPIOD_API const ::std::bitset< 32 > | FLAG_BIAS_DISABLE |
The line has neither pull-up nor pull-down resistor enabled. | |
static GPIOD_API const ::std::bitset< 32 > | FLAG_BIAS_PULL_DOWN |
The line has a configurable pull-down resistor enabled. | |
static GPIOD_API const ::std::bitset< 32 > | FLAG_BIAS_PULL_UP |
The line has a configurable pull-up resistor enabled. | |
anonymous enum : int |
Request types.