/* I2S MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_I2S_MspDeInit(I2S_HandleTypeDef *hi2s)
/* I2S MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_I2S_MspDeInit(I2S_HandleTypeDef *hi2s)
{
  if(hi2s->Instance==SPI2)
  {
    __HAL_RCC_SPI2_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOB, GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_15);
    HAL_GPIO_DeInit(GPIOC, GPIO_PIN_6);
    HAL_GPIO_DeInit(GPIOI, GPIO_PIN_2);
  }
}