libgpiod  1.6.1
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_LINE_BULK_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 722 of file gpiod.h.

Field Documentation

struct gpiod_line* gpiod_line_bulk::lines[GPIOD_LINE_BULK_MAX_LINES]

Buffer for line pointers.

Definition at line 723 of file gpiod.h.

Referenced by gpiod_line_bulk_add(), and gpiod_line_bulk_get_line().

unsigned int gpiod_line_bulk::num_lines

Number of lines currently held in this structure.

Definition at line 725 of file gpiod.h.

Referenced by gpiod_line_bulk_add(), gpiod_line_bulk_init(), and gpiod_line_bulk_num_lines().


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