timing: add tests for noaverage/edge/delta modes
[sigrok-test.git] / decoder / test / timing / test.conf
1 test am2301_1mhz_avg100
2         protocol-decoder timing channel data=5 option avg_period=100
3         input am230x/am2301/am2301_1mhz.sr
4         output timing annotation match am2301_1mhz_avg100.output
5
6 test am2301_1mhz_avg4
7         protocol-decoder timing channel data=5 option avg_period=4
8         input am230x/am2301/am2301_1mhz.sr
9         output timing annotation match am2301_1mhz_avg4.output
10
11 test am2301_1mhz_noavg_rising_delta
12         protocol-decoder timing channel data=5 option avg_period=0 option edge=rising option delta=yes
13         input am230x/am2301/am2301_1mhz.sr
14         output timing annotation match am2301_1mhz_noavg_rising_delta.output