GPIO info event

class gpiod.InfoEvent(event_type: int, timestamp_ns: int, line_info: LineInfo)

Immutable object containing data about a single line info event.

Synchronization: none required

class Type(new_class_name, /, names, *, module=None, qualname=None, type=None, start=1, boundary=None)

Line status change event types.

LINE_CONFIG_CHANGED

Line configuration has changed.

LINE_RELEASED

Previously requested line has been released.

LINE_REQUESTED

Line has been requested.

event_type: Type

Event type of the status change event.

line_info: LineInfo

Snapshot of line-info associated with the event.

timestamp_ns: int

Timestamp of the event.