diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-11-17 16:55:06 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-11-17 16:55:06 +0000 |
commit | f05eee1e0264cae47e1b271d53fad5c902e0253a (patch) | |
tree | de96fb5d3165ce8ed71cc55c88ce3e1ff345c7ca /share | |
parent | 69f8bf1f20f4b5151b75cea7923a1a546e660cc3 (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.4 | 6 |
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 |