File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -610,9 +610,11 @@ A :any:`SysfsGPIO` resource describes a GPIO line.
610
610
611
611
SysfsGPIO :
612
612
index : 12
613
+ invert : False
613
614
614
615
Arguments:
615
616
- index (int): index of the GPIO line
617
+ - invert (bool, default=False): optional, whether the logic level is inverted(active-low)
616
618
617
619
Used by:
618
620
- `GpioDigitalOutputDriver `_
@@ -636,6 +638,7 @@ USB based gpiochips.
636
638
' @SUBSYSTEM ' : ' usb'
637
639
' @ID_SERIAL_SHORT ' : ' D38EJ8LF'
638
640
pin : 0
641
+ invert : False
639
642
640
643
The example would search for a USB gpiochip with the key `ID_SERIAL_SHORT `
641
644
and the value `D38EJ8LF ` and use the pin 0 of this device.
@@ -644,6 +647,7 @@ The `ID_SERIAL_SHORT` property is set by the usb_id builtin helper program.
644
647
Arguments:
645
648
- match (dict): key and value pairs for a udev match, see `udev Matching `_
646
649
- pin (int): gpio pin number within the matched gpiochip.
650
+ - invert (bool, default=False): optional, whether the logic level is inverted (active-low)
647
651
648
652
Used by:
649
653
- `GpioDigitalOutputDriver `_
You can’t perform that action at this time.
0 commit comments