summaryrefslogtreecommitdiff
path: root/decoder/test/tca6408a/test.conf
diff options
context:
space:
mode:
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