/* Configure pins as Analog Input Output EVENT_OUT EXTI  */
void MY_ADC_Init(void)
/* Configure pins as Analog Input Output EVENT_OUT EXTI  */
void MY_ADC_Init(void)
{
	hadc.Instance = ADC;
	hadc.Init.channel = ADC_CHANNEL_0;
	hadc.Init.freq = 1000;
	if (HAL_ADC_Init(&hadc) != HAL_OK)
	{
		Error_Handler();
	}
}