]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/ds1307/test.conf
ds1307: Add an additional test-case.
[sigrok-test.git] / decoder / test / ds1307 / test.conf
index 8bf06501a9e3a9797c58a4340a25ad0146548e3a..303746799258350e6898f31c69bfb4b90b5efef3 100644 (file)
@@ -1,6 +1,13 @@
 test rtc_ds1307_200khz
-       protocol-decoder i2c channel scl=0 channel sda=1
+       protocol-decoder i2c channel scl=0 channel sda=1 initial_pin scl=1 initial_pin sda=1
        protocol-decoder ds1307
        stack i2c ds1307
        input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz.sr
        output ds1307 annotation match rtc_ds1307_200khz.output
+
+test rtc_ds1307_500khz_sqw32khz_mode12h_pm
+       protocol-decoder i2c channel scl=0 channel sda=1 initial_pin scl=1 initial_pin sda=1
+       protocol-decoder ds1307
+       stack i2c ds1307
+       input i2c/rtc_dallas_ds1307/rtc_ds1307_500khz_sqw32khz_mode12h_pm.sr
+       output ds1307 annotation match rtc_ds1307_500khz_sqw32khz_mode12h_pm.output