Does anybody have any experience in using exactly the same pin as an ADC input and a communication GPIO (out), as two alternating functions? Would it be possible to switch between them during operation? If so, can the GPIO drive the small capacitor (1 - 4.7 nF) that is typically needed for an SAR ADC? The communication speed can be slow (9600 or so).
Many thanks!