summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoder/test/counter/hd44780_text_falling_reset.output105
-rw-r--r--decoder/test/counter/test.conf5
2 files changed, 110 insertions, 0 deletions
diff --git a/decoder/test/counter/hd44780_text_falling_reset.output b/decoder/test/counter/hd44780_text_falling_reset.output
new file mode 100644
index 0000000..e56b4f4
--- /dev/null
+++ b/decoder/test/counter/hd44780_text_falling_reset.output
@@ -0,0 +1,105 @@
+3768240-3768240 counter: edge_count: "1"
+4118229-4118229 counter: edge_count: "2"
+4118229-4118229 counter: word_count: "1"
+4468218-4468218 counter: edge_count: "3"
+4818202-4818202 counter: edge_count: "4"
+4818202-4818202 counter: word_count: "2"
+5268189-5268189 counter: edge_count: "5"
+5368185-5368185 counter: edge_count: "6"
+5368185-5368185 counter: word_count: "3"
+5568180-5568180 counter: edge_count: "7"
+5668176-5668176 counter: edge_count: "8"
+5668176-5668176 counter: word_count: "4"
+5868171-5868171 counter: edge_count: "9"
+5968166-5968166 counter: edge_count: "10"
+5968166-5968166 counter: word_count: "5"
+6168162-6168162 counter: edge_count: "11"
+6268157-6268157 counter: edge_count: "12"
+6268157-6268157 counter: word_count: "6"
+6468152-6468152 counter: edge_count: "13"
+6568148-6568148 counter: edge_count: "14"
+6568148-6568148 counter: word_count: "7"
+6768143-6768143 counter: edge_count: "15"
+6868139-6868139 counter: edge_count: "16"
+6868139-6868139 counter: word_count: "8"
+7068134-7068134 counter: edge_count: "17"
+7168129-7168129 counter: edge_count: "18"
+7168129-7168129 counter: word_count: "9"
+7318965-7318965 counter: word_reset: "Word reset" "Reset" "Rst" "R"
+7368125-7368125 counter: edge_count: "1"
+7468120-7468120 counter: edge_count: "2"
+7468120-7468120 counter: word_count: "1"
+7668115-7668115 counter: edge_count: "3"
+7768111-7768111 counter: edge_count: "4"
+7768111-7768111 counter: word_count: "2"
+7968106-7968106 counter: edge_count: "5"
+8068102-8068102 counter: edge_count: "6"
+8068102-8068102 counter: word_count: "3"
+8268097-8268097 counter: edge_count: "7"
+8368093-8368093 counter: edge_count: "8"
+8368093-8368093 counter: word_count: "4"
+8568088-8568088 counter: edge_count: "9"
+8668083-8668083 counter: edge_count: "10"
+8668083-8668083 counter: word_count: "5"
+8868079-8868079 counter: edge_count: "11"
+8968074-8968074 counter: edge_count: "12"
+8968074-8968074 counter: word_count: "6"
+9168069-9168069 counter: edge_count: "13"
+9268065-9268065 counter: edge_count: "14"
+9268065-9268065 counter: word_count: "7"
+9468060-9468060 counter: edge_count: "15"
+9568056-9568056 counter: edge_count: "16"
+9568056-9568056 counter: word_count: "8"
+9768051-9768051 counter: edge_count: "17"
+9868046-9868046 counter: edge_count: "18"
+9868046-9868046 counter: word_count: "9"
+10068036-10068036 counter: edge_count: "19"
+10168032-10168032 counter: edge_count: "20"
+10168032-10168032 counter: word_count: "10"
+10318867-10318867 counter: word_reset: "Word reset" "Reset" "Rst" "R"
+10368027-10368027 counter: edge_count: "1"
+10468022-10468022 counter: edge_count: "2"
+10468022-10468022 counter: word_count: "1"
+10668018-10668018 counter: edge_count: "3"
+10768013-10768013 counter: edge_count: "4"
+10768013-10768013 counter: word_count: "2"
+10968008-10968008 counter: edge_count: "5"
+11068004-11068004 counter: edge_count: "6"
+11068004-11068004 counter: word_count: "3"
+11267999-11267999 counter: edge_count: "7"
+11367995-11367995 counter: edge_count: "8"
+11367995-11367995 counter: word_count: "4"
+11567990-11567990 counter: edge_count: "9"
+11667985-11667985 counter: edge_count: "10"
+11667985-11667985 counter: word_count: "5"
+11867981-11867981 counter: edge_count: "11"
+11967976-11967976 counter: edge_count: "12"
+11967976-11967976 counter: word_count: "6"
+12167971-12167971 counter: edge_count: "13"
+12267967-12267967 counter: edge_count: "14"
+12267967-12267967 counter: word_count: "7"
+12467962-12467962 counter: edge_count: "15"
+12567958-12567958 counter: edge_count: "16"
+12567958-12567958 counter: word_count: "8"
+12767953-12767953 counter: edge_count: "17"
+12867948-12867948 counter: edge_count: "18"
+12867948-12867948 counter: word_count: "9"
+13067944-13067944 counter: edge_count: "19"
+13167939-13167939 counter: edge_count: "20"
+13167939-13167939 counter: word_count: "10"
+13367934-13367934 counter: edge_count: "21"
+13467930-13467930 counter: edge_count: "22"
+13467930-13467930 counter: word_count: "11"
+13667925-13667925 counter: edge_count: "23"
+13767921-13767921 counter: edge_count: "24"
+13767921-13767921 counter: word_count: "12"
+13967916-13967916 counter: edge_count: "25"
+14067911-14067911 counter: edge_count: "26"
+14067911-14067911 counter: word_count: "13"
+14218822-14218822 counter: word_reset: "Word reset" "Reset" "Rst" "R"
+14267907-14267907 counter: edge_count: "1"
+14367902-14367902 counter: edge_count: "2"
+14367902-14367902 counter: word_count: "1"
+14567897-14567897 counter: edge_count: "3"
+14667893-14667893 counter: edge_count: "4"
+14667893-14667893 counter: word_count: "2"
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