Hello Vadim,
Can you please give me example, does MODDMA implement DMA?
Yes, the MODDMA library implements DMA and you can use it to transfer data from ADC to other peripheral or to RAM. However, it supports only the LPC1768 target. You can find an Mbed OS 6 version along with an example here. But I’m afraid that if you’d like to use DMA and ADC on STM targets you have to first create the base frame of your project with the STM32CubeIDE and set up ADC and DMA there. After that you can port it to Mbed and add more APIs. You can find an example here.
Best regards, Zoltan