Module Name:    src
Committed By:   mbalmer
Date:           Sun Nov 13 17:00:04 UTC 2011

Modified Files:
        src/share/man/man4: gpio.4

Log Message:
Bring up to reality.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/share/man/man4/gpio.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/gpio.4
diff -u src/share/man/man4/gpio.4:1.22 src/share/man/man4/gpio.4:1.23
--- src/share/man/man4/gpio.4:1.22	Thu Oct  6 11:05:42 2011
+++ src/share/man/man4/gpio.4	Sun Nov 13 17:00:04 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpio.4,v 1.22 2011/10/06 11:05:42 wiz Exp $
+.\" $NetBSD: gpio.4,v 1.23 2011/11/13 17:00:04 mbalmer Exp $
 .\"	$OpenBSD: gpio.4,v 1.5 2004/11/23 09:39:29 reyk Exp $
 .\"
 .\" Copyright (c) 2004 Alexander Yurchenko <gra...@openbsd.org>
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd October 3, 2011
+.Dd November 13, 2011
 .Dt GPIO 4
 .Os
 .Sh NAME
@@ -123,31 +123,6 @@ Toggles the pin output value, i.e. chang
 .Fa gp_value
 field is ignored and on return contains the old pin state.
 .Pp
-.It Dv GPIOPULSE (struct gpio_pulse)
-Starts pulsing the pin:
-.Bd -literal
-/* GPIO pulse request */
-struct gpio_pulse {
-	char		gp_name[GPIOMAXNAME];	/* pin name */
-	int		gp_pin;			/* pin number */
-	struct timeval	gp_pulse_on;		/* "on" period */
-	struct timeval	gp_pulse_off;		/* "off" period */
-};
-.Ed
-.Pp
-The
-.Fa gp_name
-or
-.Fa gp_pin
-field must be set before calling.
-If
-.Fa gp_pulse_on
-or
-.Fa gp_pulse_off
-is set to zero, a default of
-.Xr hz 9 / 2
-is assumed for both periods.
-.Pp
 .It Dv GPIOSET (struct gpio_set)
 Changes pin configuration flags with the new ones provided in the
 .Fa gpio_set
@@ -189,8 +164,8 @@ internal pull-down enabled
 invert input
 .It Dv GPIO_PIN_INVOUT
 invert output
-.It Dv GPIO_PIN_PULSE
-pulse output
+.It Dv GPIO_PIN_PULSATE
+pulsate output
 .El
 .Pp
 Note that the GPIO controller

Reply via email to