summaryrefslogtreecommitdiff
path: root/decoder/test/i2cfilter/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-09-01 21:59:32 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-09-03 16:15:08 +0200
commit593412c8e6750e3efe5bc5bc575f4222a441ac26 (patch)
treef85c4bf293372df58329f827cee5a45696e96577 /decoder/test/i2cfilter/test.conf
parentbc590a721629a9d678daf5d6edec06c8580bc94e (diff)
downloadsigrok-test-593412c8e6750e3efe5bc5bc575f4222a441ac26.tar.gz
sigrok-test-593412c8e6750e3efe5bc5bc575f4222a441ac26.zip
i2cfilter: Add a few test-cases.
Diffstat (limited to 'decoder/test/i2cfilter/test.conf')
-rw-r--r--decoder/test/i2cfilter/test.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/decoder/test/i2cfilter/test.conf b/decoder/test/i2cfilter/test.conf
new file mode 100644
index 0000000..03955af
--- /dev/null
+++ b/decoder/test/i2cfilter/test.conf
@@ -0,0 +1,13 @@
+test trekstor_ebr30_a_i2c_0x15_52
+ protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder i2cfilter option address=52
+ stack i2c i2cfilter
+ input i2c/trekstor_ebr30_a/trekstor_ebr30_a_i2c_0x15.sr
+ output i2cfilter python match trekstor_ebr30_a_i2c_0x15_52.python
+
+test trekstor_ebr30_a_i2c_0x15_21
+ protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder i2cfilter option address=21
+ stack i2c i2cfilter
+ input i2c/trekstor_ebr30_a/trekstor_ebr30_a_i2c_0x15.sr
+ output i2cfilter python match trekstor_ebr30_a_i2c_0x15_21.python