]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/tca6408a/test.conf
Add some TI TCA6408A tests.
[sigrok-test.git] / decoder / test / tca6408a / test.conf
diff --git a/decoder/test/tca6408a/test.conf b/decoder/test/tca6408a/test.conf
new file mode 100644 (file)
index 0000000..7ed79a0
--- /dev/null
@@ -0,0 +1,14 @@
+test tca6408a_all_slaves
+       protocol-decoder i2c channel scl=0 channel sda=1
+       protocol-decoder tca6408a
+       stack i2c tca6408a
+       input i2c/ti_tca6408a/tca6408a.sr
+       output tca6408a annotation match tca6408a_all_slaves.output
+
+test tca6408a_slave_0x20
+       protocol-decoder i2c channel scl=0 channel sda=1
+       protocol-decoder i2cfilter option address=32
+       protocol-decoder tca6408a
+       stack i2c i2cfilter tca6408a
+       input i2c/ti_tca6408a/tca6408a.sr
+       output tca6408a annotation match tca6408a_slave_0x20.output