2017-05-02 12:30 PM
how to figure out ADC1->DR contains which pin data at moment?
2017-05-02 12:50 PM
You don't. You DMA to a buffer which is some multiple of the pin count you are scanning, and then the array holds the data in the order you would anticipate.
Specify which STM32 part/family your question relates too, they make like 100's of different parts