summaryrefslogtreecommitdiff
path: root/decoder/test/uart/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-10-19 19:34:23 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2016-10-23 19:24:53 +0200
commit0169b5597c2cd156629a2381465259640deaabde (patch)
treeff95a0a1553b5a636ac310066882bbb37c14d045 /decoder/test/uart/test.conf
parent0c804ea53c3057e728f98fa9d4264b449333ee6e (diff)
downloadsigrok-test-0169b5597c2cd156629a2381465259640deaabde.tar.gz
sigrok-test-0169b5597c2cd156629a2381465259640deaabde.zip
uart: Add test-cases for 5n1, 6n1, 7n1, 8n1, 9n1.
Diffstat (limited to 'decoder/test/uart/test.conf')
-rw-r--r--decoder/test/uart/test.conf175
1 files changed, 175 insertions, 0 deletions
diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf
index f501edb..d6db479 100644
--- a/decoder/test/uart/test.conf
+++ b/decoder/test/uart/test.conf
@@ -122,6 +122,181 @@ test rxtx_overlapped
output uart binary class rx match rxtx_overlapped.bin_rx
output uart binary class tx match rxtx_overlapped.bin_tx
+test uart_count_19200_5n1_hex
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=hex
+ input uart/counter/uart_count_19200_5n1.sr
+ output uart annotation match uart_count_19200_5n1_hex.output
+ output uart python match uart_count_19200_5n1.python
+ output uart binary class tx match uart_count_19200_5n1.bin_tx
+
+test uart_count_19200_5n1_ascii
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=ascii
+ input uart/counter/uart_count_19200_5n1.sr
+ output uart annotation match uart_count_19200_5n1_ascii.output
+ output uart python match uart_count_19200_5n1.python
+ output uart binary class tx match uart_count_19200_5n1.bin_tx
+
+test uart_count_19200_5n1_dec
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=dec
+ input uart/counter/uart_count_19200_5n1.sr
+ output uart annotation match uart_count_19200_5n1_dec.output
+ output uart python match uart_count_19200_5n1.python
+ output uart binary class tx match uart_count_19200_5n1.bin_tx
+
+test uart_count_19200_5n1_oct
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=oct
+ input uart/counter/uart_count_19200_5n1.sr
+ output uart annotation match uart_count_19200_5n1_oct.output
+ output uart python match uart_count_19200_5n1.python
+ output uart binary class tx match uart_count_19200_5n1.bin_tx
+
+test uart_count_19200_5n1_bin
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=5 option format=bin
+ input uart/counter/uart_count_19200_5n1.sr
+ output uart annotation match uart_count_19200_5n1_bin.output
+ output uart python match uart_count_19200_5n1.python
+ output uart binary class tx match uart_count_19200_5n1.bin_tx
+
+test uart_count_19200_6n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=hex
+ input uart/counter/uart_count_19200_6n1.sr
+ output uart annotation match uart_count_19200_6n1_hex.output
+ output uart python match uart_count_19200_6n1.python
+ output uart binary class tx match uart_count_19200_6n1.bin_tx
+
+test uart_count_19200_6n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=ascii
+ input uart/counter/uart_count_19200_6n1.sr
+ output uart annotation match uart_count_19200_6n1_ascii.output
+ output uart python match uart_count_19200_6n1.python
+ output uart binary class tx match uart_count_19200_6n1.bin_tx
+
+test uart_count_19200_6n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=dec
+ input uart/counter/uart_count_19200_6n1.sr
+ output uart annotation match uart_count_19200_6n1_dec.output
+ output uart python match uart_count_19200_6n1.python
+ output uart binary class tx match uart_count_19200_6n1.bin_tx
+
+test uart_count_19200_6n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=oct
+ input uart/counter/uart_count_19200_6n1.sr
+ output uart annotation match uart_count_19200_6n1_oct.output
+ output uart python match uart_count_19200_6n1.python
+ output uart binary class tx match uart_count_19200_6n1.bin_tx
+
+test uart_count_19200_6n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=6 option format=bin
+ input uart/counter/uart_count_19200_6n1.sr
+ output uart annotation match uart_count_19200_6n1_bin.output
+ output uart python match uart_count_19200_6n1.python
+ output uart binary class tx match uart_count_19200_6n1.bin_tx
+
+test uart_count_19200_7n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=hex
+ input uart/counter/uart_count_19200_7n1.sr
+ output uart annotation match uart_count_19200_7n1_hex.output
+ output uart python match uart_count_19200_7n1.python
+ output uart binary class tx match uart_count_19200_7n1.bin_tx
+
+test uart_count_19200_7n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=ascii
+ input uart/counter/uart_count_19200_7n1.sr
+ output uart annotation match uart_count_19200_7n1_ascii.output
+ output uart python match uart_count_19200_7n1.python
+ output uart binary class tx match uart_count_19200_7n1.bin_tx
+
+test uart_count_19200_7n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=dec
+ input uart/counter/uart_count_19200_7n1.sr
+ output uart annotation match uart_count_19200_7n1_dec.output
+ output uart python match uart_count_19200_7n1.python
+ output uart binary class tx match uart_count_19200_7n1.bin_tx
+
+test uart_count_19200_7n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=oct
+ input uart/counter/uart_count_19200_7n1.sr
+ output uart annotation match uart_count_19200_7n1_oct.output
+ output uart python match uart_count_19200_7n1.python
+ output uart binary class tx match uart_count_19200_7n1.bin_tx
+
+test uart_count_19200_7n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=7 option format=bin
+ input uart/counter/uart_count_19200_7n1.sr
+ output uart annotation match uart_count_19200_7n1_bin.output
+ output uart python match uart_count_19200_7n1.python
+ output uart binary class tx match uart_count_19200_7n1.bin_tx
+
+test uart_count_19200_8n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=hex
+ input uart/counter/uart_count_19200_8n1.sr
+ output uart annotation match uart_count_19200_8n1_hex.output
+ output uart python match uart_count_19200_8n1.python
+ output uart binary class tx match uart_count_19200_8n1.bin_tx
+
+test uart_count_19200_8n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=ascii
+ input uart/counter/uart_count_19200_8n1.sr
+ output uart annotation match uart_count_19200_8n1_ascii.output
+ output uart python match uart_count_19200_8n1.python
+ output uart binary class tx match uart_count_19200_8n1.bin_tx
+
+test uart_count_19200_8n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=dec
+ input uart/counter/uart_count_19200_8n1.sr
+ output uart annotation match uart_count_19200_8n1_dec.output
+ output uart python match uart_count_19200_8n1.python
+ output uart binary class tx match uart_count_19200_8n1.bin_tx
+
+test uart_count_19200_8n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=oct
+ input uart/counter/uart_count_19200_8n1.sr
+ output uart annotation match uart_count_19200_8n1_oct.output
+ output uart python match uart_count_19200_8n1.python
+ output uart binary class tx match uart_count_19200_8n1.bin_tx
+
+test uart_count_19200_8n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=8 option format=bin
+ input uart/counter/uart_count_19200_8n1.sr
+ output uart annotation match uart_count_19200_8n1_bin.output
+ output uart python match uart_count_19200_8n1.python
+ output uart binary class tx match uart_count_19200_8n1.bin_tx
+
+test uart_count_19200_9n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=hex
+ input uart/counter/uart_count_19200_9n1.sr
+ output uart annotation match uart_count_19200_9n1_hex.output
+ output uart python match uart_count_19200_9n1.python
+ output uart binary class tx match uart_count_19200_9n1.bin_tx
+
+test uart_count_19200_9n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=ascii
+ input uart/counter/uart_count_19200_9n1.sr
+ output uart annotation match uart_count_19200_9n1_ascii.output
+ output uart python match uart_count_19200_9n1.python
+ output uart binary class tx match uart_count_19200_9n1.bin_tx
+
+test uart_count_19200_9n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=dec
+ input uart/counter/uart_count_19200_9n1.sr
+ output uart annotation match uart_count_19200_9n1_dec.output
+ output uart python match uart_count_19200_9n1.python
+ output uart binary class tx match uart_count_19200_9n1.bin_tx
+
+test uart_count_19200_9n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=oct
+ input uart/counter/uart_count_19200_9n1.sr
+ output uart annotation match uart_count_19200_9n1_oct.output
+ output uart python match uart_count_19200_9n1.python
+ output uart binary class tx match uart_count_19200_9n1.bin_tx
+
+test uart_count_19200_9n1
+ protocol-decoder uart channel tx=0 option baudrate=19200 option num_data_bits=9 option format=bin
+ input uart/counter/uart_count_19200_9n1.sr
+ output uart annotation match uart_count_19200_9n1_bin.output
+ output uart python match uart_count_19200_9n1.python
+ output uart binary class tx match uart_count_19200_9n1.bin_tx
+
test exception_samplerate
protocol-decoder uart
input misc/no-samplerate.sr