/* DCMI MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_DCMI_MspDeInit(DCMI_HandleTypeDef *hdcmi)
/* DCMI MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_DCMI_MspDeInit(DCMI_HandleTypeDef *hdcmi)
{
  if(hdcmi->Instance==DCMI)
  {
    __HAL_RCC_DCMI_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOH, DCMI_D4_Pin|DCMI_D3_Pin|DCMI_D0_Pin|DCMI_PIXCK_Pin
                          |DCMI_D1_Pin|DCMI_D2_Pin|DCMI_HSYNC_Pin);
    HAL_GPIO_DeInit(GPIOI, DCMI_D7_Pin|DCMI_D5_Pin|DCMI_VSYNC_Pin);
    HAL_GPIO_DeInit(DCMI_D6_GPIO_Port, DCMI_D6_Pin);
  }
}