diff options
-rw-r--r-- | decoders/ds1307/pd.py | 4 | ||||
-rw-r--r-- | decoders/nunchuk/pd.py | 8 | ||||
-rw-r--r-- | decoders/rtc8564/pd.py | 4 | ||||
-rw-r--r-- | decoders/xfp/__init__.py | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py index bb904e7..01aaf6b 100644 --- a/decoders/ds1307/pd.py +++ b/decoders/ds1307/pd.py @@ -103,12 +103,12 @@ class Decoder(srd.Decoder): def decode(self, ss, es, data): cmd, databyte = data - # Store the start/end samples of this I2C packet. + # Store the start/end samples of this I²C packet. self.ss, self.es = ss, es # State machine. if self.state == 'IDLE': - # Wait for an I2C START condition. + # Wait for an I²C START condition. if cmd != 'START': return self.state = 'GET SLAVE ADDR' diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index 5c719cb..a34b68f 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -52,11 +52,11 @@ class Decoder(srd.Decoder): self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): - # Helper for annotations which span exactly one I2C packet. + # Helper for annotations which span exactly one I²C packet. self.put(self.ss, self.es, self.out_ann, data) def putb(self, data): - # Helper for annotations which span a block of I2C packets. + # Helper for annotations which span a block of I²C packets. self.put(self.block_start_sample, self.block_end_sample, self.out_ann, data) @@ -157,12 +157,12 @@ class Decoder(srd.Decoder): def decode(self, ss, es, data): cmd, databyte = data - # Store the start/end samples of this I2C packet. + # Store the start/end samples of this I²C packet. self.ss, self.es = ss, es # State machine. if self.state == 'IDLE': - # Wait for an I2C START condition. + # Wait for an I²C START condition. if cmd != 'START': return self.state = 'GET SLAVE ADDR' diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py index 16bbd65..6f23e07 100644 --- a/decoders/rtc8564/pd.py +++ b/decoders/rtc8564/pd.py @@ -144,12 +144,12 @@ class Decoder(srd.Decoder): def decode(self, ss, es, data): cmd, databyte = data - # Store the start/end samples of this I2C packet. + # Store the start/end samples of this I²C packet. self.ss, self.es = ss, es # State machine. if self.state == 'IDLE': - # Wait for an I2C START condition. + # Wait for an I²C START condition. if cmd != 'START': return self.state = 'GET SLAVE ADDR' diff --git a/decoders/xfp/__init__.py b/decoders/xfp/__init__.py index 928fbc7..627f07b 100644 --- a/decoders/xfp/__init__.py +++ b/decoders/xfp/__init__.py @@ -19,10 +19,10 @@ ## ''' -XFP I2C management interface structure decoder. +XFP I²C management interface structure decoder. -XFP modules include an I2C interface, used to monitor and control various -aspects of the module. The specification defines an I2C slave at address +XFP modules include an I²C interface, used to monitor and control various +aspects of the module. The specification defines an I²C slave at address 0x50 (0xa0) which returns 128 bytes of a standard structure ("lower memory"), and, after setting a table number in lower memory, a set of 256 "higher memory" tables, which can be mapped to different subdevices on the XFP. |