summaryrefslogtreecommitdiff
path: root/decoder/test/pwm/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-06-15 21:26:43 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-15 21:26:43 +0200
commite3615849859e15e54a58984ee61ce3f54c693b83 (patch)
treef2ae3e8a8ceb86220b9084875fc04f24ba5af986 /decoder/test/pwm/test.conf
parente56d386c6187319c9d68496b71ff3338c9428d25 (diff)
downloadsigrok-test-e3615849859e15e54a58984ee61ce3f54c693b83.tar.gz
sigrok-test-e3615849859e15e54a58984ee61ce3f54c693b83.zip
pwm: Add a few more test-cases.
Diffstat (limited to 'decoder/test/pwm/test.conf')
-rw-r--r--decoder/test/pwm/test.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/decoder/test/pwm/test.conf b/decoder/test/pwm/test.conf
index 83f4be4..f3ace8f 100644
--- a/decoder/test/pwm/test.conf
+++ b/decoder/test/pwm/test.conf
@@ -3,3 +3,27 @@ test alsa_test_snippet
input pwm/alsa_test/pwmtest_snippet.sr
output pwm annotation match alsa_test_snippet.output
output pwm binary class raw match alsa_test_snippet.bin_raw
+
+test spi_0x35_cpol0_cpha0_trigger_clk_falling_ok
+ protocol-decoder pwm channel data=4 option polarity=active-low
+ input spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.sr
+ output pwm annotation match spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.output
+ output pwm binary class raw match spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.bin_raw
+
+test spi_0x35_cpol0_cpha0_trigger_clk_falling_ok_initial1
+ protocol-decoder pwm channel data=4 initial_pin data=1 option polarity=active-low
+ input spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_falling_ok.sr
+ output pwm annotation match spi_0x35_cpol0_cpha0_trigger_clk_falling_ok_initial1.output
+ output pwm binary class raw match spi_0x35_cpol0_cpha0_trigger_clk_falling_ok_initial1.bin_raw
+
+test spi_0x35_cpol0_cpha0_trigger_clk_rising_ok
+ protocol-decoder pwm channel data=4 option polarity=active-high
+ input spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.sr
+ output pwm annotation match spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.output
+ output pwm binary class raw match spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.bin_raw
+
+test spi_0x35_cpol0_cpha0_trigger_clk_rising_ok_initial0
+ protocol-decoder pwm channel data=4 initial_pin data=0 option polarity=active-high
+ input spi/allmodes/spi_0x35_cpol0_cpha0_trigger_clk_rising_ok.sr
+ output pwm annotation match spi_0x35_cpol0_cpha0_trigger_clk_rising_ok_initial0.output
+ output pwm binary class raw match spi_0x35_cpol0_cpha0_trigger_clk_rising_ok_initial0.bin_raw