From 913b372366bc0cffd7bcbacb7b487c7a157db09c Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Thu, 11 Jan 2018 07:05:34 +0100 Subject: 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. --- decoder/test/counter/test.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoder/test/counter/test.conf') 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 -- cgit v1.2.3-54-g00ecf