summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-10-01 19:01:39 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-10-13 15:53:14 +0200
commit95d11271b46a46788d497481d03177e883c8554e (patch)
tree2fe5c2bcbbb8a2c42c050db30948963b47c0b1ea /decoders
parent0b6bc7f9554c0980153563b6a3d16c3642fc4651 (diff)
downloadlibsigrokdecode-95d11271b46a46788d497481d03177e883c8554e.tar.gz
libsigrokdecode-95d11271b46a46788d497481d03177e883c8554e.zip
All PDs: Only import the 'Decoder' object.
Anything else in the pd.py files doesn't have to be imported/exposed.
Diffstat (limited to 'decoders')
-rw-r--r--decoders/am230x/__init__.py2
-rw-r--r--decoders/avr_isp/__init__.py2
-rw-r--r--decoders/can/__init__.py2
-rw-r--r--decoders/dcf77/__init__.py2
-rw-r--r--decoders/ds1307/__init__.py2
-rw-r--r--decoders/edid/__init__.py2
-rw-r--r--decoders/guess_bitrate/__init__.py2
-rw-r--r--decoders/i2c/__init__.py2
-rw-r--r--decoders/i2cdemux/__init__.py2
-rw-r--r--decoders/i2cfilter/__init__.py2
-rw-r--r--decoders/i2s/__init__.py2
-rw-r--r--decoders/ir_nec/__init__.py2
-rw-r--r--decoders/ir_rc5/__init__.py2
-rw-r--r--decoders/jtag/__init__.py2
-rw-r--r--decoders/jtag_stm32/__init__.py2
-rw-r--r--decoders/lm75/__init__.py2
-rw-r--r--decoders/lpc/__init__.py2
-rw-r--r--decoders/maxim_ds28ea00/__init__.py2
-rw-r--r--decoders/midi/__init__.py2
-rw-r--r--decoders/mlx90614/__init__.py2
-rw-r--r--decoders/mx25lxx05d/__init__.py2
-rw-r--r--decoders/mxc6225xu/__init__.py2
-rw-r--r--decoders/nrf24l01/__init__.py2
-rw-r--r--decoders/nunchuk/__init__.py2
-rw-r--r--decoders/onewire_link/__init__.py2
-rw-r--r--decoders/onewire_network/__init__.py2
-rw-r--r--decoders/pan1321/__init__.py2
-rw-r--r--decoders/parallel/__init__.py2
-rw-r--r--decoders/rfm12/__init__.py2
-rw-r--r--decoders/rgb_led_spi/__init__.py2
-rw-r--r--decoders/rtc8564/__init__.py2
-rw-r--r--decoders/sdcard_spi/__init__.py2
-rw-r--r--decoders/spdif/__init__.py2
-rw-r--r--decoders/spi/__init__.py2
-rw-r--r--decoders/swd/__init__.py2
-rw-r--r--decoders/tca6408a/__init__.py2
-rw-r--r--decoders/tlc5620/__init__.py2
-rw-r--r--decoders/uart/__init__.py2
-rw-r--r--decoders/usb_packet/__init__.py2
-rw-r--r--decoders/usb_signalling/__init__.py2
-rw-r--r--decoders/xfp/__init__.py2
41 files changed, 41 insertions, 41 deletions
diff --git a/decoders/am230x/__init__.py b/decoders/am230x/__init__.py
index 73782e1..98f20b6 100644
--- a/decoders/am230x/__init__.py
+++ b/decoders/am230x/__init__.py
@@ -33,4 +33,4 @@ Therefore the option 'device' must be used to properly decode the
communication of the respective sensor.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/avr_isp/__init__.py b/decoders/avr_isp/__init__.py
index 87a6e7c..75a9fe2 100644
--- a/decoders/avr_isp/__init__.py
+++ b/decoders/avr_isp/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/can/__init__.py b/decoders/can/__init__.py
index 9f9fcde..60dc85f 100644
--- a/decoders/can/__init__.py
+++ b/decoders/can/__init__.py
@@ -27,4 +27,4 @@ the digital output side of a CAN transceiver IC such as the Microchip
MCP-2515DM-BM).
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/dcf77/__init__.py b/decoders/dcf77/__init__.py
index 1a29462..8423028 100644
--- a/decoders/dcf77/__init__.py
+++ b/decoders/dcf77/__init__.py
@@ -26,4 +26,4 @@ Details:
http://en.wikipedia.org/wiki/DCF77
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/ds1307/__init__.py b/decoders/ds1307/__init__.py
index 70980a6..7166229 100644
--- a/decoders/ds1307/__init__.py
+++ b/decoders/ds1307/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/edid/__init__.py b/decoders/edid/__init__.py
index 318130f..de544d3 100644
--- a/decoders/edid/__init__.py
+++ b/decoders/edid/__init__.py
@@ -36,4 +36,4 @@ More information on EDID is available here:
https://en.wikipedia.org/wiki/Extended_display_identification_data
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/guess_bitrate/__init__.py b/decoders/guess_bitrate/__init__.py
index 1b41f72..cd8f15e 100644
--- a/decoders/guess_bitrate/__init__.py
+++ b/decoders/guess_bitrate/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/i2c/__init__.py b/decoders/i2c/__init__.py
index eaebbdb..c3b0cd5 100644
--- a/decoders/i2c/__init__.py
+++ b/decoders/i2c/__init__.py
@@ -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).
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/i2cdemux/__init__.py b/decoders/i2cdemux/__init__.py
index 265e568..75fcd86 100644
--- a/decoders/i2cdemux/__init__.py
+++ b/decoders/i2cdemux/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/i2cfilter/__init__.py b/decoders/i2cfilter/__init__.py
index ddb16ff..be97bf0 100644
--- a/decoders/i2cfilter/__init__.py
+++ b/decoders/i2cfilter/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/i2s/__init__.py b/decoders/i2s/__init__.py
index 550a8c8..e114cd0 100644
--- a/decoders/i2s/__init__.py
+++ b/decoders/i2s/__init__.py
@@ -27,4 +27,4 @@ http://www.nxp.com/acrobat_download/various/I2SBUS.pdf
http://en.wikipedia.org/wiki/I2s
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/ir_nec/__init__.py b/decoders/ir_nec/__init__.py
index 0765668..6b15f19 100644
--- a/decoders/ir_nec/__init__.py
+++ b/decoders/ir_nec/__init__.py
@@ -22,4 +22,4 @@
NEC is a pulse-distance based infrared remote control protocol.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/ir_rc5/__init__.py b/decoders/ir_rc5/__init__.py
index d94824d..8f5f5a3 100644
--- a/decoders/ir_rc5/__init__.py
+++ b/decoders/ir_rc5/__init__.py
@@ -22,4 +22,4 @@
RC-5 is a biphase/manchester based infrared remote control protocol.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/jtag/__init__.py b/decoders/jtag/__init__.py
index 0caf5aa..863ef09 100644
--- a/decoders/jtag/__init__.py
+++ b/decoders/jtag/__init__.py
@@ -28,4 +28,4 @@ https://en.wikipedia.org/wiki/Joint_Test_Action_Group
http://focus.ti.com/lit/an/ssya002c/ssya002c.pdf
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/jtag_stm32/__init__.py b/decoders/jtag_stm32/__init__.py
index 2b091fb..9d60c1c 100644
--- a/decoders/jtag_stm32/__init__.py
+++ b/decoders/jtag_stm32/__init__.py
@@ -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")
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/lm75/__init__.py b/decoders/lm75/__init__.py
index 4105814..1026df1 100644
--- a/decoders/lm75/__init__.py
+++ b/decoders/lm75/__init__.py
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the National LM75
(and compatibles) temperature sensor protocol.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/lpc/__init__.py b/decoders/lpc/__init__.py
index 986b550..2c2c430 100644
--- a/decoders/lpc/__init__.py
+++ b/decoders/lpc/__init__.py
@@ -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".
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/maxim_ds28ea00/__init__.py b/decoders/maxim_ds28ea00/__init__.py
index 750d699..049f96a 100644
--- a/decoders/maxim_ds28ea00/__init__.py
+++ b/decoders/maxim_ds28ea00/__init__.py
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'onewire_network' PD and decodes the
Maxim DS28EA00 1-Wire digital thermometer protocol.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/midi/__init__.py b/decoders/midi/__init__.py
index 19be493..4dbcf96 100644
--- a/decoders/midi/__init__.py
+++ b/decoders/midi/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/mlx90614/__init__.py b/decoders/mlx90614/__init__.py
index 1814ac9..e985c91 100644
--- a/decoders/mlx90614/__init__.py
+++ b/decoders/mlx90614/__init__.py
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'i2c' PD and decodes the Melexis MLX90614
infrared thermometer protocol.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/mx25lxx05d/__init__.py b/decoders/mx25lxx05d/__init__.py
index 85d3434..8ce72f6 100644
--- a/decoders/mx25lxx05d/__init__.py
+++ b/decoders/mx25lxx05d/__init__.py
@@ -28,4 +28,4 @@ Details:
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
diff --git a/decoders/mxc6225xu/__init__.py b/decoders/mxc6225xu/__init__.py
index c522711..daeb89e 100644
--- a/decoders/mxc6225xu/__init__.py
+++ b/decoders/mxc6225xu/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/nrf24l01/__init__.py b/decoders/nrf24l01/__init__.py
index 4681abf..7b4d748 100644
--- a/decoders/nrf24l01/__init__.py
+++ b/decoders/nrf24l01/__init__.py
@@ -27,4 +27,4 @@ http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/nunchuk/__init__.py b/decoders/nunchuk/__init__.py
index ef6a74a..c579145 100644
--- a/decoders/nunchuk/__init__.py
+++ b/decoders/nunchuk/__init__.py
@@ -28,4 +28,4 @@ http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
https://www.sparkfun.com/products/9281
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/onewire_link/__init__.py b/decoders/onewire_link/__init__.py
index 6248916..12aad25 100644
--- a/decoders/onewire_link/__init__.py
+++ b/decoders/onewire_link/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/onewire_network/__init__.py b/decoders/onewire_network/__init__.py
index 1d584ef..44b9bcc 100644
--- a/decoders/onewire_network/__init__.py
+++ b/decoders/onewire_network/__init__.py
@@ -54,4 +54,4 @@ TODO:
- Add reporting original/complement address values from the search algorithm.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/pan1321/__init__.py b/decoders/pan1321/__init__.py
index 7aa20f0..c14236d 100644
--- a/decoders/pan1321/__init__.py
+++ b/decoders/pan1321/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/parallel/__init__.py b/decoders/parallel/__init__.py
index ee8b444..a7077bb 100644
--- a/decoders/parallel/__init__.py
+++ b/decoders/parallel/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/rfm12/__init__.py b/decoders/rfm12/__init__.py
index 0ad72e5..725d443 100644
--- a/decoders/rfm12/__init__.py
+++ b/decoders/rfm12/__init__.py
@@ -23,4 +23,4 @@ This decoder stacks on top of the 'spi' PD and decodes the HopeRF RFM12
wireless transceiver control protocol.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/rgb_led_spi/__init__.py b/decoders/rgb_led_spi/__init__.py
index a5a7ad6..c0e0ea1 100644
--- a/decoders/rgb_led_spi/__init__.py
+++ b/decoders/rgb_led_spi/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/rtc8564/__init__.py b/decoders/rtc8564/__init__.py
index 65aa640..e2776a6 100644
--- a/decoders/rtc8564/__init__.py
+++ b/decoders/rtc8564/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/sdcard_spi/__init__.py b/decoders/sdcard_spi/__init__.py
index 60f6d98..7ce66bf 100644
--- a/decoders/sdcard_spi/__init__.py
+++ b/decoders/sdcard_spi/__init__.py
@@ -66,4 +66,4 @@ SPI mode properties (differences to SD mode):
* The RCA register is not accessible in SPI mode.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/spdif/__init__.py b/decoders/spdif/__init__.py
index 0e8d059..38363f0 100644
--- a/decoders/spdif/__init__.py
+++ b/decoders/spdif/__init__.py
@@ -23,4 +23,4 @@ S/PDIF (Sony/Philips Digital Interface Format) is a serial bus for
transmitting audio data.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/spi/__init__.py b/decoders/spi/__init__.py
index 6579905..f76bb06 100644
--- a/decoders/spi/__init__.py
+++ b/decoders/spi/__init__.py
@@ -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).
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/swd/__init__.py b/decoders/swd/__init__.py
index e6da908..3a65143 100644
--- a/decoders/swd/__init__.py
+++ b/decoders/swd/__init__.py
@@ -32,4 +32,4 @@ Not supported:
* SWD protocol version 2 (multi-drop support, etc.)
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/tca6408a/__init__.py b/decoders/tca6408a/__init__.py
index 9982d58..f679674 100644
--- a/decoders/tca6408a/__init__.py
+++ b/decoders/tca6408a/__init__.py
@@ -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.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/tlc5620/__init__.py b/decoders/tlc5620/__init__.py
index 6992361..cb95385 100644
--- a/decoders/tlc5620/__init__.py
+++ b/decoders/tlc5620/__init__.py
@@ -22,4 +22,4 @@
The Texas Instruments TLC5620 is an 8-bit quad DAC.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/uart/__init__.py b/decoders/uart/__init__.py
index d40a7c9..efe0e52 100644
--- a/decoders/uart/__init__.py
+++ b/decoders/uart/__init__.py
@@ -38,4 +38,4 @@ it though, no matter whether the source was on TTL UART levels, or RS232,
or others.
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/usb_packet/__init__.py b/decoders/usb_packet/__init__.py
index e308652..f841d20 100644
--- a/decoders/usb_packet/__init__.py
+++ b/decoders/usb_packet/__init__.py
@@ -41,4 +41,4 @@ https://en.wikipedia.org/wiki/USB
http://www.usb.org/developers/docs/
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/usb_signalling/__init__.py b/decoders/usb_signalling/__init__.py
index 1f6adbf..b2ceb4d 100644
--- a/decoders/usb_signalling/__init__.py
+++ b/decoders/usb_signalling/__init__.py
@@ -48,4 +48,4 @@ https://en.wikipedia.org/wiki/USB
http://www.usb.org/developers/docs/
'''
-from .pd import *
+from .pd import Decoder
diff --git a/decoders/xfp/__init__.py b/decoders/xfp/__init__.py
index 664967d..51936e5 100644
--- a/decoders/xfp/__init__.py
+++ b/decoders/xfp/__init__.py
@@ -37,4 +37,4 @@ The XFP specification is available here:
ftp://ftp.seagate.com/sff/INF-8077.PDF
'''
-from .pd import *
+from .pd import Decoder