summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-11-17 16:55:06 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-11-17 16:55:06 +0000
commitf05eee1e0264cae47e1b271d53fad5c902e0253a (patch)
treede96fb5d3165ce8ed71cc55c88ce3e1ff345c7ca /share
parent69f8bf1f20f4b5151b75cea7923a1a546e660cc3 (diff)
GPIO pins can be programmed to invert input or output on some devices.
Introduce new flags, GPIO_PIN_INVIN and GPIO_PIN_INVOUT, for this. ok grange
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/gpio.46
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man4/gpio.4 b/share/man/man4/gpio.4
index f7be8c07d4d..7811f68da89 100644
--- a/share/man/man4/gpio.4
+++ b/share/man/man4/gpio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gpio.4,v 1.10 2007/11/17 10:10:26 mbalmer Exp $
+.\" $OpenBSD: gpio.4,v 1.11 2007/11/17 16:55:05 mbalmer Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -135,6 +135,10 @@ output disabled
internal pull-up enabled
.It Dv GPIO_PIN_PULLDOWN
internal pull-down enabled
+.It Dv GPIO_PIN_INVIN
+invert input
+.It Dv GPIO_PIN_INVOUT
+invert output
.El
.Pp
Note that the