/* I2C MSP De-Initialization This function frees the hardware resources used in this example:  */
void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c)
/* I2C MSP De-Initialization This function frees the hardware resources used in this example:  */
void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c)
{
  I2Cx_FORCE_RESET();
  I2Cx_RELEASE_RESET();
  HAL_GPIO_DeInit(I2Cx_SCL_GPIO_PORT, I2Cx_SCL_PIN);
  HAL_GPIO_DeInit(I2Cx_SDA_GPIO_PORT, I2Cx_SDA_PIN);
}