summaryrefslogtreecommitdiff
path: root/decoders/spi/test/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/spi/test/test.conf')
-rw-r--r--decoders/spi/test/test.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/decoders/spi/test/test.conf b/decoders/spi/test/test.conf
index e08b788..57e0be7 100644
--- a/decoders/spi/test/test.conf
+++ b/decoders/spi/test/test.conf
@@ -11,3 +11,23 @@ test mx25l1605d_probe
output spi annotation class miso-data match mx25l1605d_probe_miso.output
output spi annotation match mx25l1605d_probe.output
+test count_mosi_msb
+ protocol-decoder spi channel cs=1 channel clk=0 channel mosi=2
+ input spi/spi-count-msb.sr
+ output spi annotation class mosi-data match spi_count_mosi_msb.output
+
+test count_miso_msb
+ protocol-decoder spi channel cs=1 channel clk=0 channel miso=2
+ input spi/spi-count-msb.sr
+ output spi annotation class miso-data match spi_count_miso_msb.output
+
+test count_mosi_lsb
+ protocol-decoder spi channel cs=1 channel clk=0 channel mosi=2 option bitorder=lsb-first
+ input spi/spi-count-lsb.sr
+ output spi annotation class mosi-data match spi_count_mosi_lsb.output
+
+test count_miso_lsb
+ protocol-decoder spi channel cs=1 channel clk=0 channel miso=2 option bitorder=lsb-first
+ input spi/spi-count-lsb.sr
+ output spi annotation class mosi-data match spi_count_miso_lsb.output
+