Question
STM32VLDISCOVERY - ADC: unexpected behavior
Posted on June 29, 2013 at 13:24
Is it possible to use ADC without configure GPIO for AIN?
For example, if the lines below are commented in the program, can ADC still work? // GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN; // GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; // GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; // GPIO_Init(GPIOC, &GPIO_InitStructure); at really, I put the pin with the mode IN_FLOATING and the ADC work normally.