X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fi2c%2F__init__.py;h=6af7ebedc59389c3af750379b8f5943dfd5bc3ce;hb=6d6b32d6ca3610c07513137ee72e908e87e1c97b;hp=5216e01602a4498c031532ef71ffa6438b6f3e24;hpb=f9d87f641e55cd643037d81d7221ddc169cdae6b;p=libsigrokdecode.git diff --git a/decoders/i2c/__init__.py b/decoders/i2c/__init__.py index 5216e01..6af7ebe 100644 --- a/decoders/i2c/__init__.py +++ b/decoders/i2c/__init__.py @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Uwe Hermann ## @@ -62,15 +62,15 @@ I2C packet: [, ] 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) 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). @@ -79,5 +79,5 @@ For 'START', 'START REPEAT', 'STOP', 'ACK', and 'NACK' is None. ''' -from .i2c import * +from .pd import *