File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -556,9 +556,11 @@ A :any:`SysfsGPIO` resource describes a GPIO line.
556
556
557
557
SysfsGPIO :
558
558
index : 12
559
+ invert : False
559
560
560
561
Arguments:
561
562
- index (int): index of the GPIO line
563
+ - invert (bool, default=False): optional, whether the logic level is inverted(active-low)
562
564
563
565
Used by:
564
566
- `GpioDigitalOutputDriver `_
@@ -577,6 +579,7 @@ USB based gpiochips.
577
579
' @SUBSYSTEM ' : ' usb'
578
580
' @ID_SERIAL_SHORT ' : ' D38EJ8LF'
579
581
pin : 0
582
+ invert : False
580
583
581
584
The example would search for a USB gpiochip with the key `ID_SERIAL_SHORT `
582
585
and the value `D38EJ8LF ` and use the pin 0 of this device.
@@ -585,6 +588,7 @@ The `ID_SERIAL_SHORT` property is set by the usb_id builtin helper program.
585
588
Arguments:
586
589
- match (dict): key and value pairs for a udev match, see `udev Matching `_
587
590
- pin (int): gpio pin number within the matched gpiochip.
591
+ - invert (bool, default=False): optional, whether the logic level is inverted (active-low)
588
592
589
593
Used by:
590
594
- `GpioDigitalOutputDriver `_
You can’t perform that action at this time.
0 commit comments