/* ETH MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_ETH_MspDeInit(ETH_HandleTypeDef *heth)
/* ETH MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_ETH_MspDeInit(ETH_HandleTypeDef *heth)
{
  if(heth->Instance==ETH)
  {
    __HAL_RCC_ETH_CLK_DISABLE();
    __HAL_RCC_ETHTX_CLK_DISABLE();
    __HAL_RCC_ETHRX_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOC, RMII_MDC_Pin|RMII_RXD0_Pin|RMII_RXD1_Pin);
    HAL_GPIO_DeInit(GPIOA, RMII_REF_CLK_Pin|RMII_MDIO_Pin|RMII_CRS_DV_Pin);
    HAL_GPIO_DeInit(RMII_TXD1_GPIO_Port, RMII_TXD1_Pin);
    HAL_GPIO_DeInit(GPIOG, RMII_TXT_EN_Pin|RMI_TXD0_Pin);
  }
}