]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2c/test/test.conf
i2c: Add binary tests.
[libsigrokdecode.git] / decoders / i2c / test / test.conf
index 4e96a0091ac78b09d578bce7ddf9b4edd5d5bb7e..84a3d47378556b33ab4030d5dd76057ea07ea9e0 100644 (file)
@@ -10,3 +10,11 @@ test motherboard
        input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr
        output i2c annotation match gigabyte_6vle_vxl_i2c.output
 
+test xfp
+       protocol-decoder i2c probe scl=0 probe 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
+