From: Joel Holdsworth Date: Sat, 28 Dec 2013 00:21:26 +0000 (+0100) Subject: i2c: Replaced I2C with I²C X-Git-Tag: libsigrokdecode-0.3.0~177 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ab4aa33c4bd3f72707c718bb0448722a5c2c9912;p=libsigrokdecode.git i2c: Replaced I2C with I²C --- diff --git a/decoders/i2c/__init__.py b/decoders/i2c/__init__.py index 57309e3..95d9e18 100644 --- a/decoders/i2c/__init__.py +++ b/decoders/i2c/__init__.py @@ -19,9 +19,9 @@ ## ''' -I2C protocol decoder. +I²C protocol decoder. -The Inter-Integrated Circuit (I2C) bus is a bidirectional, multi-master +The Inter-Integrated Circuit (I²C) bus is a bidirectional, multi-master bus using two signals (SCL = serial clock line, SDA = serial data line). ''' diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py index 6c505e0..5eff169 100644 --- a/decoders/i2c/pd.py +++ b/decoders/i2c/pd.py @@ -18,7 +18,7 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -# I2C protocol decoder +# I²C protocol decoder # TODO: Look into arbitration, collision detection, clock synchronisation, etc. # TODO: Implement support for 10bit slave addresses. @@ -30,7 +30,7 @@ import sigrokdecode as srd ''' Protocol output format: -I2C packet: +I²C packet: [, ] is one of: @@ -66,7 +66,7 @@ proto = { class Decoder(srd.Decoder): api_version = 1 id = 'i2c' - name = 'I2C' + name = 'I²C' longname = 'Inter-Integrated Circuit' desc = 'Two-wire, multi-master, serial bus.' license = 'gplv2+'