libgpiod  0.3.2
Data Fields
gpiod_line_bulk Struct Reference

Helper structure for storing a set of GPIO line objects. More...

#include <gpiod.h>

Data Fields

struct gpiod_line * lines [GPIOD_REQUEST_MAX_LINES]
 Buffer for line pointers. More...
 
unsigned int num_lines
 Number of lines currently held in this structure. More...
 

Detailed Description

Helper structure for storing a set of GPIO line objects.

This structure is used in all operations involving sets of GPIO lines. If a bulk object is being passed to a function while containing zero lines, the result is undefined.

Definition at line 309 of file gpiod.h.

Field Documentation

◆ lines

struct gpiod_line* gpiod_line_bulk::lines[GPIOD_REQUEST_MAX_LINES]

Buffer for line pointers.

Definition at line 310 of file gpiod.h.

Referenced by gpiod_line_bulk_add().

◆ num_lines

unsigned int gpiod_line_bulk::num_lines

Number of lines currently held in this structure.

Definition at line 312 of file gpiod.h.

Referenced by gpiod_line_bulk_add(), and gpiod_line_bulk_init().


The documentation for this struct was generated from the following file: