]> sigrok.org Git - sigrok-test.git/blob - decoder/test/i2c/test.conf
i2c: Add an additional test-case.
[sigrok-test.git] / decoder / test / i2c / test.conf
1 test rtc
2         protocol-decoder i2c channel scl=0 channel 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
9 test motherboard
10         protocol-decoder i2c channel scl=0 channel sda=3
11         input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr
12         output i2c annotation match gigabyte_6vle_vxl_i2c.output
13         output i2c python match gigabyte_6vle_vxl_i2c.python
14
15 test xfp
16         protocol-decoder i2c channel scl=0 channel sda=1
17         input i2c/network-transceivers/xfp.sr
18         output i2c binary class data-read match xfp_data_read.binary
19         output i2c binary class data-write match xfp_data_write.binary
20         output i2c binary class address-read match xfp_address_read.binary
21         output i2c binary class address-write match xfp_address_write.binary
22
23 test wii_nunchuk_init
24         protocol-decoder i2c channel scl=0 channel sda=1
25         input i2c/wii_nunchuk/wii_nunchuk_init.sr
26         output i2c annotation match wii_nunchuk_init.output
27
28 test exception_samplerate
29         protocol-decoder i2c
30         input misc/no-samplerate.sr
31         output i2c exception match SamplerateError