View | Details | Raw Unified | Return to bug 157075
Collapse All | Expand All

(-)usr.sbin/gpioctl/gpioctl.8 (-5 / +5 lines)
Lines 27-33 Link Here
27
.\"
27
.\"
28
.\" $FreeBSD$
28
.\" $FreeBSD$
29
.\"
29
.\"
30
.Dd September 27, 2010
30
.Dd May 15, 2011
31
.Dt GPIOCTL 1
31
.Dt GPIOCTL 1
32
.Os
32
.Os
33
.Sh NAME
33
.Sh NAME
Lines 93-109 Link Here
93
.Sh EXAMPLES
93
.Sh EXAMPLES
94
.Bl -bullet
94
.Bl -bullet
95
.It
95
.It
96
List pins available on GPIO controller defined by device /dev/gpioctl0
96
List pins available on GPIO controller defined by device /dev/gpioc0
97
.Pp
97
.Pp
98
gpioctl -f /dev/gpioctl0 -l
98
gpioctl -f /dev/gpioc0 -l
99
.It
99
.It
100
Set the value of pin 12 to 1
100
Set the value of pin 12 to 1
101
.Pp
101
.Pp
102
gpioctl -f /dev/gpioctl0 12 1
102
gpioctl -f /dev/gpioc0 12 1
103
.It
103
.It
104
Configure pin 12 to be input pin
104
Configure pin 12 to be input pin
105
.Pp
105
.Pp
106
gpioctl -f /dev/gpioctl0 -c 12 IN
106
gpioctl -f /dev/gpioc0 -c 12 IN
107
.El
107
.El
108
.Sh HISTORY
108
.Sh HISTORY
109
The
109
The

Return to bug 157075