summaryrefslogtreecommitdiff
path: root/decoder/test/ltc26x7/test.conf
blob: 27a0e48b617dc0172cbb8dd411b523c9fb624660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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