Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156449709
D50795.id156834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
659 B
Referenced Files
None
Subscribers
None
D50795.id156834.diff
View Options
Index: usr.sbin/gpioctl/gpioctl.8
===================================================================
--- usr.sbin/gpioctl/gpioctl.8
+++ usr.sbin/gpioctl/gpioctl.8
@@ -36,6 +36,7 @@
.Op Fl f Ar ctldev
.Cm -l
.Op Fl v
+.Op pin
.Nm
.Op Fl f Ar ctldev
.Op Fl pN
@@ -143,13 +144,17 @@
.Pp
gpioctl -f /dev/gpioc0 -n 12 test
.It
-Toggle the value the pin named test
+Toggle the value of pin named test
.Pp
gpioctl -f /dev/gpioc0 -t test
.It
Toggle the value of pin number 12 even if another pin has the name 12
.Pp
gpioctl -f /dev/gpioc0 -pt 12
+.It
+Output the value of pin number 12
+.Pp
+gpioctl -f /dev/gpioc0 12
.El
.Sh SEE ALSO
.Xr gpio 4 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 6:39 PM (17 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33054112
Default Alt Text
D50795.id156834.diff (659 B)
Attached To
Mode
D50795: gpioctl.8: Document pin operand
Attached
Detach File
Event Timeline
Log In to Comment