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
This commit is contained in:
parent
a96032e552
commit
8e349925f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309410
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user