/* QSPI MSP Initialization This function configures the hardware resources used in this example:  */
void HAL_QSPI_MspInit(QSPI_HandleTypeDef *hqspi)
/* QSPI MSP Initialization This function configures the hardware resources used in this example:  */
void HAL_QSPI_MspInit(QSPI_HandleTypeDef *hqspi)
{
  GPIOF->AFR[1] = 0x000009AA;
  GPIOF->AFR[0] = 0x99000000;
  GPIOB->AFR[0] = 0x0A000000;
  GPIOF->MODER = 0x002AA000;
  GPIOB->MODER = 0x00002280;
  GPIOF->OSPEEDR = 0x003FF000;
  GPIOB->OSPEEDR = 0x000030C0;
  GPIOF->IDR = 0x000003C0;
  GPIOB->IDR = 0x000003D8;
  GPIOF->PUPDR = 0x00000000;
  GPIOB->PUPDR = 0x00001100;
}