From: Uwe Hermann Date: Tue, 2 Apr 2019 19:33:58 +0000 (+0200) Subject: decoders: Fix incorrect 'outputs' fields. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6cbba91f23b9f9ace75b4722c9c0776b9211008d;p=libsigrokdecode.git decoders: Fix incorrect 'outputs' fields. Only add items to 'outputs' if the respective PD actually has OUTPUT_PYTHON support implemented as of right now. Various decoders might get OUTPUT_PYTHON support later, but the 'outputs' field should reflect the current status. --- diff --git a/decoders/ac97/pd.py b/decoders/ac97/pd.py index ecf8809..9437253 100644 --- a/decoders/ac97/pd.py +++ b/decoders/ac97/pd.py @@ -59,7 +59,7 @@ class Decoder(srd.Decoder): desc = 'Audio and modem control for PC systems.' license = 'gplv2+' inputs = ['logic'] - outputs = ['ac97'] + outputs = [] tags = ['Audio', 'PC'] channels = ( {'id': 'sync', 'name': 'SYNC', 'desc': 'Frame synchronization'}, diff --git a/decoders/ade77xx/pd.py b/decoders/ade77xx/pd.py index 636c548..5a24a25 100644 --- a/decoders/ade77xx/pd.py +++ b/decoders/ade77xx/pd.py @@ -33,7 +33,7 @@ class Decoder(srd.Decoder): desc = 'Poly phase multifunction energy metering IC protocol.' license = 'mit' inputs = ['spi'] - outputs = ['ade77xx'] + outputs = [] tags = ['Analog/digital', 'IC', 'Sensor'] annotations = ( ('read', 'Register read commands'), diff --git a/decoders/adf435x/pd.py b/decoders/adf435x/pd.py index c6a6774..f6c6e6e 100644 --- a/decoders/adf435x/pd.py +++ b/decoders/adf435x/pd.py @@ -95,7 +95,7 @@ class Decoder(srd.Decoder): desc = 'Wideband synthesizer with integrated VCO.' license = 'gplv3+' inputs = ['spi'] - outputs = ['adf435x'] + outputs = [] tags = ['Clock/timing', 'IC', 'Wireless/RF'] annotations = ( # Sent from the host to the chip. diff --git a/decoders/adns5020/pd.py b/decoders/adns5020/pd.py index 99fb224..9ac778e 100644 --- a/decoders/adns5020/pd.py +++ b/decoders/adns5020/pd.py @@ -46,7 +46,7 @@ class Decoder(srd.Decoder): desc = 'Bidirectional optical mouse sensor protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['adns5020'] + outputs = [] tags = ['IC', 'PC', 'Sensor'] annotations = ( ('read', 'Register read commands'), diff --git a/decoders/am230x/pd.py b/decoders/am230x/pd.py index 814a542..fbc68d3 100644 --- a/decoders/am230x/pd.py +++ b/decoders/am230x/pd.py @@ -41,7 +41,7 @@ class Decoder(srd.Decoder): desc = 'Aosong AM230x/DHTxx/RHTxx humidity/temperature sensor.' license = 'gplv2+' inputs = ['logic'] - outputs = ['am230x'] + outputs = [] tags = ['IC', 'Sensor'] channels = ( {'id': 'sda', 'name': 'SDA', 'desc': 'Single wire serial data line'}, diff --git a/decoders/arm_etmv3/pd.py b/decoders/arm_etmv3/pd.py index 3608ac6..6649b46 100644 --- a/decoders/arm_etmv3/pd.py +++ b/decoders/arm_etmv3/pd.py @@ -134,7 +134,7 @@ class Decoder(srd.Decoder): desc = 'ARM ETM v3 instruction trace protocol.' license = 'gplv2+' inputs = ['uart'] - outputs = ['arm_etmv3'] + outputs = [] tags = ['Debug/trace'] annotations = ( ('trace', 'Trace info'), diff --git a/decoders/arm_itm/pd.py b/decoders/arm_itm/pd.py index 627612f..6414978 100644 --- a/decoders/arm_itm/pd.py +++ b/decoders/arm_itm/pd.py @@ -44,7 +44,7 @@ class Decoder(srd.Decoder): desc = 'ARM Cortex-M / ARMv7m ITM trace protocol.' license = 'gplv2+' inputs = ['uart'] - outputs = ['arm_itm'] + outputs = [] tags = ['Debug/trace'] options = ( {'id': 'objdump', 'desc': 'objdump path', diff --git a/decoders/atsha204a/pd.py b/decoders/atsha204a/pd.py index 3f579b1..2fb9b52 100644 --- a/decoders/atsha204a/pd.py +++ b/decoders/atsha204a/pd.py @@ -88,7 +88,7 @@ class Decoder(srd.Decoder): desc = 'Microchip ATSHA204A crypto authentication protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['atsha204a'] + outputs = [] tags = ['Security/crypto', 'IC', 'Memory'] annotations = ( ('waddr', 'Word address'), diff --git a/decoders/aud/pd.py b/decoders/aud/pd.py index 97fa6cc..ea19a10 100644 --- a/decoders/aud/pd.py +++ b/decoders/aud/pd.py @@ -32,7 +32,7 @@ class Decoder(srd.Decoder): desc = 'Renesas/Hitachi Advanced User Debugger (AUD) protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['aud'] + outputs = [] tags = ['Debug/trace'] channels = ( {'id': 'audck', 'name': 'AUDCK', 'desc': 'AUD clock'}, diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py index 2d5ec81..a0719b7 100644 --- a/decoders/avr_isp/pd.py +++ b/decoders/avr_isp/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Atmel AVR In-System Programming (ISP) protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['avr_isp'] + outputs = [] tags = ['Debug/trace'] annotations = ( ('pe', 'Programming enable'), diff --git a/decoders/avr_pdi/pd.py b/decoders/avr_pdi/pd.py index 3a3ab6c..164b992 100644 --- a/decoders/avr_pdi/pd.py +++ b/decoders/avr_pdi/pd.py @@ -119,7 +119,7 @@ class Decoder(srd.Decoder): desc = 'Atmel ATxmega Program and Debug Interface (PDI) protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['pdi'] + outputs = [] tags = ['Debug/trace'] channels = ( {'id': 'reset', 'name': 'RESET', 'desc': 'RESET / PDI_CLK'}, diff --git a/decoders/can/pd.py b/decoders/can/pd.py index 3f7d529..ba75914 100644 --- a/decoders/can/pd.py +++ b/decoders/can/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Field bus protocol for distributed realtime control.' license = 'gplv2+' inputs = ['logic'] - outputs = ['can'] + outputs = [] tags = ['Automotive'] channels = ( {'id': 'can_rx', 'name': 'CAN RX', 'desc': 'CAN bus line'}, diff --git a/decoders/cec/pd.py b/decoders/cec/pd.py index 4b5ccee..b12633e 100644 --- a/decoders/cec/pd.py +++ b/decoders/cec/pd.py @@ -55,7 +55,7 @@ class Decoder(srd.Decoder): desc = 'HDMI Consumer Electronics Control (CEC) protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['cec'] + outputs = [] tags = ['Display', 'PC'] channels = ( {'id': 'cec', 'name': 'CEC', 'desc': 'CEC bus data'}, diff --git a/decoders/cfp/pd.py b/decoders/cfp/pd.py index 57b5239..9638ba1 100644 --- a/decoders/cfp/pd.py +++ b/decoders/cfp/pd.py @@ -57,7 +57,7 @@ class Decoder(srd.Decoder): desc = '100 Gigabit C form-factor pluggable (CFP) protocol.' license = 'BSD' inputs = ['mdio'] - outputs = ['cfp'] + outputs = [] tags = ['Networking'] annotations = ( ('register', 'Register'), diff --git a/decoders/dali/pd.py b/decoders/dali/pd.py index 9e99b81..5314746 100644 --- a/decoders/dali/pd.py +++ b/decoders/dali/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'Digital Addressable Lighting Interface (DALI) protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['dali'] + outputs = [] tags = ['Embedded/industrial', 'Lighting'] channels = ( {'id': 'dali', 'name': 'DALI', 'desc': 'DALI data line'}, diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index cd3f7e6..7365134 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -32,7 +32,7 @@ class Decoder(srd.Decoder): desc = 'European longwave time signal (77.5kHz carrier signal).' license = 'gplv2+' inputs = ['logic'] - outputs = ['dcf77'] + outputs = [] tags = ['Clock/timing'] channels = ( {'id': 'data', 'name': 'DATA', 'desc': 'DATA line'}, diff --git a/decoders/dmx512/pd.py b/decoders/dmx512/pd.py index 081758e..4ecc4db 100644 --- a/decoders/dmx512/pd.py +++ b/decoders/dmx512/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'Digital MultipleX 512 (DMX512) lighting protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['dmx512'] + outputs = [] tags = ['Embedded/industrial', 'Lighting'] channels = ( {'id': 'dmx', 'name': 'DMX data', 'desc': 'Any DMX data line'}, diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py index 556d593..f8ebe19 100644 --- a/decoders/ds1307/pd.py +++ b/decoders/ds1307/pd.py @@ -59,7 +59,7 @@ class Decoder(srd.Decoder): desc = 'Dallas DS1307 realtime clock module protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['ds1307'] + outputs = [] tags = ['Clock/timing', 'IC'] annotations = regs_and_bits() + ( ('read-datetime', 'Read date/time'), diff --git a/decoders/ds2408/pd.py b/decoders/ds2408/pd.py index ebbc4c2..33f2873 100644 --- a/decoders/ds2408/pd.py +++ b/decoders/ds2408/pd.py @@ -37,7 +37,7 @@ class Decoder(srd.Decoder): desc = '1-Wire 8-channel addressable switch.' license = 'gplv2+' inputs = ['onewire_network'] - outputs = ['ds2408'] + outputs = [] tags = ['Embedded/industrial', 'IC'] annotations = ( ('text', 'Human-readable text'), diff --git a/decoders/ds243x/pd.py b/decoders/ds243x/pd.py index b2194e7..7f9f666 100644 --- a/decoders/ds243x/pd.py +++ b/decoders/ds243x/pd.py @@ -68,7 +68,7 @@ class Decoder(srd.Decoder): desc = 'Maxim DS243x series 1-Wire EEPROM protocol.' license = 'gplv2+' inputs = ['onewire_network'] - outputs = ['ds243x'] + outputs = [] tags = ['IC', 'Memory'] annotations = ( ('text', 'Human-readable text'), diff --git a/decoders/ds28ea00/pd.py b/decoders/ds28ea00/pd.py index 1a3cbf3..9a57844 100644 --- a/decoders/ds28ea00/pd.py +++ b/decoders/ds28ea00/pd.py @@ -42,7 +42,7 @@ class Decoder(srd.Decoder): desc = '1-Wire digital thermometer with Sequence Detect and PIO.' license = 'gplv2+' inputs = ['onewire_network'] - outputs = ['ds28ea00'] + outputs = [] tags = ['IC', 'Sensor'] annotations = ( ('text', 'Human-readable text'), diff --git a/decoders/dsi/pd.py b/decoders/dsi/pd.py index 7be29c3..7ce9517 100644 --- a/decoders/dsi/pd.py +++ b/decoders/dsi/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Digital Serial Interface (DSI) lighting protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['dsi'] + outputs = [] tags = ['Embedded/industrial', 'Lighting'] channels = ( {'id': 'dsi', 'name': 'DSI', 'desc': 'DSI data line'}, diff --git a/decoders/edid/pd.py b/decoders/edid/pd.py index 0be81dd..2d7460c 100644 --- a/decoders/edid/pd.py +++ b/decoders/edid/pd.py @@ -80,7 +80,7 @@ class Decoder(srd.Decoder): desc = 'Data structure describing display device capabilities.' license = 'gplv3+' inputs = ['i2c'] - outputs = ['edid'] + outputs = [] tags = ['Display', 'Memory', 'PC'] annotations = ( ('fields', 'EDID structure fields'), diff --git a/decoders/eeprom24xx/pd.py b/decoders/eeprom24xx/pd.py index 982cb50..033a44b 100644 --- a/decoders/eeprom24xx/pd.py +++ b/decoders/eeprom24xx/pd.py @@ -28,7 +28,7 @@ class Decoder(srd.Decoder): desc = '24xx series I²C EEPROM protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['eeprom24xx'] + outputs = [] tags = ['IC', 'Memory'] options = ( {'id': 'chip', 'desc': 'Chip', 'default': 'generic', diff --git a/decoders/eeprom93xx/pd.py b/decoders/eeprom93xx/pd.py index 9d8741b..7b64e59 100644 --- a/decoders/eeprom93xx/pd.py +++ b/decoders/eeprom93xx/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = '93xx series Microwire EEPROM protocol.' license = 'gplv2+' inputs = ['microwire'] - outputs = ['eeprom93xx'] + outputs = [] tags = ['IC', 'Memory'] options = ( {'id': 'addresssize', 'desc': 'Address size', 'default': 8}, diff --git a/decoders/em4100/pd.py b/decoders/em4100/pd.py index 6af5a34..7f42ad7 100644 --- a/decoders/em4100/pd.py +++ b/decoders/em4100/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'EM4100 100-150kHz RFID protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['em4100'] + outputs = [] tags = ['IC', 'RFID'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/em4305/pd.py b/decoders/em4305/pd.py index eb3e700..6297643 100644 --- a/decoders/em4305/pd.py +++ b/decoders/em4305/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'EM4205/EM4305 100-150kHz RFID protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['em4305'] + outputs = [] tags = ['IC', 'RFID'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/gpib/pd.py b/decoders/gpib/pd.py index fb9ad00..a7c9c73 100644 --- a/decoders/gpib/pd.py +++ b/decoders/gpib/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'IEEE-488 General Purpose Interface Bus (GPIB / HPIB).' license = 'gplv2+' inputs = ['logic'] - outputs = ['gpib'] + outputs = [] tags = ['PC'] channels = ( {'id': 'dio1' , 'name': 'DIO1', 'desc': 'Data I/O bit 1'}, diff --git a/decoders/graycode/pd.py b/decoders/graycode/pd.py index 63014a2..055908c 100644 --- a/decoders/graycode/pd.py +++ b/decoders/graycode/pd.py @@ -80,7 +80,7 @@ class Decoder(srd.Decoder): desc = 'Accumulate rotary encoder increments, provide statistics.' license = 'gplv2+' inputs = ['logic'] - outputs = ['graycode'] + outputs = [] tags = ['Encoding'] optional_channels = tuple( {'id': 'd{}'.format(i), 'name': 'D{}'.format(i), 'desc': 'Data line {}'.format(i)} diff --git a/decoders/guess_bitrate/pd.py b/decoders/guess_bitrate/pd.py index 4f22f04..462fa8a 100644 --- a/decoders/guess_bitrate/pd.py +++ b/decoders/guess_bitrate/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Guess the bitrate/baudrate of a UART (or other) protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['guess_bitrate'] + outputs = [] tags = ['Clock/timing', 'Util'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/iec/pd.py b/decoders/iec/pd.py index ff39b6b..ae0f8e9 100644 --- a/decoders/iec/pd.py +++ b/decoders/iec/pd.py @@ -34,7 +34,7 @@ class Decoder(srd.Decoder): desc = 'Commodore serial IEEE-488 (IEC) bus protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['gpib'] + outputs = [] tags = ['PC', 'Retro computing'] channels = ( {'id': 'data', 'name': 'DATA', 'desc': 'Data I/O'}, diff --git a/decoders/ir_nec/pd.py b/decoders/ir_nec/pd.py index d847249..bb52420 100644 --- a/decoders/ir_nec/pd.py +++ b/decoders/ir_nec/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'NEC infrared remote control protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['ir_nec'] + outputs = [] tags = ['IR'] channels = ( {'id': 'ir', 'name': 'IR', 'desc': 'Data line'}, diff --git a/decoders/ir_rc5/pd.py b/decoders/ir_rc5/pd.py index 52a7dc0..e18a90b 100644 --- a/decoders/ir_rc5/pd.py +++ b/decoders/ir_rc5/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'RC-5 infrared remote control protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['ir_rc5'] + outputs = [] tags = ['IR'] channels = ( {'id': 'ir', 'name': 'IR', 'desc': 'IR data line'}, diff --git a/decoders/jitter/pd.py b/decoders/jitter/pd.py index c2fc567..5343fbf 100644 --- a/decoders/jitter/pd.py +++ b/decoders/jitter/pd.py @@ -37,7 +37,7 @@ class Decoder(srd.Decoder): desc = 'Retrieves the timing jitter between two digital signals.' license = 'gplv2+' inputs = ['logic'] - outputs = ['jitter'] + outputs = [] tags = ['Clock/timing', 'Util'] channels = ( {'id': 'clk', 'name': 'Clock', 'desc': 'Clock reference channel'}, diff --git a/decoders/jtag_ejtag/pd.py b/decoders/jtag_ejtag/pd.py index a54e5e9..f16f0b4 100644 --- a/decoders/jtag_ejtag/pd.py +++ b/decoders/jtag_ejtag/pd.py @@ -196,7 +196,7 @@ class Decoder(srd.Decoder): desc = 'MIPS EJTAG protocol.' license = 'gplv2+' inputs = ['jtag'] - outputs = ['jtag_ejtag'] + outputs = [] tags = ['Debug/trace'] annotations = ( ('instruction', 'Instruction'), diff --git a/decoders/jtag_stm32/pd.py b/decoders/jtag_stm32/pd.py index a251b3d..82558b8 100644 --- a/decoders/jtag_stm32/pd.py +++ b/decoders/jtag_stm32/pd.py @@ -146,7 +146,7 @@ class Decoder(srd.Decoder): desc = 'ST STM32-specific JTAG protocol.' license = 'gplv2+' inputs = ['jtag'] - outputs = ['jtag_stm32'] + outputs = [] tags = ['Debug/trace'] annotations = ( ('item', 'Item'), diff --git a/decoders/lin/pd.py b/decoders/lin/pd.py index 29621cc..216d416 100644 --- a/decoders/lin/pd.py +++ b/decoders/lin/pd.py @@ -63,7 +63,7 @@ class Decoder(srd.Decoder): desc = 'Local Interconnect Network (LIN) protocol.' license = 'gplv2+' inputs = ['uart'] - outputs = ['lin'] + outputs = [] tags = ['Automotive'] options = ( {'id': 'version', 'desc': 'Protocol version', 'default': 2, 'values': (1, 2)}, diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index 6d264f9..14df1b5 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -46,7 +46,7 @@ class Decoder(srd.Decoder): desc = 'National LM75 (and compatibles) temperature sensor.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['lm75'] + outputs = [] tags = ['Sensor'] options = ( {'id': 'sensor', 'desc': 'Sensor type', 'default': 'lm75', diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py index 3cfe29e..5eb0983 100644 --- a/decoders/lpc/pd.py +++ b/decoders/lpc/pd.py @@ -102,7 +102,7 @@ class Decoder(srd.Decoder): desc = 'Protocol for low-bandwidth devices on PC mainboards.' license = 'gplv2+' inputs = ['logic'] - outputs = ['lpc'] + outputs = [] tags = ['PC'] channels = ( {'id': 'lframe', 'name': 'LFRAME#', 'desc': 'Frame'}, diff --git a/decoders/maple_bus/pd.py b/decoders/maple_bus/pd.py index 9af4eb4..c3f1140 100644 --- a/decoders/maple_bus/pd.py +++ b/decoders/maple_bus/pd.py @@ -36,7 +36,7 @@ class Decoder(srd.Decoder): desc = 'Maple bus peripheral protocol for SEGA Dreamcast.' license = 'gplv2+' inputs = ['logic'] - outputs = ['maple_bus'] + outputs = [] tags = ['Retro computing'] channels = ( {'id': 'sdcka', 'name': 'SDCKA', 'desc': 'Data/clock line A'}, diff --git a/decoders/max7219/pd.py b/decoders/max7219/pd.py index 7484034..53067a6 100644 --- a/decoders/max7219/pd.py +++ b/decoders/max7219/pd.py @@ -48,7 +48,7 @@ class Decoder(srd.Decoder): desc = 'Maxim MAX72xx series 8-digit LED display driver.' license = 'gplv2+' inputs = ['spi'] - outputs = ['max7219'] + outputs = [] tags = ['Display'] annotations = ( ('register', 'Registers written to the device'), diff --git a/decoders/mcs48/pd.py b/decoders/mcs48/pd.py index e80b8e5..99b2efc 100644 --- a/decoders/mcs48/pd.py +++ b/decoders/mcs48/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Intel MCS-48 external memory access protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['mcs48'] + outputs = [] tags = ['Retro computing'] channels = ( {'id': 'ale', 'name': 'ALE', 'desc': 'Address latch enable'}, diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py index f96e8f1..ae35e12 100644 --- a/decoders/midi/pd.py +++ b/decoders/midi/pd.py @@ -32,7 +32,7 @@ class Decoder(srd.Decoder): desc = 'Musical Instrument Digital Interface (MIDI) protocol.' license = 'gplv2+' inputs = ['uart'] - outputs = ['midi'] + outputs = [] tags = ['Audio', 'PC'] annotations = ( ('text-verbose', 'Human-readable text (verbose)'), diff --git a/decoders/miller/pd.py b/decoders/miller/pd.py index 88798bb..90c7c19 100644 --- a/decoders/miller/pd.py +++ b/decoders/miller/pd.py @@ -38,7 +38,7 @@ class Decoder(srd.Decoder): desc = 'Miller encoding protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['miller'] + outputs = [] tags = ['Encoding'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data signal'}, diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index f75d205..f0dbe22 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'Melexis MLX90614 infrared thermometer protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['mlx90614'] + outputs = [] tags = ['IC', 'Sensor'] annotations = ( ('celsius', 'Temperature in degrees Celsius'), diff --git a/decoders/morse/pd.py b/decoders/morse/pd.py index 47a641c..f6ff718 100644 --- a/decoders/morse/pd.py +++ b/decoders/morse/pd.py @@ -120,7 +120,7 @@ class Decoder(srd.Decoder): desc = 'Demodulated morse code protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['morse'] + outputs = [] tags = ['Encoding'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/mrf24j40/pd.py b/decoders/mrf24j40/pd.py index d792104..b242ee6 100644 --- a/decoders/mrf24j40/pd.py +++ b/decoders/mrf24j40/pd.py @@ -28,7 +28,7 @@ class Decoder(srd.Decoder): desc = 'IEEE 802.15.4 2.4 GHz RF tranceiver chip.' license = 'gplv2+' inputs = ['spi'] - outputs = ['mrf24j40'] + outputs = [] tags = ['IC', 'Wireless/RF'] annotations = ( ('sread', 'Short register read commands'), diff --git a/decoders/mxc6225xu/pd.py b/decoders/mxc6225xu/pd.py index 7eac07e..e961778 100644 --- a/decoders/mxc6225xu/pd.py +++ b/decoders/mxc6225xu/pd.py @@ -66,7 +66,7 @@ class Decoder(srd.Decoder): desc = 'Digital Thermal Orientation Sensor (DTOS) protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['mxc6225xu'] + outputs = [] tags = ['IC', 'Sensor'] annotations = ( ('text', 'Human-readable text'), diff --git a/decoders/nrf24l01/pd.py b/decoders/nrf24l01/pd.py index 4dd9451..64fe577 100644 --- a/decoders/nrf24l01/pd.py +++ b/decoders/nrf24l01/pd.py @@ -66,7 +66,7 @@ class Decoder(srd.Decoder): desc = '2.4GHz RF transceiver chip.' license = 'gplv2+' inputs = ['spi'] - outputs = ['nrf24l01'] + outputs = [] tags = ['IC', 'Wireless/RF'] options = ( {'id': 'chip', 'desc': 'Chip type', diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index eb99ba5..59b1028 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'Nintendo Wii Nunchuk controller protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['nunchuck'] + outputs = [] tags = ['Sensor'] annotations = \ tuple(('reg-0x%02X' % i, 'Register 0x%02X' % i) for i in range(6)) + ( diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py index 375de8e..6c93114 100644 --- a/decoders/pan1321/pd.py +++ b/decoders/pan1321/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'Bluetooth RF module with Serial Port Profile (SPP).' license = 'gplv2+' inputs = ['uart'] - outputs = ['pan1321'] + outputs = [] tags = ['Wireless/RF'] annotations = ( ('text-verbose', 'Human-readable text (verbose)'), diff --git a/decoders/ps2/pd.py b/decoders/ps2/pd.py index 0fbfbf4..c23e019 100644 --- a/decoders/ps2/pd.py +++ b/decoders/ps2/pd.py @@ -33,7 +33,7 @@ class Decoder(srd.Decoder): desc = 'PS/2 keyboard/mouse interface.' license = 'gplv2+' inputs = ['logic'] - outputs = ['ps2'] + outputs = [] tags = ['PC'] channels = ( {'id': 'clk', 'name': 'Clock', 'desc': 'Clock line'}, diff --git a/decoders/pwm/pd.py b/decoders/pwm/pd.py index 2ea59b3..d8626ee 100644 --- a/decoders/pwm/pd.py +++ b/decoders/pwm/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'Analog level encoded in duty cycle percentage.' license = 'gplv2+' inputs = ['logic'] - outputs = ['pwm'] + outputs = [] tags = ['Encoding'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/qi/pd.py b/decoders/qi/pd.py index d80f7b5..b750d9c 100644 --- a/decoders/qi/pd.py +++ b/decoders/qi/pd.py @@ -52,7 +52,7 @@ class Decoder(srd.Decoder): desc = 'Protocol used by Qi receiver.' license = 'gplv2+' inputs = ['logic'] - outputs = ['qi'] + outputs = [] tags = ['Embedded/industrial', 'Wireless/RF'] channels = ( {'id': 'qi', 'name': 'Qi', 'desc': 'Demodulated Qi data line'}, diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index 997932a..d3df13a 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'HopeRF RFM12 wireless transceiver control protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['rfm12'] + outputs = [] tags = ['Wireless/RF'] annotations = ( ('cmd', 'Command'), diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py index d6cbba7..ee94c6b 100644 --- a/decoders/rgb_led_spi/pd.py +++ b/decoders/rgb_led_spi/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'RGB LED string protocol (RGB values clocked over SPI).' license = 'gplv2+' inputs = ['spi'] - outputs = ['rgb_led_spi'] + outputs = [] tags = ['Display'] annotations = ( ('rgb', 'RGB values'), diff --git a/decoders/rgb_led_ws281x/pd.py b/decoders/rgb_led_ws281x/pd.py index 19db2bf..a6bb356 100644 --- a/decoders/rgb_led_ws281x/pd.py +++ b/decoders/rgb_led_ws281x/pd.py @@ -31,7 +31,7 @@ class Decoder(srd.Decoder): desc = 'RGB LED string protocol (WS281x).' license = 'gplv3+' inputs = ['logic'] - outputs = ['rgb_led_ws281x'] + outputs = [] tags = ['Display', 'IC'] channels = ( {'id': 'din', 'name': 'DIN', 'desc': 'DIN data line'}, diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py index 25eb4e7..b57fae6 100644 --- a/decoders/rtc8564/pd.py +++ b/decoders/rtc8564/pd.py @@ -35,7 +35,7 @@ class Decoder(srd.Decoder): desc = 'Realtime clock module protocol.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['rtc8564'] + outputs = [] tags = ['Clock/timing'] annotations = reg_list() + ( ('read', 'Read date/time'), diff --git a/decoders/sda2506/pd.py b/decoders/sda2506/pd.py index 986312b..782fd83 100644 --- a/decoders/sda2506/pd.py +++ b/decoders/sda2506/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Serial nonvolatile 1-Kbit EEPROM.' license = 'gplv2+' inputs = ['logic'] - outputs = ['sda2506'] + outputs = [] tags = ['IC', 'Memory'] channels = ( {'id': 'clk', 'name': 'CLK', 'desc': 'Clock'}, diff --git a/decoders/sdcard_sd/pd.py b/decoders/sdcard_sd/pd.py index dacbba1..66fa502 100644 --- a/decoders/sdcard_sd/pd.py +++ b/decoders/sdcard_sd/pd.py @@ -28,7 +28,7 @@ class Decoder(srd.Decoder): desc = 'Secure Digital card (SD mode) low-level protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['sdcard_sd'] + outputs = [] tags = ['Memory'] channels = ( {'id': 'cmd', 'name': 'CMD', 'desc': 'Command'}, diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index 2885911..8b43cd7 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -28,7 +28,7 @@ class Decoder(srd.Decoder): desc = 'Secure Digital card (SPI mode) low-level protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['sdcard_spi'] + outputs = [] tags = ['Memory'] annotations = \ tuple(('cmd%d' % i, 'CMD%d' % i) for i in range(64)) + \ diff --git a/decoders/spdif/pd.py b/decoders/spdif/pd.py index 9bef843..532bf82 100644 --- a/decoders/spdif/pd.py +++ b/decoders/spdif/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Serial bus for connecting digital audio devices.' license = 'gplv2+' inputs = ['logic'] - outputs = ['spdif'] + outputs = [] tags = ['Audio', 'PC'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index ffac028..5ee2274 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -78,7 +78,7 @@ class Decoder(srd.Decoder): desc = 'xx25 series SPI (NOR) flash chip protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['spiflash'] + outputs = [] tags = ['IC', 'Memory'] annotations = cmd_annotation_classes() + ( ('bit', 'Bit'), diff --git a/decoders/ssi32/pd.py b/decoders/ssi32/pd.py index 33d25b5..5160803 100644 --- a/decoders/ssi32/pd.py +++ b/decoders/ssi32/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Synchronous Serial Interface (32bit) protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['ssi32'] + outputs = [] tags = ['Embedded/industrial'] options = ( {'id': 'msgsize', 'desc': 'Message size', 'default': 64}, diff --git a/decoders/st7735/pd.py b/decoders/st7735/pd.py index 4ebb23d..252b188 100644 --- a/decoders/st7735/pd.py +++ b/decoders/st7735/pd.py @@ -72,7 +72,7 @@ class Decoder(srd.Decoder): desc = 'Sitronix ST7735 TFT controller protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['st7735'] + outputs = [] tags = ['Display', 'IC'] channels = ( {'id': 'cs', 'name': 'CS#', 'desc': 'Chip-select'}, diff --git a/decoders/stepper_motor/pd.py b/decoders/stepper_motor/pd.py index 2a1e5f2..99a4b2e 100644 --- a/decoders/stepper_motor/pd.py +++ b/decoders/stepper_motor/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): desc = 'Absolute position and movement speed from step/dir.' license = 'gplv2+' inputs = ['logic'] - outputs = ['stepper_motor'] + outputs = [] tags = ['Embedded/industrial'] channels = ( {'id': 'step', 'name': 'Step', 'desc': 'Step pulse'}, diff --git a/decoders/t55xx/pd.py b/decoders/t55xx/pd.py index fb1bcb9..d345d31 100644 --- a/decoders/t55xx/pd.py +++ b/decoders/t55xx/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'T55xx 100-150kHz RFID protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['t55xx'] + outputs = [] tags = ['IC', 'RFID'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/tca6408a/pd.py b/decoders/tca6408a/pd.py index d53cf8c..4924517 100644 --- a/decoders/tca6408a/pd.py +++ b/decoders/tca6408a/pd.py @@ -29,7 +29,7 @@ class Decoder(srd.Decoder): desc = 'Texas Instruments TCA6408A 8-bit I²C I/O expander.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['tca6408a'] + outputs = [] tags = ['Embedded/industrial', 'IC'] annotations = ( ('register', 'Register type'), diff --git a/decoders/timing/pd.py b/decoders/timing/pd.py index 17ef5f1..d3e0d1f 100644 --- a/decoders/timing/pd.py +++ b/decoders/timing/pd.py @@ -53,7 +53,7 @@ class Decoder(srd.Decoder): desc = 'Calculate time between edges.' license = 'gplv2+' inputs = ['logic'] - outputs = ['timing'] + outputs = [] tags = ['Clock/timing', 'Util'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data line'}, diff --git a/decoders/tlc5620/pd.py b/decoders/tlc5620/pd.py index af16ee5..4d02792 100644 --- a/decoders/tlc5620/pd.py +++ b/decoders/tlc5620/pd.py @@ -34,7 +34,7 @@ class Decoder(srd.Decoder): desc = 'Texas Instruments TLC5620 8-bit quad DAC.' license = 'gplv2+' inputs = ['logic'] - outputs = ['tlc5620'] + outputs = [] tags = ['IC', 'Analog/digital'] channels = ( {'id': 'clk', 'name': 'CLK', 'desc': 'Serial interface clock'}, diff --git a/decoders/wiegand/pd.py b/decoders/wiegand/pd.py index 7819fd6..a93be10 100644 --- a/decoders/wiegand/pd.py +++ b/decoders/wiegand/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'Wiegand interface for electronic entry systems.' license = 'gplv2+' inputs = ['logic'] - outputs = ['wiegand'] + outputs = [] tags = ['Embedded/industrial', 'RFID'] channels = ( {'id': 'd0', 'name': 'D0', 'desc': 'Data 0 line'}, diff --git a/decoders/x2444m/pd.py b/decoders/x2444m/pd.py index 8a2852a..290cc36 100644 --- a/decoders/x2444m/pd.py +++ b/decoders/x2444m/pd.py @@ -39,7 +39,7 @@ class Decoder(srd.Decoder): desc = 'Xicor X2444M/P nonvolatile static RAM protocol.' license = 'gplv2+' inputs = ['spi'] - outputs = ['x2444m'] + outputs = [] tags = ['IC', 'Memory'] annotations = ( ('wrds', 'Write disable'), diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py index 6b4b7a9..ded7694 100644 --- a/decoders/xfp/pd.py +++ b/decoders/xfp/pd.py @@ -30,7 +30,7 @@ class Decoder(srd.Decoder): desc = 'XFP I²C management interface structures/protocol' license = 'gplv3+' inputs = ['i2c'] - outputs = ['xfp'] + outputs = [] tags = ['Networking'] annotations = ( ('fieldnames-and-values', 'XFP structure field names and values'), diff --git a/decoders/z80/pd.py b/decoders/z80/pd.py index 7cadec9..fba279b 100644 --- a/decoders/z80/pd.py +++ b/decoders/z80/pd.py @@ -71,7 +71,7 @@ class Decoder(srd.Decoder): desc = 'Zilog Z80 microprocessor disassembly.' license = 'gplv3+' inputs = ['logic'] - outputs = ['z80'] + outputs = [] tags = ['Retro computing'] channels = tuple({ 'id': 'd%d' % i,