]> sigrok.org Git - libsigrokdecode.git/commit
all decoders: introduce a reset() method
authorGerhard Sittig <redacted>
Mon, 20 Feb 2017 20:37:05 +0000 (21:37 +0100)
committerUwe Hermann <redacted>
Fri, 22 Dec 2017 11:21:54 +0000 (12:21 +0100)
commit10aeb8ea8b183394cebc0033f048f49f4262b57d
treef58f049342dd6fce239514ed5dfffdbc573e3ce1
parentecb0b96d4a4d0021b41ffebec0df219338aa3724
all decoders: introduce a reset() method

Move initialization code of protocol decoders from the constructor to a
new reset() helper method. The libsigrokdecode backend could run this
method several times to clear the decoder's internal state, before new
data from another acquisition gets fed to decode() calls.
79 files changed:
decoders/ade77xx/pd.py
decoders/adf435x/pd.py
decoders/adns5020/pd.py
decoders/am230x/pd.py
decoders/arm_etmv3/pd.py
decoders/arm_itm/pd.py
decoders/arm_tpiu/pd.py
decoders/aud/pd.py
decoders/avr_isp/pd.py
decoders/avr_pdi/pd.py
decoders/can/pd.py
decoders/dali/pd.py
decoders/dcf77/pd.py
decoders/dmx512/pd.py
decoders/ds1307/pd.py
decoders/ds243x/pd.py
decoders/ds28ea00/pd.py
decoders/dsi/pd.py
decoders/edid/pd.py
decoders/eeprom24xx/pd.py
decoders/eeprom93xx/pd.py
decoders/em4100/pd.py
decoders/em4305/pd.py
decoders/gpib/pd.py
decoders/graycode/pd.py
decoders/guess_bitrate/pd.py
decoders/i2c/pd.py
decoders/i2cdemux/pd.py
decoders/i2cfilter/pd.py
decoders/i2s/pd.py
decoders/iec/pd.py
decoders/ir_nec/pd.py
decoders/ir_rc5/pd.py
decoders/jitter/pd.py
decoders/jtag/pd.py
decoders/jtag_stm32/pd.py
decoders/lm75/pd.py
decoders/lpc/pd.py
decoders/maple_bus/pd.py
decoders/mdio/pd.py
decoders/midi/pd.py
decoders/mlx90614/pd.py
decoders/modbus/pd.py
decoders/morse/pd.py
decoders/mrf24j40/pd.py
decoders/mxc6225xu/pd.py
decoders/nrf24l01/pd.py
decoders/nunchuk/pd.py
decoders/onewire_link/pd.py
decoders/onewire_network/pd.py
decoders/pan1321/pd.py
decoders/parallel/pd.py
decoders/ps2/pd.py
decoders/pwm/pd.py
decoders/qi/pd.py
decoders/rfm12/pd.py
decoders/rgb_led_spi/pd.py
decoders/rgb_led_ws281x/pd.py
decoders/rtc8564/pd.py
decoders/sdcard_sd/pd.py
decoders/sdcard_spi/pd.py
decoders/spdif/pd.py
decoders/spi/pd.py
decoders/spiflash/pd.py
decoders/ssi32/pd.py
decoders/stepper_motor/pd.py
decoders/swd/pd.py
decoders/t55xx/pd.py
decoders/tca6408a/pd.py
decoders/timing/pd.py
decoders/tlc5620/pd.py
decoders/uart/pd.py
decoders/usb_packet/pd.py
decoders/usb_power_delivery/pd.py
decoders/usb_request/pd.py
decoders/usb_signalling/pd.py
decoders/wiegand/pd.py
decoders/xfp/pd.py
decoders/z80/pd.py