summaryrefslogtreecommitdiff
path: root/decoder/test/i2c/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-04-17 20:09:07 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-17 20:09:07 +0200
commitc68e96bc26222b03395853a2a5eda3e5949eb0c9 (patch)
tree4e03e5adbfd043b44b22abf9cb7467e9631657e2 /decoder/test/i2c/test.conf
parenta6dd266ddca4e1ea937bb8bdda971006e1b3b7fc (diff)
downloadsigrok-test-c68e96bc26222b03395853a2a5eda3e5949eb0c9.tar.gz
sigrok-test-c68e96bc26222b03395853a2a5eda3e5949eb0c9.zip
i2c: Add ROHM BH1750VFI test-cases.
Diffstat (limited to 'decoder/test/i2c/test.conf')
-rw-r--r--decoder/test/i2c/test.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf
index e4acf83..bf8249b 100644
--- a/decoder/test/i2c/test.conf
+++ b/decoder/test/i2c/test.conf
@@ -68,3 +68,23 @@ test sensirion_sht31_25rh_28rh
output i2c binary class data-write match sensirion_sht31_25rh_28rh.bin_data_write
output i2c binary class address-read match sensirion_sht31_25rh_28rh.bin_address_read
output i2c binary class address-write match sensirion_sht31_25rh_28rh.bin_address_write
+
+test bh1750_hresolutionmode
+ protocol-decoder i2c channel scl=0 channel sda=1
+ input i2c/rohm_bh1750/bh1750_hresolutionmode.sr
+ output i2c annotation match bh1750_hresolutionmode.output
+ output i2c python match bh1750_hresolutionmode.python
+ output i2c binary class data-read match bh1750_hresolutionmode.bin_data_read
+ output i2c binary class data-write match bh1750_hresolutionmode.bin_data_write
+ output i2c binary class address-read match bh1750_hresolutionmode.bin_address_read
+ output i2c binary class address-write match bh1750_hresolutionmode.bin_address_write
+
+test bh1750_h2resolutionmode
+ protocol-decoder i2c channel scl=0 channel sda=1
+ input i2c/rohm_bh1750/bh1750_h2resolutionmode.sr
+ output i2c annotation match bh1750_h2resolutionmode.output
+ output i2c python match bh1750_h2resolutionmode.python
+ output i2c binary class data-read match bh1750_h2resolutionmode.bin_data_read
+ output i2c binary class data-write match bh1750_h2resolutionmode.bin_data_write
+ output i2c binary class address-read match bh1750_h2resolutionmode.bin_address_read
+ output i2c binary class address-write match bh1750_h2resolutionmode.bin_address_write