nRF52840 board based and SAADC double buffering

Hi all,
I would like to attach this thread to the very nice one at this link:

I'm working with a XIAO nRF52840 sense board with MbedOS libraries version and it is not possible use nrfx driver due to the MbedOS was not compiled activating some timer define inside the sdk_config.h file so one option is recompile the MbedOS core with this option activated or use directly the nRF52840 registers.

Following this last way I've found the above linked post, very useful to perform continuos sampling but I've some doubt about how to implement the double buffering behavior or at least is not so clear to me if this is already implemented into the examples at the link above or if, as seems to me, implement the continuos sampling and writing in a provided buffers but without use the double buffer way...

Someone have a chance to check about? If my suspect is right is a way to implement the double buffering behaviour by means of the SAADC registers?

BR

Hi all,
here below a link related to a possible solution of the above question.

https://forum.seeedstudio.com/t/xiao-with-ds18b20-sensor/265458/29?u=fire_fox

BR