]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/i2c/test.conf
Add support for initial pin settings.
[sigrok-test.git] / decoder / test / i2c / test.conf
index 8212194ed93124a37ee8f0fd0cd8fe26ee77243a..c9e7e5e7c1533f75c241b60df59b6ed1267a310c 100644 (file)
@@ -1,24 +1,61 @@
 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
        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
        output i2c annotation match gigabyte_6vle_vxl_i2c.output
        output i2c python match gigabyte_6vle_vxl_i2c.python
+       output i2c binary class data-read match gigabyte_6vle_vxl_i2c.bin_data_read
+       output i2c binary class data-write match gigabyte_6vle_vxl_i2c.bin_data_write
+       output i2c binary class address-read match gigabyte_6vle_vxl_i2c.bin_address_read
+       output i2c binary class address-write match gigabyte_6vle_vxl_i2c.bin_address_write
 
 test xfp
        protocol-decoder i2c channel scl=0 channel sda=1
        input i2c/network-transceivers/xfp.sr
-       output i2c binary class data-read match xfp_data_read.binary
-       output i2c binary class data-write match xfp_data_write.binary
-       output i2c binary class address-read match xfp_address_read.binary
-       output i2c binary class address-write match xfp_address_write.binary
+       output i2c python match xfp.python
+       output i2c binary class data-read match xfp.bin_data_read
+       output i2c binary class data-write match xfp.bin_data_write
+       output i2c binary class address-read match xfp.bin_address_read
+       output i2c binary class address-write match xfp.bin_address_write
+
+test wii_nunchuk_init
+       protocol-decoder i2c channel scl=0 channel sda=1
+       input i2c/wii_nunchuk/wii_nunchuk_init.sr
+       output i2c annotation match wii_nunchuk_init.output
+       output i2c python match wii_nunchuk_init.python
+       output i2c binary class data-write match wii_nunchuk_init.bin_data_write
+       output i2c binary class address-write match wii_nunchuk_init.bin_address_write
+
+test sensirion_sht21_humidity35
+       protocol-decoder i2c channel scl=2 channel sda=1
+       input i2c/sensirion_sht2x/sensirion_sht21_humidity35.sr
+       output i2c annotation match sensirion_sht21_humidity35.output
+       output i2c python match sensirion_sht21_humidity35.python
+       output i2c binary class data-read match sensirion_sht21_humidity35.bin_data_read
+       output i2c binary class data-write match sensirion_sht21_humidity35.bin_data_write
+       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 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
 
 test exception_samplerate
        protocol-decoder i2c