/* Configure pins as Analog Input Output EVENT_OUT EXTI  */
void TIM0_Init(void)
/* Configure pins as Analog Input Output EVENT_OUT EXTI  */
void TIM0_Init(void)
{
	htim0.Instance = TIM0;
	htim0.Init.Unit = TIM_UNIT_US;
	htim0.Init.Period = 1000000;
	htim0.Init.AutoReload = TIM_AUTORELOAD_PRELOAD_ENABLE;
	if (HAL_TIM_Base_Init(&htim0) != HAL_OK)
	{
		Error_Handler();
	}
}