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.
610610
611611 SysfsGPIO :
612612 index : 12
613+ invert : False
613614
614615 Arguments:
615616 - index (int): index of the GPIO line
617+ - invert (bool, default=False): optional, whether the logic level is inverted(active-low)
616618
617619Used by:
618620 - `GpioDigitalOutputDriver `_
@@ -636,6 +638,7 @@ USB based gpiochips.
636638 ' @SUBSYSTEM ' : ' usb'
637639 ' @ID_SERIAL_SHORT ' : ' D38EJ8LF'
638640 pin : 0
641+ invert : False
639642
640643 The example would search for a USB gpiochip with the key `ID_SERIAL_SHORT `
641644and 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.
644647Arguments:
645648 - match (dict): key and value pairs for a udev match, see `udev Matching `_
646649 - pin (int): gpio pin number within the matched gpiochip.
650+ - invert (bool, default=False): optional, whether the logic level is inverted (active-low)
647651
648652Used by:
649653 - `GpioDigitalOutputDriver `_
You can’t perform that action at this time.
0 commit comments