summaryrefslogtreecommitdiff
path: root/decoder/test/graycode/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-12-09 17:17:29 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2017-12-09 17:17:29 +0100
commit872a7b5781de474f7e0b4c12906b0c4b01cb4076 (patch)
treea4744f15f9f3df76066a7cc912e1c0c53d5980a6 /decoder/test/graycode/test.conf
parent9b5af25cc8d623c4b54b6dd13c87556e47f09849 (diff)
downloadsigrok-test-872a7b5781de474f7e0b4c12906b0c4b01cb4076.tar.gz
sigrok-test-872a7b5781de474f7e0b4c12906b0c4b01cb4076.zip
Add some graycode test-cases.
Diffstat (limited to 'decoder/test/graycode/test.conf')
-rw-r--r--decoder/test/graycode/test.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/decoder/test/graycode/test.conf b/decoder/test/graycode/test.conf
new file mode 100644
index 0000000..8a4fe51
--- /dev/null
+++ b/decoder/test/graycode/test.conf
@@ -0,0 +1,19 @@
+test graycode_ramp
+ protocol-decoder graycode channel d0=0 channel d1=1 channel d2=2 channel d3=3 channel d4=4 channel d5=5 channel d6=6 channel d7=7
+ input graycode/synthetic/graycode-ramp.sr
+ output graycode annotation match graycode_ramp.output
+
+test graycode_sin
+ protocol-decoder graycode channel d0=0 channel d1=1 channel d2=2 channel d3=3 channel d4=4 channel d5=5 channel d6=6 channel d7=7
+ input graycode/synthetic/graycode-sin.sr
+ output graycode annotation match graycode_sin.output
+
+test rotary_ramp
+ protocol-decoder graycode channel d0=0 channel d1=1
+ input graycode/synthetic/rotary-ramp.sr
+ output graycode annotation match rotary_ramp.output
+
+test rotary_sin
+ protocol-decoder graycode channel d0=0 channel d1=1
+ input graycode/synthetic/rotary-sin.sr
+ output graycode annotation match rotary_sin.output