You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/drivers/hal_gpio.adoc
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
= Generic driver for any GPIO supported by gpiod.
7
7
8
-
This driver has been tested on the Raspberry Pi, and should also work on Bananapi, Beaglebone, Pine64 (et al) and other single board computers, and potentially on other platforms.
8
+
This driver has been tested on the Raspberry Pi, and should also work on Bananapi, Beaglebone, Pine64 (et al) and other single board computers, and potentially on other platforms.
This driver relies on the libgpiod-dev library and the https://tracker.debian.org/pkg/libgpiod[gpiod] package, which contains a number of utilities for configuring and querying GPIO.
23
+
This driver relies on the libgpiod-dev library and the https://tracker.debian.org/pkg/libgpiod[gpiod] package, which contains a number of utilities for configuring and querying GPIO.
24
24
The GPIO pin names in the "loadrt" line of the HAL given above should be the names given by the "gpioinfo" command.
25
25
26
26
Sample output (truncated):
@@ -52,7 +52,9 @@ gpiochip0 - 54 lines:
52
52
...
53
53
----
54
54
55
-
A list of input and/or output pins should be specified as shown in the sample above. (The \ character is used for line continuation in HAL, and is used to improve readability. The pin names are case-sensitive and there must be no spaces in the strings, either beteen the comma-separated pins lists of the "=" signs.)
55
+
A list of input and/or output pins should be specified as shown in the sample above.
56
+
The \ character is used for line continuation in HAL, and is used to improve readability.
57
+
The pin names are case-sensitive and there must be no spaces in the strings, neither between the comma-separated pins lists of the "=" signs.
56
58
57
59
Additional modifiers are:
58
60
*invert* (valid for outputs only). Inverts the sense of the physical pin relative to the value in HAL.
@@ -112,8 +114,7 @@ If "access denied" messages are returned on loading the driver, try the followin
112
114
113
115
sudo groupadd gpio
114
116
115
-
2) Create a file called 90-gpio-access with the following contents (this
116
-
is copied from the Raspbian install)
117
+
2) Create a file called 90-gpio-access with the following contents (this is copied from the Raspbian install)
0 commit comments