From bf18891ff663d11ea3df299d79e5e7f68e749972 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 3 Jan 2018 17:30:36 +0100 Subject: Add some counter test-cases. --- decoder/test/counter/test.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 decoder/test/counter/test.conf (limited to 'decoder/test/counter/test.conf') 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 -- cgit v1.2.3-70-g09d2