/* Initialize the BSP LCD Msp. Application surcharge to reduce DSI, DMA2D and LTDC interrupts priorities.  */
void BSP_LCD_MspInit(void)
/* Initialize the BSP LCD Msp. Application surcharge to reduce DSI, DMA2D and LTDC interrupts priorities.  */
void BSP_LCD_MspInit(void)
{
  __HAL_RCC_LTDC_CLK_ENABLE();
  __HAL_RCC_LTDC_FORCE_RESET();
  __HAL_RCC_LTDC_RELEASE_RESET();
  __HAL_RCC_DMA2D_CLK_ENABLE();
  __HAL_RCC_DMA2D_FORCE_RESET();
  __HAL_RCC_DMA2D_RELEASE_RESET();
  __HAL_RCC_DSI_CLK_ENABLE();
  __HAL_RCC_DSI_FORCE_RESET();
  __HAL_RCC_DSI_RELEASE_RESET();
  HAL_NVIC_SetPriority(LTDC_IRQn, 7, 0);
  HAL_NVIC_EnableIRQ(LTDC_IRQn);
  HAL_NVIC_SetPriority(DMA2D_IRQn, 7, 0);
  HAL_NVIC_EnableIRQ(DMA2D_IRQn);
  HAL_NVIC_SetPriority(DSI_IRQn, 7, 0);
  HAL_NVIC_EnableIRQ(DSI_IRQn);
}