diff options
36 files changed, 36 insertions, 36 deletions
diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py index 5888d55..a6b9c80 100644 --- a/decoders/avr_isp/pd.py +++ b/decoders/avr_isp/pd.py @@ -24,7 +24,7 @@ from .parts import * VENDOR_CODE_ATMEL = 0x1e class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'avr_isp' name = 'AVR ISP' longname = 'AVR In-System Programming' diff --git a/decoders/can/pd.py b/decoders/can/pd.py index 0687ea5..bf38b7f 100644 --- a/decoders/can/pd.py +++ b/decoders/can/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'can' name = 'CAN' longname = 'Controller Area Network' diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index 3dc1096..fc97a1d 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -26,7 +26,7 @@ def bcd2int(b): return (b & 0x0f) + ((b >> 4) * 10) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'dcf77' name = 'DCF77' longname = 'DCF77 time protocol' diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py index 48649bf..68943d4 100644 --- a/decoders/ds1307/pd.py +++ b/decoders/ds1307/pd.py @@ -36,7 +36,7 @@ def bcd2int(b): return (b & 0x0f) + ((b >> 4) * 10) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'ds1307' name = 'DS1307' longname = 'Dallas DS1307' diff --git a/decoders/edid/pd.py b/decoders/edid/pd.py index 41b7903..03d5c4d 100644 --- a/decoders/edid/pd.py +++ b/decoders/edid/pd.py @@ -73,7 +73,7 @@ ANN_FIELDS = 0 ANN_SECTIONS = 1 class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'edid' name = 'EDID' longname = 'Extended Display Identification Data' diff --git a/decoders/guess_bitrate/pd.py b/decoders/guess_bitrate/pd.py index ab698a9..e86316f 100644 --- a/decoders/guess_bitrate/pd.py +++ b/decoders/guess_bitrate/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'guess_bitrate' name = 'Guess bitrate' longname = 'Guess bitrate/baudrate' diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py index 6bf12b9..a8a2226 100644 --- a/decoders/i2c/pd.py +++ b/decoders/i2c/pd.py @@ -64,7 +64,7 @@ proto = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'i2c' name = 'I²C' longname = 'Inter-Integrated Circuit' diff --git a/decoders/i2cdemux/pd.py b/decoders/i2cdemux/pd.py index bfa10db..e5cf47a 100644 --- a/decoders/i2cdemux/pd.py +++ b/decoders/i2cdemux/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'i2cdemux' name = 'I²C demux' longname = 'I²C demultiplexer' diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py index 8be7828..f1ac6a4 100644 --- a/decoders/i2cfilter/pd.py +++ b/decoders/i2cfilter/pd.py @@ -23,7 +23,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'i2cfilter' name = 'I²C filter' longname = 'I²C filter' diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py index eb6a560..989a5a5 100644 --- a/decoders/i2s/pd.py +++ b/decoders/i2s/pd.py @@ -34,7 +34,7 @@ Packet: ''' class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'i2s' name = 'I²S' longname = 'Integrated Interchip Sound' diff --git a/decoders/ir_nec/pd.py b/decoders/ir_nec/pd.py index cef2b85..94e232f 100644 --- a/decoders/ir_nec/pd.py +++ b/decoders/ir_nec/pd.py @@ -22,7 +22,7 @@ import sigrokdecode as srd from .lists import * class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'ir_nec' name = 'IR NEC' longname = 'IR NEC' diff --git a/decoders/ir_rc5/pd.py b/decoders/ir_rc5/pd.py index 1962459..38b4793 100644 --- a/decoders/ir_rc5/pd.py +++ b/decoders/ir_rc5/pd.py @@ -22,7 +22,7 @@ import sigrokdecode as srd from .lists import * class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'ir_rc5' name = 'IR RC-5' longname = 'IR RC-5' diff --git a/decoders/jtag/pd.py b/decoders/jtag/pd.py index 21bd44b..95e5d28 100644 --- a/decoders/jtag/pd.py +++ b/decoders/jtag/pd.py @@ -54,7 +54,7 @@ jtag_states = [ ] class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'jtag' name = 'JTAG' longname = 'Joint Test Action Group (IEEE 1149.1)' diff --git a/decoders/jtag_stm32/pd.py b/decoders/jtag_stm32/pd.py index 2393086..5aac07f 100644 --- a/decoders/jtag_stm32/pd.py +++ b/decoders/jtag_stm32/pd.py @@ -119,7 +119,7 @@ def data_out(bits): % (data_hex, ack_meaning) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'jtag_stm32' name = 'JTAG / STM32' longname = 'Joint Test Action Group / ST STM32' diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index 890ce0f..89d6c61 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -40,7 +40,7 @@ ft = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'lm75' name = 'LM75' longname = 'National LM75' diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py index abaeb90..6e03966 100644 --- a/decoders/lpc/pd.py +++ b/decoders/lpc/pd.py @@ -96,7 +96,7 @@ fields = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'lpc' name = 'LPC' longname = 'Low-Pin-Count' diff --git a/decoders/maxim_ds28ea00/pd.py b/decoders/maxim_ds28ea00/pd.py index 9f120ae..4693cd9 100644 --- a/decoders/maxim_ds28ea00/pd.py +++ b/decoders/maxim_ds28ea00/pd.py @@ -36,7 +36,7 @@ command = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'maxim_ds28ea00' name = 'DS28EA00' longname = 'Maxim DS28EA00 1-Wire digital thermometer' diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py index 1a553ea..b1f0053 100644 --- a/decoders/midi/pd.py +++ b/decoders/midi/pd.py @@ -25,7 +25,7 @@ RX = 0 TX = 1 class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'midi' name = 'MIDI' longname = 'Musical Instrument Digital Interface' diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index 4600754..edc770d 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'mlx90614' name = 'MLX90614' longname = 'Melexis MLX90614' diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py index 105414e..a6c72d8 100644 --- a/decoders/mx25lxx05d/pd.py +++ b/decoders/mx25lxx05d/pd.py @@ -83,7 +83,7 @@ def decode_status_reg(data): return ret class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'mx25lxx05d' name = 'MX25Lxx05D' longname = 'Macronix MX25Lxx05D' diff --git a/decoders/mxc6225xu/pd.py b/decoders/mxc6225xu/pd.py index c7b0830..e0c857f 100644 --- a/decoders/mxc6225xu/pd.py +++ b/decoders/mxc6225xu/pd.py @@ -60,7 +60,7 @@ status = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'mxc6225xu' name = 'MXC6225XU' longname = 'MEMSIC MXC6225XU' diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index 4136945..95d7bdb 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'nunchuk' name = 'Nunchuk' longname = 'Nintendo Wii Nunchuk' diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py index aa1cb2e..3641b98 100644 --- a/decoders/onewire_link/pd.py +++ b/decoders/onewire_link/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'onewire_link' name = '1-Wire link layer' longname = '1-Wire serial communication bus (link layer)' diff --git a/decoders/onewire_network/pd.py b/decoders/onewire_network/pd.py index a916572..23402a6 100644 --- a/decoders/onewire_network/pd.py +++ b/decoders/onewire_network/pd.py @@ -33,7 +33,7 @@ command = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'onewire_network' name = '1-Wire network layer' longname = '1-Wire serial communication bus (network layer)' diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py index 2796fe2..d173e1c 100644 --- a/decoders/pan1321/pd.py +++ b/decoders/pan1321/pd.py @@ -25,7 +25,7 @@ RX = 0 TX = 1 class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'pan1321' name = 'PAN1321' longname = 'Panasonic PAN1321' diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index 094b12a..03b5e2f 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -62,7 +62,7 @@ def channel_list(num_channels): return tuple(l) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'parallel' name = 'Parallel' longname = 'Parallel sync bus' diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py index 6840164..8577928 100644 --- a/decoders/rgb_led_spi/pd.py +++ b/decoders/rgb_led_spi/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'rgb_led_spi' name = 'RGB LED (SPI)' longname = 'RGB LED string decoder (SPI)' diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py index bb72fdc..f13af36 100644 --- a/decoders/rtc8564/pd.py +++ b/decoders/rtc8564/pd.py @@ -32,7 +32,7 @@ def reg_list(): return tuple(l) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'rtc8564' name = 'RTC-8564' longname = 'Epson RTC-8564 JE/NB' diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index 0850c30..4f7c9f7 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -77,7 +77,7 @@ def cmd_list(): return tuple(l) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'sdcard_spi' name = 'SD card (SPI mode)' longname = 'Secure Digital card (SPI mode)' diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index b1a8704..7250dbd 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -61,7 +61,7 @@ spi_mode = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'spi' name = 'SPI' longname = 'Serial Peripheral Interface' diff --git a/decoders/tlc5620/pd.py b/decoders/tlc5620/pd.py index 1487f91..f8c90d9 100644 --- a/decoders/tlc5620/pd.py +++ b/decoders/tlc5620/pd.py @@ -28,7 +28,7 @@ dacs = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'tlc5620' name = 'TI TLC5620' longname = 'Texas Instruments TLC5620' diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index 57031d7..a0b1326 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -70,7 +70,7 @@ def parity_ok(parity_type, parity_bit, data, num_data_bits): raise Exception('Invalid parity type: %d' % parity_type) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'uart' name = 'UART' longname = 'Universal Asynchronous Receiver/Transmitter' diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py index be54297..8f86cc7 100644 --- a/decoders/usb_packet/pd.py +++ b/decoders/usb_packet/pd.py @@ -143,7 +143,7 @@ def bitstr_to_num(bitstr): return int(''.join(l), 2) class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'usb_packet' name = 'USB packet' longname = 'Universal Serial Bus (LS/FS) packet' diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py index e63817e..8c6a9c3 100644 --- a/decoders/usb_signalling/pd.py +++ b/decoders/usb_signalling/pd.py @@ -74,7 +74,7 @@ sym_idx = { } class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'usb_signalling' name = 'USB signalling' longname = 'Universal Serial Bus (LS/FS) signalling' diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py index 975215a..b8ec8ed 100644 --- a/decoders/xfp/pd.py +++ b/decoders/xfp/pd.py @@ -191,7 +191,7 @@ AUX_TYPES = [ ] class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'xfp' name = 'XFP' longname = '10 Gigabit Small Form Factor Pluggable Module (XFP)' diff --git a/decoders/z80/pd.py b/decoders/z80/pd.py index 299a20e..e0d7ae4 100644 --- a/decoders/z80/pd.py +++ b/decoders/z80/pd.py @@ -64,7 +64,7 @@ def signed_byte(byte): return byte if byte < 128 else byte - 256 class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'z80' name = 'Z80' longname = 'Zilog Z80 CPU' |