The OpenD Programming Language

gpioline_info

Information about a certain GPIO line

Members

Functions

consumer
string consumer()
name
string name()

Variables

c_consumer
char[32] c_consumer;

a functional name for the consumer of this GPIO line as set by whatever is using it, will be null if there is no current user but may also be null if the consumer doesn't set this up

c_name
char[32] c_name;

the name of this GPIO line, such as the output pin of the line on the chip, a rail or a pin header name on a board, as specified by the gpio chip, may be null

flags
uint flags;

various flags for this line

line_offset
uint line_offset;

the local offset on this GPIO device, fill this in when requesting the line information from the kernel

Meta