GPIO line settings

class gpiod.LineSettings(direction: Direction = gpiod._ext.DIRECTION_AS_IS, edge_detection: Edge = gpiod._ext.EDGE_NONE, bias: Bias = gpiod._ext.BIAS_AS_IS, drive: Drive = gpiod._ext.DRIVE_PUSH_PULL, active_low: bool = False, debounce_period: timedelta = datetime.timedelta(0), event_clock: Clock = gpiod._ext.CLOCK_MONOTONIC, output_value: Value = gpiod._ext.VALUE_INACTIVE)

Stores a set of line properties.

Synchronization: none required

active_low: bool = False

Active-low switch.

bias: Bias

Line bias setting.

debounce_period: timedelta = datetime.timedelta(0)

Debounce period of the line.

direction: Direction

Line direction.

drive: Drive

Line drive setting.

edge_detection: Edge

Edge detection setting.

event_clock: Clock

Edge event timestamping clock setting.

output_value: Value

Output value of the line.