diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-01-11 07:05:34 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-01-11 07:05:34 +0100 |
commit | 913b372366bc0cffd7bcbacb7b487c7a157db09c (patch) | |
tree | 2f327f295969490fba8a967ee84218184486d259 /decoder/test/counter/test.conf | |
parent | 3f0b1d31e4c2e5965e1ca795f673b1ddd1220a2d (diff) | |
download | sigrok-test-913b372366bc0cffd7bcbacb7b487c7a157db09c.tar.gz sigrok-test-913b372366bc0cffd7bcbacb7b487c7a157db09c.zip |
counter: use HD44780 dump to check counter's reset_edge option
Resetting counters depending on the LCD controller's R/S signal yields
numbers that correspond to byte sequences that either "control" hardware
(register access) or carry "data" (display text).
Provide a test case for the rising edge of RESET. Existing cases already
covered the falling edge of RESET which is the default.
Diffstat (limited to 'decoder/test/counter/test.conf')
-rw-r--r-- | decoder/test/counter/test.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder/test/counter/test.conf b/decoder/test/counter/test.conf index ca759e5..8904354 100644 --- a/decoder/test/counter/test.conf +++ b/decoder/test/counter/test.conf @@ -32,3 +32,8 @@ test nrf24l01_communication_tx_8bit_words_reset protocol-decoder counter channel data=1 channel reset=0 option data_edge=rising option divider=8 input spi/nrf24l01/nrf24l01-communication-tx.sr output counter annotation match nrf24l01_communication_tx_8bit_words_reset.output + +test hd44780_text_falling_reset + protocol-decoder counter channel data=3 channel reset=1 option data_edge=falling option divider=2 option reset_edge=rising + input hd44780/hd44780-reset-init-hello.sr + output counter annotation match hd44780_text_falling_reset.output |