summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2008-11-20 18:01:10 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2008-11-20 18:01:10 +0000
commit91f41e6775f87a6f9712142280e8368b6747f9ca (patch)
treea949d42a754ec60a79f51269a921751351d2ead4 /tools
parentf0ca3edfe9e17f7e6d5a03bbdafc7e53c7335cbf (diff)
downloadi2c-tools-91f41e6775f87a6f9712142280e8368b6747f9ca.tar.gz
Clarify the requirements of data value masking.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5392 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'tools')
-rw-r--r--tools/i2cset.85
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/i2cset.8 b/tools/i2cset.8
index d99dd55..51ea8c8 100644
--- a/tools/i2cset.8
+++ b/tools/i2cset.8
@@ -42,7 +42,10 @@ scripts.
The \fImask\fR parameter, if specified, describes which bits of \fIvalue\fR
will be actually written to \fIdata-address\fR. Bits set to 1 in the mask
are taken from \fIvalue\fR, while bits set to 0 will be read from
-\fIdata-address\fR and thus preserved by the operation.
+\fIdata-address\fR and thus preserved by the operation. Please note that
+this parameter assumes that the read and write operations for the specified
+mode are symmetrical for the device you are accessing. This may or may not
+be the case, as neither I2C nor SMBus guarantees this.
.PP
There are three required options to i2cset. \fIi2cbus\fR indicates the number
or name of the I2C bus to be scanned. This number should correspond to one of