Class

GpiodglibLineInfo

since: 1.0

Description

final class Gpiodglib.LineInfo : GObject.Object
{
  /* No available fields */
}

Line info object contains an immutable snapshot of a line’s status.

The line info contains all the publicly available information about a line, which does not include the line value. The line must be requested to access the line value.

Available since: 1.0

Ancestors

Instance methods

gpiodglib_line_info_dup_consumer

Get the name of the consumer of the line.

since: 1.0

gpiodglib_line_info_dup_name

Get the name of the line.

since: 1.0

gpiodglib_line_info_get_bias

Get the bias setting of the line.

since: 1.0

gpiodglib_line_info_get_debounce_period_us

Get the debounce period of the line, in microseconds.

since: 1.0

gpiodglib_line_info_get_direction

Get the direction setting of the line.

since: 1.0

gpiodglib_line_info_get_drive

Get the drive setting of the line.

since: 1.0

gpiodglib_line_info_get_edge_detection

Get the edge detection setting of the line.

since: 1.0

gpiodglib_line_info_get_event_clock

Get the event clock setting used for edge event timestamps for the line.

since: 1.0

gpiodglib_line_info_get_offset

Get the offset of the line.

since: 1.0

gpiodglib_line_info_is_active_low

Check if the logical value of the line is inverted compared to the physical.

since: 1.0

gpiodglib_line_info_is_debounced

Check if the line is debounced (either by hardware or by the kernel software debouncer).

since: 1.0

gpiodglib_line_info_is_used

Check if the line is in use.

since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gpiodglib.LineInfo:active-low

Indicates whether the signal of the line is inverted.

since: 1.0

Gpiodglib.LineInfo:bias

Bias setting of the GPIO line.

since: 1.0

Gpiodglib.LineInfo:consumer

Name of the consumer of the GPIO line, if requested.

since: 1.0

Gpiodglib.LineInfo:debounce-period-us

Debounce period of the line (expressed in microseconds).

since: 1.0

Gpiodglib.LineInfo:debounced

Indicates whether the line is debounced (by hardware or by the kernel software debouncer).

since: 1.0

Gpiodglib.LineInfo:direction

Direction of the GPIO line.

since: 1.0

Gpiodglib.LineInfo:drive

Drive setting of the GPIO line.

since: 1.0

Gpiodglib.LineInfo:edge-detection

Edge detection setting of the GPIO line.

since: 1.0

Gpiodglib.LineInfo:event-clock

Event clock used to timestamp the edge events of the line.

since: 1.0

Gpiodglib.LineInfo:name

Name of the GPIO line, if named.

since: 1.0

Gpiodglib.LineInfo:offset

Offset of the GPIO line.

since: 1.0

Gpiodglib.LineInfo:used

Indicates whether the GPIO line is requested for exclusive usage.

since: 1.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

Class structure

struct GpiodglibLineInfoClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.