summaryrefslogtreecommitdiff
path: root/decoder/test/counter/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/test/counter/test.conf')
-rw-r--r--decoder/test/counter/test.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/decoder/test/counter/test.conf b/decoder/test/counter/test.conf
new file mode 100644
index 0000000..6cd5765
--- /dev/null
+++ b/decoder/test/counter/test.conf
@@ -0,0 +1,34 @@
+test 9bit_spi_rising
+ protocol-decoder counter channel data=2 option edge=rising
+ input spi/wordwidths/9bit_spi.sr
+ output counter annotation match 9bit_spi_rising.output
+
+test 9bit_spi_falling
+ protocol-decoder counter channel data=2 option edge=falling
+ input spi/wordwidths/9bit_spi.sr
+ output counter annotation match 9bit_spi_falling.output
+
+test 9bit_spi_any
+ protocol-decoder counter channel data=2 option edge=any
+ input spi/wordwidths/9bit_spi.sr
+ output counter annotation match 9bit_spi_any.output
+
+test 9bit_spi_rising_2bit_words
+ protocol-decoder counter channel data=2 option edge=rising option divider=2
+ input spi/wordwidths/9bit_spi.sr
+ output counter annotation match 9bit_spi_rising_2bit_words.output
+
+test 9bit_spi_rising_9bit_words
+ protocol-decoder counter channel data=2 option edge=rising option divider=9
+ input spi/wordwidths/9bit_spi.sr
+ output counter annotation match 9bit_spi_rising_9bit_words.output
+
+test 9bit_spi_rising_18bit_words
+ protocol-decoder counter channel data=2 option edge=rising option divider=18
+ input spi/wordwidths/9bit_spi.sr
+ output counter annotation match 9bit_spi_rising_18bit_words.output
+
+test nrf24l01_communication_tx_8bit_words_reset
+ protocol-decoder counter channel data=1 channel reset=0 option edge=rising option divider=8
+ input spi/nrf24l01/nrf24l01-communication-tx.sr
+ output counter annotation match nrf24l01_communication_tx_8bit_words_reset.output