diff options
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 |