triggers property

Set<SignalEdge> triggers

The signal edges that this line is listening on right now, or equivalently, the signal edges that will trigger a SignalEvent that can be retrieved by listening on GpioLine.onEvent.

The triggers can be specified when requesting the line with requestInput, but can not be changed using reconfigureInput when the line is already requested.

You can, of course, release the line and re-request it with different triggers if you need to, though.

Implementation

Set<SignalEdge> get triggers => Set.of(_triggers);