X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=decoder%2Ftest%2Fi2c%2Ftest.conf;h=e4acf8305e98cc1e66ef82c68a376596f77e1e73;hp=169c1eafedab07a4eee3b68f9dc68563d83aac34;hb=bc2fae874ef11fe932820097dff71be3ca675d67;hpb=9eb0c2395f2ac35ee0ab45298e10b34ca5a02c9c diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf index 169c1ea..e4acf83 100644 --- a/decoder/test/i2c/test.conf +++ b/decoder/test/i2c/test.conf @@ -1,5 +1,5 @@ test rtc - protocol-decoder i2c channel scl=0 channel sda=1 + 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.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 @@ -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 @@ -47,7 +59,12 @@ test sensirion_sht21_humidity35 output i2c binary class address-read match sensirion_sht21_humidity35.bin_address_read output i2c binary class address-write match sensirion_sht21_humidity35.bin_address_write -test exception_samplerate - protocol-decoder i2c - input misc/no-samplerate.sr - output i2c exception match SamplerateError +test sensirion_sht31_25rh_28rh + protocol-decoder i2c channel scl=2 channel sda=1 + input i2c/sensirion_sht3x/sensirion_sht31_25rh_28rh.sr + output i2c annotation match sensirion_sht31_25rh_28rh.output + output i2c python match sensirion_sht31_25rh_28rh.python + output i2c binary class data-read match sensirion_sht31_25rh_28rh.bin_data_read + output i2c binary class data-write match sensirion_sht31_25rh_28rh.bin_data_write + 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