I generated a devicetree and initialized DEC_MODE to 3 on boot time.
I want to change DEC_MODE(decimation) on run-time.
I'm using iio-oscilloscope and I have ad6676 settings gui(attached) but I could not find anything about this issue.
Datasheet describes dec_modes but I could not find anything about how can I change it via libiio or gui.
It only says: 0x140 is dec_mode register. dec_modes are 12, 16, 24, 32...
I tried to change SPI Register 0x140 via iio-oscilloscope but It does not work.
Maybe I need to change some extra registers but I don't know