summaryrefslogtreecommitdiff
path: root/decoder/test/tca6408a/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-12-30 21:02:00 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-12-30 21:02:59 +0100
commit1e595a25296fe2a911b137acabe7a9dbba653b1b (patch)
treee43d0c910d37eadd4581940d7672564bdb6f8588 /decoder/test/tca6408a/test.conf
parent8160e43bc6085f41614b9ce965e5e9bc16618c3e (diff)
downloadsigrok-test-1e595a25296fe2a911b137acabe7a9dbba653b1b.tar.gz
sigrok-test-1e595a25296fe2a911b137acabe7a9dbba653b1b.zip
Add some TI TCA6408A tests.
Diffstat (limited to 'decoder/test/tca6408a/test.conf')
-rw-r--r--decoder/test/tca6408a/test.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/decoder/test/tca6408a/test.conf b/decoder/test/tca6408a/test.conf
new file mode 100644
index 0000000..7ed79a0
--- /dev/null
+++ b/decoder/test/tca6408a/test.conf
@@ -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