X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=decoder%2Ftest%2Fcounter%2Ftest.conf;fp=decoder%2Ftest%2Fcounter%2Ftest.conf;h=6cd57651c5618c98a8e7fa4e0308c540172851a0;hp=0000000000000000000000000000000000000000;hb=bf18891ff663d11ea3df299d79e5e7f68e749972;hpb=b01ef27162412ca6e241a9b595ba02fd7143b4d6 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