/* Fills each init_struct member with its default value.  */
void ADC_StructInit(ADC_InitTypeDef *init_struct)
/* Fills each init_struct member with its default value.  */
void ADC_StructInit(ADC_InitTypeDef *init_struct)
{
    init_struct->ADC_Resolution         = ADC_Resolution_12b;
    init_struct->ADC_PRESCARE           = ADC_PCLK2_PRESCARE_2;
    init_struct->ADC_Mode               = ADC_CR_IMM;
    init_struct->ADC_ContinuousConvMode = DISABLE;
    init_struct->ADC_ExternalTrigConv   = ADC1_ExternalTrigConv_T1_CC1;
    init_struct->ADC_DataAlign          = ADC_DataAlign_Right;
}