gpioevent_request

Information about a GPIO event request

Members

Variables

consumer_label
char[32] consumer_label;

a desired consumer label for the selected GPIO line(s) such as "my-listener"

eventflags
uint eventflags;

desired flags for the desired GPIO event line, such as GPIOEVENT_REQUEST_RISING_EDGE or GPIOEVENT_REQUEST_FALLING_EDGE

fd
int fd;

if successful this field will contain a valid anonymous file handle after a GPIO_GET_LINEEVENT_IOCTL operation, zero or negative value means error

handleflags
uint handleflags;

desired handle flags for the desired GPIO line, such as GPIOHANDLE_REQUEST_ACTIVE_LOW or GPIOHANDLE_REQUEST_OPEN_DRAIN

lineoffset
uint lineoffset;

the desired line to subscribe to events from, specified by offset index for the associated GPIO device

Meta