/* QSPI MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_QSPI_MspDeInit(QSPI_HandleTypeDef *hqspi)
/* QSPI MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_QSPI_MspDeInit(QSPI_HandleTypeDef *hqspi)
{
  if(hqspi->Instance==QUADSPI)
  {
    __HAL_RCC_QSPI_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOB, QSPI_BK1_NCS_Pin|QSPI_BK1_IO1_Pin|QSPI_BK1_IO0_Pin);
    HAL_GPIO_DeInit(GPIOA, QSPI_BK1_IO2_Pin|QSPI_CLK_Pin|QSPI_BK1_IO3_Pin);
  }
}