summaryrefslogtreecommitdiff
path: root/decoder/test/i2c/test.conf
blob: 8212194ed93124a37ee8f0fd0cd8fe26ee77243a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
test rtc
	protocol-decoder i2c channel scl=0 channel sda=1
	input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz.sr
	output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output
	output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output
	output i2c annotation match rtc_ds1307_200khz.output
	output i2c python match rtc_ds1307_200khz.python

test motherboard
	protocol-decoder i2c channel scl=0 channel sda=3
	input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr
	output i2c annotation match gigabyte_6vle_vxl_i2c.output
	output i2c python match gigabyte_6vle_vxl_i2c.python

test xfp
	protocol-decoder i2c channel scl=0 channel sda=1
	input i2c/network-transceivers/xfp.sr
	output i2c binary class data-read match xfp_data_read.binary
	output i2c binary class data-write match xfp_data_write.binary
	output i2c binary class address-read match xfp_address_read.binary
	output i2c binary class address-write match xfp_address_write.binary

test exception_samplerate
	protocol-decoder i2c
	input misc/no-samplerate.sr
	output i2c exception match SamplerateError