summaryrefslogtreecommitdiff
path: root/decoders/i2c/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2c/__init__.py')
-rw-r--r--decoders/i2c/__init__.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/decoders/i2c/__init__.py b/decoders/i2c/__init__.py
index 5216e01..14262d1 100644
--- a/decoders/i2c/__init__.py
+++ b/decoders/i2c/__init__.py
@@ -62,15 +62,15 @@ I2C packet:
[<cmd>, <data>]
<cmd> is one of:
- - 'START' (START condition)
- - 'START REPEAT' (Repeated START condition)
- - 'ADDRESS READ' (Slave address, read)
- - 'ADDRESS WRITE' (Slave address, write)
- - 'DATA READ' (Data, read)
- - 'DATA WRITE' (Data, write)
- - 'STOP' (STOP condition)
- - 'ACK' (ACK bit)
- - 'NACK' (NACK bit)
+ - 'START' (START condition)
+ - 'START REPEAT' (Repeated START condition)
+ - 'ADDRESS READ' (Slave address, read)
+ - 'ADDRESS WRITE' (Slave address, write)
+ - 'DATA READ' (Data, read)
+ - 'DATA WRITE' (Data, write)
+ - 'STOP' (STOP condition)
+ - 'ACK' (ACK bit)
+ - 'NACK' (NACK bit)
<data> is the data or address byte associated with the 'ADDRESS*' and 'DATA*'
command. Slave addresses do not include bit 0 (the READ/WRITE indication bit).