/* USART MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_USART_MspDeInit(USART_HandleTypeDef *husart)
/* USART MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_USART_MspDeInit(USART_HandleTypeDef *husart)
{
  if(husart->Instance==USART1)
  {
    __HAL_RCC_USART1_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOA, GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10);
  }
}