Analog-to-digital converter (ADC)
configuration information for All ADCs peripherals.
3.2.9.7 ADC_CommonStructInit
void ADC_CommonStructInit ( ADC_CommonInitTypeDef *
ADC_CommonInitStruct)
Fills each ADC_CommonInitStruct member with its default value.
ï‚· ADC_CommonInitStruct : pointer to an
ADC_CommonInitTypeDef structure which will be initialized.
3.2.9.8 ADC_Cmd
void ADC_Cmd ( ADC_TypeDef * ADCx, FunctionalState
NewState)
Enables or disables the specified ADC peripheral.
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· NewState : new state of the ADCx peripheral. This
parameter can be: ENABLE or DISABLE.