]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2c/test/test.conf
Rename 'probe' to 'channel' everywhere.
[libsigrokdecode.git] / decoders / i2c / test / test.conf
index 4e96a0091ac78b09d578bce7ddf9b4edd5d5bb7e..bd1068beff4b3bb5f2fd8fff6d3fde42ead325a0 100644 (file)
@@ -1,12 +1,22 @@
 test rtc
-       protocol-decoder i2c probe scl=0 probe sda=1
+       protocol-decoder i2c channel scl=0 channel 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
 
 test motherboard
-       protocol-decoder i2c probe scl=0 probe sda=3
+       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
+
+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