diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-30 09:31:29 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-30 09:32:37 +0100 |
commit | c38a580b17751b725411ad9ce49db0444e166c51 (patch) | |
tree | 88cde37443a6ef6ff5fa97ea56747145cced23d9 /decoder/test/nes_gamepad/test.conf | |
parent | 6d4dbc2b54cc01c5460b292db22c7a5396039932 (diff) | |
download | sigrok-test-c38a580b17751b725411ad9ce49db0444e166c51.tar.gz sigrok-test-c38a580b17751b725411ad9ce49db0444e166c51.zip |
nes_gamepad: Add more test-cases.
Diffstat (limited to 'decoder/test/nes_gamepad/test.conf')
-rw-r--r-- | decoder/test/nes_gamepad/test.conf | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/decoder/test/nes_gamepad/test.conf b/decoder/test/nes_gamepad/test.conf index fd3d050..4b6edbb 100644 --- a/decoder/test/nes_gamepad/test.conf +++ b/decoder/test/nes_gamepad/test.conf @@ -1,6 +1,83 @@ +test nes_gamepad_generated_a_b + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/a_b.sr + output nes_gamepad annotation match nes_gamepad_generated_a_b.output + test nes_gamepad_generated_a protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 protocol-decoder nes_gamepad stack spi nes_gamepad input spi/nes_gamepad/nes_gamepad_generated/a.sr output nes_gamepad annotation match nes_gamepad_generated_a.output + +test nes_gamepad_generated_b_select_west + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/b_select_west.sr + output nes_gamepad annotation match nes_gamepad_generated_b_select_west.output + +test nes_gamepad_generated_b + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/b.sr + output nes_gamepad annotation match nes_gamepad_generated_b.output + +test nes_gamepad_generated_east + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/east.sr + output nes_gamepad annotation match nes_gamepad_generated_east.output + +test nes_gamepad_generated_no_button + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/no_button.sr + output nes_gamepad annotation match nes_gamepad_generated_no_button.output + +test nes_gamepad_generated_north + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/north.sr + output nes_gamepad annotation match nes_gamepad_generated_north.output + +test nes_gamepad_generated_select + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/select.sr + output nes_gamepad annotation match nes_gamepad_generated_select.output + +test nes_gamepad_generated_south + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/south.sr + output nes_gamepad annotation match nes_gamepad_generated_south.output + +test nes_gamepad_generated_start + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/start.sr + output nes_gamepad annotation match nes_gamepad_generated_start.output + +test nes_gamepad_generated_unconnected + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/unconnected.sr + output nes_gamepad annotation match nes_gamepad_generated_unconnected.output + +test nes_gamepad_generated_west + protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1 + protocol-decoder nes_gamepad + stack spi nes_gamepad + input spi/nes_gamepad/nes_gamepad_generated/west.sr + output nes_gamepad annotation match nes_gamepad_generated_west.output |