/* UART MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_UART_MspDeInit(UART_HandleTypeDef *huart)
/* UART MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_UART_MspDeInit(UART_HandleTypeDef *huart)
{
  if(huart->Instance==UART4)
  {
    __HAL_RCC_UART4_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOI, GPIO_PIN_9);
    HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0);
  }
  else if(huart->Instance==USART3)
  {
    __HAL_RCC_USART3_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOB, GPIO_PIN_10|GPIO_PIN_11);
    HAL_GPIO_DeInit(GPIOD, GPIO_PIN_11|GPIO_PIN_12);
  }
}