/* Fills each ADC_InitStruct member with its default value.  */
void ADC_StructInit(ADC_InitType *ADC_InitStruct)
/* Fills each ADC_InitStruct member with its default value.  */
void ADC_StructInit(ADC_InitType *ADC_InitStruct)
{
  ADC_InitStruct->Mode = ADC_MODE_DC;
  ADC_InitStruct->ClockSource = ADC_CLKSRC_RCH;
  ADC_InitStruct->ClockFrq = ADC_CLKFRQ_HIGH;
  ADC_InitStruct->SkipSample = ADC_SKIP_0;
  ADC_InitStruct->AverageSample = ADC_AVERAGE_2;
  ADC_InitStruct->TriggerSource = ADC_TRIGSOURCE_OFF;
  ADC_InitStruct->Channel = ADC_CHANNEL_GND0;
  ADC_InitStruct->ResDivEnable = 0;
  ADC_InitStruct->AverageEnable = 0;
}