Date: Fri, 2 Dec 2016 11:32:11 +0000 (UTC) From: Nick Hibma <n_hibma@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309410 - head/share/man/man4 Message-ID: <201612021132.uB2BWBZv083450@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: n_hibma Date: Fri Dec 2 11:32:11 2016 New Revision: 309410 URL: https://svnweb.freebsd.org/changeset/base/309410 Log: Fix man page: - It should say 'read' in the I2CREAD section. - last in the struct indicates the last command in a sequence, not the reverse. Reviewed by: imp MFC after: 3 days Modified: head/share/man/man4/iic.4 Modified: head/share/man/man4/iic.4 ============================================================================== --- head/share/man/man4/iic.4 Fri Dec 2 11:30:21 2016 (r309409) +++ head/share/man/man4/iic.4 Fri Dec 2 11:32:11 2016 (r309410) @@ -104,7 +104,8 @@ element is the number of bytes to write. The .Va last element is a boolean flag. -It is non-zero when additional write commands will follow. +It must be zero when additional read commands will follow, or non-zero if this +is the last command. The .Va buf element is a pointer to the data to write to the bus. @@ -120,11 +121,12 @@ The element is ignored. The .Va count -element is the number of bytes to write. +element is the number of bytes to read. The .Va last element is a boolean flag. -It is non-zero when additional write commands will follow. +It must be zero when additional read commands will follow, or non-zero if this +is the last command. The .Va buf element is a pointer to where to store the data read from the bus.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612021132.uB2BWBZv083450>