summaryrefslogtreecommitdiff
path: root/decoder/test/adxl345/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2020-04-10 18:16:40 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2020-04-11 14:52:55 +0200
commit4aa5888ef4f3d4bc3d72093c6df2eb30e292004b (patch)
tree2b4aa7a8c53b06e8d53e53b1a471d152fb3f95dc /decoder/test/adxl345/test.conf
parent2064a252fe5d48a565121c41f918f624518df991 (diff)
downloadsigrok-test-4aa5888ef4f3d4bc3d72093c6df2eb30e292004b.tar.gz
sigrok-test-4aa5888ef4f3d4bc3d72093c6df2eb30e292004b.zip
adxl345: Add some test-cases.
Diffstat (limited to 'decoder/test/adxl345/test.conf')
-rw-r--r--decoder/test/adxl345/test.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/decoder/test/adxl345/test.conf b/decoder/test/adxl345/test.conf
new file mode 100644
index 0000000..393f897
--- /dev/null
+++ b/decoder/test/adxl345/test.conf
@@ -0,0 +1,13 @@
+test adxl345_axis
+ protocol-decoder spi channel clk=0 channel mosi=1 channel miso=2 channel cs=3
+ protocol-decoder adxl345
+ stack spi adxl345
+ input spi/adxl345/adxl345_axis.sr
+ output adxl345 annotation match adxl345_axis.output
+
+test adxl345_registers
+ protocol-decoder spi channel clk=0 channel mosi=1 channel miso=2 channel cs=3
+ protocol-decoder adxl345
+ stack spi adxl345
+ input spi/adxl345/adxl345_registers.sr
+ output adxl345 annotation match adxl345_registers.output