rgm=1,0,1 enable d0 RISING
1660
0
1,1
A
clk=1,1,0 external d1 FALLING
1
trg=1,1,1 external d1 RISING
