Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 expand section on GPIOREAD



details:   https://anonhg.NetBSD.org/src/rev/cddc9adb12aa
branches:  trunk
changeset: 460755:cddc9adb12aa
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sat Nov 02 18:56:41 2019 +0000

description:
expand section on GPIOREAD

diffstat:

 share/man/man4/gpio.4 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r a4fc06643a8c -r cddc9adb12aa share/man/man4/gpio.4
--- a/share/man/man4/gpio.4     Sat Nov 02 18:14:36 2019 +0000
+++ b/share/man/man4/gpio.4     Sat Nov 02 18:56:41 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpio.4,v 1.33 2018/05/19 13:59:06 thorpej Exp $
+.\" $NetBSD: gpio.4,v 1.34 2019/11/02 18:56:41 tnn Exp $
 .\"    $OpenBSD: gpio.4,v 1.5 2004/11/23 09:39:29 reyk Exp $
 .\"
 .\" Copyright (c) 2004 Alexander Yurchenko <grange%openbsd.org@localhost>
@@ -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 February 20, 2018
+.Dd November 2, 2019
 .Dt GPIO 4
 .Os
 .Sh NAME
@@ -102,6 +102,12 @@
 or
 .Fa gp_pin
 field must be set before calling.
+If both are set, gp_name takes precedence.
+On return, the
+.Fa gp_name
+field contains the current name of the pin, if set by the controller driver
+or an earlier call to
+.Dv GPIOSET .
 .Pp
 .It Dv GPIOWRITE ( struct gpio_req )
 Writes the output value to the pin.



Home | Main Index | Thread Index | Old Index