]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/uart/test.conf
uart: Add test-cases for 5n1, 6n1, 7n1, 8n1, 9n1.
[sigrok-test.git] / decoder / test / uart / test.conf
index f501edb3af663a22c1c557d4e92e4fb5ee7cbc01..d6db479c5717369b1ba0e42aab3d33bba8b5f360 100644 (file)
@@ -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