AnsweredAssumed Answered

GPIO port on fly selection mechanism in stm32f4xx

Question asked by tag.aseok on Jun 5, 2015
Latest reply on Jun 5, 2015 by Clive One
Hello
If i want to connect output of an ADC(analog to digital converter) to two different ports, e.g. GPIOA and GPIOB, and to modify this selection by means of software code(no hardware modification needed), how is it possible?
Is it adequate to connect ADC output to all of the intended pins and choose desired channel by modification of GPIO pins mode(input/output)?
Thanks.
 

Outcomes