AnsweredAssumed Answered

how to use ADC in STM32f0

Question asked by victory.pandji on Aug 6, 2014
hello
i'm begineer in stm32f0 series and i'm from indonesia
i'm use coIDE to making code for stm32f0

i have reading example ADC Trigger in coIDE
what i want to ask is
  /* Configure ADC Channel11 as analog input */
  GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1 ; // how we knows is PC1 is adc channel 11? 
                                                 // so where another channel?
  GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AN;
  GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
  GPIO_Init(GPIOC, &GPIO_InitStructure);

and about reading ADC from single channel, how to make code to ouput data from that single channel
and how to calibrate voltage reference of the ADC?

help me please

Outcomes