]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/adxl345/test.conf
adxl345: Add some test-cases.
[sigrok-test.git] / decoder / test / adxl345 / test.conf
diff --git a/decoder/test/adxl345/test.conf b/decoder/test/adxl345/test.conf
new file mode 100644 (file)
index 0000000..393f897
--- /dev/null
@@ -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