i2c: add test for input stream without sample rate (identical decoder output)
[sigrok-test.git] / decoder / test / i2c / test.conf
1 test rtc
2         protocol-decoder i2c channel scl=0 channel sda=1 initial_pin scl=1 initial_pin sda=1
3         input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz.sr
4         output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output
5         output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output
6         output i2c annotation match rtc_ds1307_200khz.output
7         output i2c python match rtc_ds1307_200khz.python
8         output i2c binary class data-read match rtc_ds1307_200khz.bin_data_read
9         output i2c binary class data-write match rtc_ds1307_200khz.bin_data_write
10         output i2c binary class address-read match rtc_ds1307_200khz.bin_address_read
11         output i2c binary class address-write match rtc_ds1307_200khz.bin_address_write
12
13 test rtc_no_samplerate
14         protocol-decoder i2c channel scl=0 channel sda=1 initial_pin scl=1 initial_pin sda=1
15         input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz_no_samplerate.sr
16         output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output
17         output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output
18         output i2c annotation match rtc_ds1307_200khz.output
19         output i2c python match rtc_ds1307_200khz.python
20         output i2c binary class data-read match rtc_ds1307_200khz.bin_data_read
21         output i2c binary class data-write match rtc_ds1307_200khz.bin_data_write
22         output i2c binary class address-read match rtc_ds1307_200khz.bin_address_read
23         output i2c binary class address-write match rtc_ds1307_200khz.bin_address_write
24
25 test motherboard
26         protocol-decoder i2c channel scl=0 channel sda=3
27         input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr
28         output i2c annotation match gigabyte_6vle_vxl_i2c.output
29         output i2c python match gigabyte_6vle_vxl_i2c.python
30         output i2c binary class data-read match gigabyte_6vle_vxl_i2c.bin_data_read
31         output i2c binary class data-write match gigabyte_6vle_vxl_i2c.bin_data_write
32         output i2c binary class address-read match gigabyte_6vle_vxl_i2c.bin_address_read
33         output i2c binary class address-write match gigabyte_6vle_vxl_i2c.bin_address_write
34
35 test xfp
36         protocol-decoder i2c channel scl=0 channel sda=1
37         input i2c/network-transceivers/xfp.sr
38         output i2c python match xfp.python
39         output i2c binary class data-read match xfp.bin_data_read
40         output i2c binary class data-write match xfp.bin_data_write
41         output i2c binary class address-read match xfp.bin_address_read
42         output i2c binary class address-write match xfp.bin_address_write
43
44 test wii_nunchuk_init
45         protocol-decoder i2c channel scl=0 channel sda=1
46         input i2c/wii_nunchuk/wii_nunchuk_init.sr
47         output i2c annotation match wii_nunchuk_init.output
48         output i2c python match wii_nunchuk_init.python
49         output i2c binary class data-write match wii_nunchuk_init.bin_data_write
50         output i2c binary class address-write match wii_nunchuk_init.bin_address_write
51
52 test sensirion_sht21_humidity35
53         protocol-decoder i2c channel scl=2 channel sda=1
54         input i2c/sensirion_sht2x/sensirion_sht21_humidity35.sr
55         output i2c annotation match sensirion_sht21_humidity35.output
56         output i2c python match sensirion_sht21_humidity35.python
57         output i2c binary class data-read match sensirion_sht21_humidity35.bin_data_read
58         output i2c binary class data-write match sensirion_sht21_humidity35.bin_data_write
59         output i2c binary class address-read match sensirion_sht21_humidity35.bin_address_read
60         output i2c binary class address-write match sensirion_sht21_humidity35.bin_address_write
61
62 test sensirion_sht31_25rh_28rh
63         protocol-decoder i2c channel scl=2 channel sda=1
64         input i2c/sensirion_sht3x/sensirion_sht31_25rh_28rh.sr
65         output i2c annotation match sensirion_sht31_25rh_28rh.output
66         output i2c python match sensirion_sht31_25rh_28rh.python
67         output i2c binary class data-read match sensirion_sht31_25rh_28rh.bin_data_read
68         output i2c binary class data-write match sensirion_sht31_25rh_28rh.bin_data_write
69         output i2c binary class address-read match sensirion_sht31_25rh_28rh.bin_address_read
70         output i2c binary class address-write match sensirion_sht31_25rh_28rh.bin_address_write