summaryrefslogtreecommitdiff
path: root/decoders/i2c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-06-12 20:38:08 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-06-12 20:40:39 +0200
commit71077f34ffbd7d4015886a229edb2f2f827cb442 (patch)
tree010a5984f412f6ab76929ae8dcfc242aa8900b4f /decoders/i2c
parent74244cdae2309d444034fc7647171afab9dddf75 (diff)
downloadlibsigrokdecode-71077f34ffbd7d4015886a229edb2f2f827cb442.tar.gz
libsigrokdecode-71077f34ffbd7d4015886a229edb2f2f827cb442.zip
srd: Cosmetics.
Diffstat (limited to 'decoders/i2c')
-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).