]> sigrok.org Git - libsigrokdecode.git/commitdiff
All PDs: Only import the 'Decoder' object.
authorUwe Hermann <redacted>
Wed, 1 Oct 2014 17:01:39 +0000 (19:01 +0200)
committerUwe Hermann <redacted>
Mon, 13 Oct 2014 13:53:14 +0000 (15:53 +0200)
Anything else in the pd.py files doesn't have to be imported/exposed.

41 files changed:
decoders/am230x/__init__.py
decoders/avr_isp/__init__.py
decoders/can/__init__.py
decoders/dcf77/__init__.py
decoders/ds1307/__init__.py
decoders/edid/__init__.py
decoders/guess_bitrate/__init__.py
decoders/i2c/__init__.py
decoders/i2cdemux/__init__.py
decoders/i2cfilter/__init__.py
decoders/i2s/__init__.py
decoders/ir_nec/__init__.py
decoders/ir_rc5/__init__.py
decoders/jtag/__init__.py
decoders/jtag_stm32/__init__.py
decoders/lm75/__init__.py
decoders/lpc/__init__.py
decoders/maxim_ds28ea00/__init__.py
decoders/midi/__init__.py
decoders/mlx90614/__init__.py
decoders/mx25lxx05d/__init__.py
decoders/mxc6225xu/__init__.py
decoders/nrf24l01/__init__.py
decoders/nunchuk/__init__.py
decoders/onewire_link/__init__.py
decoders/onewire_network/__init__.py
decoders/pan1321/__init__.py
decoders/parallel/__init__.py
decoders/rfm12/__init__.py
decoders/rgb_led_spi/__init__.py
decoders/rtc8564/__init__.py
decoders/sdcard_spi/__init__.py
decoders/spdif/__init__.py
decoders/spi/__init__.py
decoders/swd/__init__.py
decoders/tca6408a/__init__.py
decoders/tlc5620/__init__.py
decoders/uart/__init__.py
decoders/usb_packet/__init__.py
decoders/usb_signalling/__init__.py
decoders/xfp/__init__.py

index 73782e1dffce818b8f4ed54359a0ad186fb7b2ee..98f20b6528cd95a8c52771c16a8d681ce00fb8b3 100644 (file)
@@ -33,4 +33,4 @@ Therefore the option 'device' must be used to properly decode the
 communication of the respective sensor.
 '''
 
 communication of the respective sensor.
 '''
 
-from .pd import *
+from .pd import Decoder
index 87a6e7cb691a540aae1cfd726d82f1b1d5179c34..75a9fe2977b25aff43c674b283a13a82e6c4f419 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'spi' PD and decodes the In-System
 Programming (ISP) protocol of some Atmel AVR 8-bit microcontrollers.
 '''
 
 Programming (ISP) protocol of some Atmel AVR 8-bit microcontrollers.
 '''
 
-from .pd import *
+from .pd import Decoder
index 9f9fcde857c924a4425ce0e9d1e0c1d09ef454cb..60dc85f884b27a8e92f7df965687f848076b6e33 100644 (file)
@@ -27,4 +27,4 @@ the digital output side of a CAN transceiver IC such as the Microchip
 MCP-2515DM-BM).
 '''
 
 MCP-2515DM-BM).
 '''
 
-from .pd import *
+from .pd import Decoder
index 1a294620e343d5fecc1f91a1fb9b5f3db4356ed4..8423028c3100785a6d183e53c2ff17f26336341c 100644 (file)
@@ -26,4 +26,4 @@ Details:
 http://en.wikipedia.org/wiki/DCF77
 '''
 
 http://en.wikipedia.org/wiki/DCF77
 '''
 
-from .pd import *
+from .pd import Decoder
index 70980a6217d02de2e743085d36878343b018ebcb..71662298eefbef4e7353dd9ead1a98b8fb6a158d 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the Dallas DS1307
 real-time clock (RTC) specific registers and commands.
 '''
 
 real-time clock (RTC) specific registers and commands.
 '''
 
-from .pd import *
+from .pd import Decoder
index 318130f23b7c9866085c9dec15d9aae8948d169b..de544d3c716eb8c48dacb9f080029dba07032a80 100644 (file)
@@ -36,4 +36,4 @@ More information on EDID is available here:
  https://en.wikipedia.org/wiki/Extended_display_identification_data
 '''
 
  https://en.wikipedia.org/wiki/Extended_display_identification_data
 '''
 
-from .pd import *
+from .pd import Decoder
index 1b41f72d7ae8fb7368c3fc6d4031acc5b8160700..cd8f15e724f5a67bb0099bf41864160d79ad8139 100644 (file)
@@ -34,4 +34,4 @@ recommended to use a logic analyzer samplerate that is much higher than
 the expected bitrate/baudrate that might be used on the channel.
 '''
 
 the expected bitrate/baudrate that might be used on the channel.
 '''
 
-from .pd import *
+from .pd import Decoder
index eaebbdb8b3cb7a6c46d44ef3ed5a9315102a7408..c3b0cd5095ea9b991171f85cc343f9d5df83019a 100644 (file)
@@ -23,4 +23,4 @@ I²C (Inter-Integrated Circuit) is a bidirectional, multi-master
 bus using two signals (SCL = serial clock line, SDA = serial data line).
 '''
 
 bus using two signals (SCL = serial clock line, SDA = serial data line).
 '''
 
-from .pd import *
+from .pd import Decoder
index 265e5682edbfc2ca650323aabdb6b984c961c922..75fcd8607bb69c5a105f9b6cf579392a1e9381bb 100644 (file)
@@ -25,4 +25,4 @@ It takes an I²C stream as input and outputs multiple I²C streams, each
 stream containing only I²C packets for one specific I²C slave.
 '''
 
 stream containing only I²C packets for one specific I²C slave.
 '''
 
-from .pd import *
+from .pd import Decoder
index ddb16ffb17e4439e79ecd86d911384ccab7fab55..be97bf0a0f7e951cf543008046e16dde31a122bd 100644 (file)
@@ -34,4 +34,4 @@ Both of these are optional; if no options are specified the entire payload
 of the I²C session will be output.
 '''
 
 of the I²C session will be output.
 '''
 
-from .pd import *
+from .pd import Decoder
index 550a8c84f6231237ff40e445bcbfa85fc7c34923..e114cd0b973458c6dcefd7ab2367fe1331effbe9 100644 (file)
@@ -27,4 +27,4 @@ http://www.nxp.com/acrobat_download/various/I2SBUS.pdf
 http://en.wikipedia.org/wiki/I2s
 '''
 
 http://en.wikipedia.org/wiki/I2s
 '''
 
-from .pd import *
+from .pd import Decoder
index 076566874fc4aa964470cfe5caf73e3508fc4cda..6b15f1944a71eb3fc420566045125d324936c544 100644 (file)
@@ -22,4 +22,4 @@
 NEC is a pulse-distance based infrared remote control protocol.
 '''
 
 NEC is a pulse-distance based infrared remote control protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index d94824d278ccc40ae0b199613f4e6e6e58c12df9..8f5f5a3715b6781afd3e8fa4d4dba38c32b65d4c 100644 (file)
@@ -22,4 +22,4 @@
 RC-5 is a biphase/manchester based infrared remote control protocol.
 '''
 
 RC-5 is a biphase/manchester based infrared remote control protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index 0caf5aa70b79927442049aa2edb7e460dd60d398..863ef09abbfbf44220b30d6d12a0d112c8d00c40 100644 (file)
@@ -28,4 +28,4 @@ https://en.wikipedia.org/wiki/Joint_Test_Action_Group
 http://focus.ti.com/lit/an/ssya002c/ssya002c.pdf
 '''
 
 http://focus.ti.com/lit/an/ssya002c/ssya002c.pdf
 '''
 
-from .pd import *
+from .pd import Decoder
index 2b091fb48e056a668321f3fe91aaf209a5cc579d..9d60c1cbc7be2e1c67b2f3c4be5d7e5a10476d7e 100644 (file)
@@ -27,4 +27,4 @@ https://en.wikipedia.org/wiki/STM32
 http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/CD00171190.pdf (e.g. chapter 31.7: "JTAG debug port")
 '''
 
 http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/CD00171190.pdf (e.g. chapter 31.7: "JTAG debug port")
 '''
 
-from .pd import *
+from .pd import Decoder
index 4105814ea36e4f274b6866fa8a3019e7a4f53baf..1026df1b030cac953ffd38d15887ce245e981676 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the National LM75
 (and compatibles) temperature sensor protocol.
 '''
 
 (and compatibles) temperature sensor protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index 986b550f0961ce7b056a36148e12103e5055d12c..2c2c430c66ac042af46287def3c57781fc1a0903 100644 (file)
@@ -23,4 +23,4 @@ LPC (Low-Pin Count) is a protocol for low-bandwidth devices used on
 some PC mainboards, such as the "BIOS chip" or the so-called "Super I/O".
 '''
 
 some PC mainboards, such as the "BIOS chip" or the so-called "Super I/O".
 '''
 
-from .pd import *
+from .pd import Decoder
index 750d6993d7c76aa4fc622b84da697f132844238d..049f96ab1cb5b18004c14a446ef916fde0d1c527 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'onewire_network' PD and decodes the
 Maxim DS28EA00 1-Wire digital thermometer protocol.
 '''
 
 Maxim DS28EA00 1-Wire digital thermometer protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index 19be493c162c79b199278db868e1434b681179ab..4dbcf96d8f23915a97d170b2acabf6acf47d92a3 100644 (file)
@@ -26,4 +26,4 @@ MIDI is layered on top of the UART (async serial) protocol, with a fixed
 baud rate of 31250 baud (+/- 1%) and 8n1 settings. Bytes are sent LSB-first.
 '''
 
 baud rate of 31250 baud (+/- 1%) and 8n1 settings. Bytes are sent LSB-first.
 '''
 
-from .pd import *
+from .pd import Decoder
index 1814ac900acc103ddcd5d491677ba59ab9ef8466..e985c9107a610d7dbe469209fba0e4d8887a2444 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the Melexis MLX90614
 infrared thermometer protocol.
 '''
 
 infrared thermometer protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index 85d34344305e47ea62abb6e2cd14ecb582bb02b0..8ce72f601ba625c16746283a1eefa6c7f11e350d 100644 (file)
@@ -28,4 +28,4 @@ Details:
 http://www.macronix.com/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/$File/MX25L1605D-3205D-6405D-1.5.pdf
 '''
 
 http://www.macronix.com/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/$File/MX25L1605D-3205D-6405D-1.5.pdf
 '''
 
-from .pd import *
+from .pd import Decoder
index c522711c0415557cf1e708136e8f6df8f2d66802..daeb89eb824bd59b3adece65ea5304ce5941fb6b 100644 (file)
@@ -26,4 +26,4 @@ The chip's I²C interface supports standard mode and fast mode (max. 400kHz).
 Its I²C slave address is 0x2a.
 '''
 
 Its I²C slave address is 0x2a.
 '''
 
-from .pd import *
+from .pd import Decoder
index 4681abfff96b9bd4a841eb9a5bc0fbf46b03dc39..7b4d7485121a67f89d883489e1c0548aa50bdfb2 100644 (file)
@@ -27,4 +27,4 @@ http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01
 http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
 '''
 
 http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
 '''
 
-from .pd import *
+from .pd import Decoder
index ef6a74a2507a088e7ba7d199264b4f293e03077e..c5791455d8df127c25635c15bf40d1f44c8d192e 100644 (file)
@@ -28,4 +28,4 @@ http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
 https://www.sparkfun.com/products/9281
 '''
 
 https://www.sparkfun.com/products/9281
 '''
 
-from .pd import *
+from .pd import Decoder
index 6248916cc2f09e285a92de113305eca86fbb235e..12aad259290b23db0b283c05fa4f852344dc53d0 100644 (file)
@@ -65,4 +65,4 @@ These options should be configured only on very rare cases and the user should
 read the decoder source code to understand them correctly.
 '''
 
 read the decoder source code to understand them correctly.
 '''
 
-from .pd import *
+from .pd import Decoder
index 1d584efbbe4994ad5a1d6e1a8e72328e6171353d..44b9bcc700a1d3e57e8f55177b5e93968bd9e42a 100644 (file)
@@ -54,4 +54,4 @@ TODO:
  - Add reporting original/complement address values from the search algorithm.
 '''
 
  - Add reporting original/complement address values from the search algorithm.
 '''
 
-from .pd import *
+from .pd import Decoder
index 7aa20f05a5a6423a7912bc97f1ace48962f64548..c14236df4215cd9539f973fc10d034b2d8178c43 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'uart' PD and decodes the Panasonic PAN1321
 Bluetooth module Serial Port Profile (SPP) protocol.
 '''
 
 Bluetooth module Serial Port Profile (SPP) protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index ee8b4447d45db8c9ad448f5b59dc1791953189d0..a7077bb93363fbe286ad2c661d11a3cc5037b113 100644 (file)
@@ -32,4 +32,4 @@ should be used. Using combinations like D7/D12/D3/D15 is not supported.
 For an 8-bit bus you should use D0-D7, for a 16-bit bus use D0-D15 and so on.
 '''
 
 For an 8-bit bus you should use D0-D7, for a 16-bit bus use D0-D15 and so on.
 '''
 
-from .pd import *
+from .pd import Decoder
index 0ad72e5283614cacd881d4c614ee8c0aa998ff88..725d44387322f5466a418a747330766754bbc413 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'spi' PD and decodes the HopeRF RFM12
 wireless transceiver control protocol.
 '''
 
 wireless transceiver control protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index a5a7ad6766137271e1e1d73bb7a36cd71b26f009..c0e0ea19cf6ae51fbd0431fb8d5de8036a34992a 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'spi' PD and decodes generic RGB LED string
 values that are clocked over SPI in RGB values.
 '''
 
 values that are clocked over SPI in RGB values.
 '''
 
-from .pd import *
+from .pd import Decoder
index 65aa6402ea5fc87c98f05c069756c57bb2926ee1..e2776a6a1d7d0b386acb79b77ee65188564ff01a 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the Epson
 RTC-8564 JE/NB real-time clock (RTC) protocol.
 '''
 
 RTC-8564 JE/NB real-time clock (RTC) protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index 60f6d9853d09366e1ef41a22c8c4f009ef368214..7ce66bf968638bf2210d697933c2ee7844120811 100644 (file)
@@ -66,4 +66,4 @@ SPI mode properties (differences to SD mode):
  * The RCA register is not accessible in SPI mode.
 '''
 
  * The RCA register is not accessible in SPI mode.
 '''
 
-from .pd import *
+from .pd import Decoder
index 0e8d0591a00d1ead4f2bbe2f3cf5a36289ad5ddb..38363f0f30e825a121f7dea7f83d87d9bb9633b0 100644 (file)
@@ -23,4 +23,4 @@ S/PDIF (Sony/Philips Digital Interface Format) is a serial bus for
 transmitting audio data.
 '''
 
 transmitting audio data.
 '''
 
-from .pd import *
+from .pd import Decoder
index 65799059db73408eedcbbf87eae501d2b3cc399d..f76bb064fc8ca72773bae17bec531703496b88e3 100644 (file)
@@ -29,4 +29,4 @@ transitions where CS# is not asserted are ignored). If CS# is not supplied,
 data is decoded on every clock transition (depending on SPI mode).
 '''
 
 data is decoded on every clock transition (depending on SPI mode).
 '''
 
-from .pd import *
+from .pd import Decoder
index e6da90806cc3a860b1b760dc149a7c9c5b1fcb94..3a65143cac24bd0c472c96ff2df10240d14c94fd 100644 (file)
@@ -32,4 +32,4 @@ Not supported:
  * SWD protocol version 2 (multi-drop support, etc.)
 '''
 
  * SWD protocol version 2 (multi-drop support, etc.)
 '''
 
-from .pd import *
+from .pd import Decoder
index 9982d58bfaafe03e818d876943d7e10757c094fd..f679674e3e3cfe1e06e2eb60959f82c57f76da7b 100644 (file)
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the Texas Instruments
 TCA6408A 8-bit I²C I/O expander protocol.
 '''
 
 TCA6408A 8-bit I²C I/O expander protocol.
 '''
 
-from .pd import *
+from .pd import Decoder
index 6992361b73546be4aa4f441425ea34d798fa6523..cb953853c64e5e682c408e4a58df77d4b904fd3e 100644 (file)
@@ -22,4 +22,4 @@
 The Texas Instruments TLC5620 is an 8-bit quad DAC.
 '''
 
 The Texas Instruments TLC5620 is an 8-bit quad DAC.
 '''
 
-from .pd import *
+from .pd import Decoder
index d40a7c9cd8f9edd5f3c7db528439c3b5d369f541..efe0e523a8954df2696dadb0ee8829ada823d607 100644 (file)
@@ -38,4 +38,4 @@ it though, no matter whether the source was on TTL UART levels, or RS232,
 or others.
 '''
 
 or others.
 '''
 
-from .pd import *
+from .pd import Decoder
index e308652ebc62bca8755b629ec79bf0351995ff8a..f841d20b277098e304b5f62b22674be995c9d4e9 100644 (file)
@@ -41,4 +41,4 @@ https://en.wikipedia.org/wiki/USB
 http://www.usb.org/developers/docs/
 '''
 
 http://www.usb.org/developers/docs/
 '''
 
-from .pd import *
+from .pd import Decoder
index 1f6adbf0094a60c643e3bda21c3ad32b7d6b37d2..b2ceb4d69b9e6c6dcd19621825f59bd77c370aff 100644 (file)
@@ -48,4 +48,4 @@ https://en.wikipedia.org/wiki/USB
 http://www.usb.org/developers/docs/
 '''
 
 http://www.usb.org/developers/docs/
 '''
 
-from .pd import *
+from .pd import Decoder
index 664967df6e9c78e295e6c2c8b4e2a64b5132478a..51936e5537052eb23837c420cbd556be2a9cc85e 100644 (file)
@@ -37,4 +37,4 @@ The XFP specification is available here:
   ftp://ftp.seagate.com/sff/INF-8077.PDF
 '''
 
   ftp://ftp.seagate.com/sff/INF-8077.PDF
 '''
 
-from .pd import *
+from .pd import Decoder