diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2020-04-10 21:22:45 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-04-11 14:52:55 +0200 |
commit | 215d8d122227839dc37034ee2f613b0e6792b29d (patch) | |
tree | 8b112af08eb296fdf99bc6d4538d0deb2b0c1a70 /decoder/test/ltc26x7/test.conf | |
parent | 4aa5888ef4f3d4bc3d72093c6df2eb30e292004b (diff) | |
download | sigrok-test-215d8d122227839dc37034ee2f613b0e6792b29d.tar.gz sigrok-test-215d8d122227839dc37034ee2f613b0e6792b29d.zip |
ltc26x7: Add some test-cases.
Diffstat (limited to 'decoder/test/ltc26x7/test.conf')
-rw-r--r-- | decoder/test/ltc26x7/test.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/decoder/test/ltc26x7/test.conf b/decoder/test/ltc26x7/test.conf new file mode 100644 index 0000000..27a0e48 --- /dev/null +++ b/decoder/test/ltc26x7/test.conf @@ -0,0 +1,22 @@ +test ltc2607_write_dac + protocol-decoder i2c channel scl=0 channel sda=1 + protocol-decoder ltc26x7 + stack i2c ltc26x7 + input i2c/ltc2607/ltc2607_write_dac.sr + output ltc26x7 annotation match ltc2607_write_dac.output + +# Pretend that this is an LTC2617 to test those code paths. +test ltc2607_write_dac_test_ltc2617 + protocol-decoder i2c channel scl=0 channel sda=1 + protocol-decoder ltc26x7 option chip=ltc2617 + stack i2c ltc26x7 + input i2c/ltc2607/ltc2607_write_dac.sr + output ltc26x7 annotation match ltc2607_write_dac_test_ltc2617.output + +# Pretend that this is an LTC2627 to test those code paths. +test ltc2607_write_dac_test_ltc2627 + protocol-decoder i2c channel scl=0 channel sda=1 + protocol-decoder ltc26x7 option chip=ltc2627 + stack i2c ltc26x7 + input i2c/ltc2607/ltc2607_write_dac.sr + output ltc26x7 annotation match ltc2607_write_dac_test_ltc2627.output |