X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoder%2Ftest%2Fi2c%2Ftest.conf;h=bf8249b36f562312d2f1a7287690cdbca0bb0338;hb=HEAD;hp=c9e7e5e7c1533f75c241b60df59b6ed1267a310c;hpb=b59c504ecda1693417932878a8c92bab80f9635c;p=sigrok-test.git diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf index c9e7e5e..bf8249b 100644 --- a/decoder/test/i2c/test.conf +++ b/decoder/test/i2c/test.conf @@ -10,6 +10,18 @@ test rtc output i2c binary class address-read match rtc_ds1307_200khz.bin_address_read output i2c binary class address-write match rtc_ds1307_200khz.bin_address_write +test rtc_no_samplerate + protocol-decoder i2c channel scl=0 channel sda=1 initial_pin scl=1 initial_pin sda=1 + input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz_no_samplerate.sr + output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output + output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output + output i2c annotation match rtc_ds1307_200khz.output + output i2c python match rtc_ds1307_200khz.python + output i2c binary class data-read match rtc_ds1307_200khz.bin_data_read + output i2c binary class data-write match rtc_ds1307_200khz.bin_data_write + output i2c binary class address-read match rtc_ds1307_200khz.bin_address_read + output i2c binary class address-write match rtc_ds1307_200khz.bin_address_write + test motherboard protocol-decoder i2c channel scl=0 channel sda=3 input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr @@ -57,7 +69,22 @@ test sensirion_sht31_25rh_28rh output i2c binary class address-read match sensirion_sht31_25rh_28rh.bin_address_read output i2c binary class address-write match sensirion_sht31_25rh_28rh.bin_address_write -test exception_samplerate - protocol-decoder i2c - input misc/no-samplerate.sr - output i2c exception match SamplerateError +test bh1750_hresolutionmode + protocol-decoder i2c channel scl=0 channel sda=1 + input i2c/rohm_bh1750/bh1750_hresolutionmode.sr + output i2c annotation match bh1750_hresolutionmode.output + output i2c python match bh1750_hresolutionmode.python + output i2c binary class data-read match bh1750_hresolutionmode.bin_data_read + output i2c binary class data-write match bh1750_hresolutionmode.bin_data_write + output i2c binary class address-read match bh1750_hresolutionmode.bin_address_read + output i2c binary class address-write match bh1750_hresolutionmode.bin_address_write + +test bh1750_h2resolutionmode + protocol-decoder i2c channel scl=0 channel sda=1 + input i2c/rohm_bh1750/bh1750_h2resolutionmode.sr + output i2c annotation match bh1750_h2resolutionmode.output + output i2c python match bh1750_h2resolutionmode.python + output i2c binary class data-read match bh1750_h2resolutionmode.bin_data_read + output i2c binary class data-write match bh1750_h2resolutionmode.bin_data_write + output i2c binary class address-read match bh1750_h2resolutionmode.bin_address_read + output i2c binary class address-write match bh1750_h2resolutionmode.bin_address_write