/* Disable/Enable LTDC activity as in DSI Video mode the LTDC is all the time in active window pumping data with its DMA, it creates a huge bandwidth consumption that can penalize other IPs, here the save to SD functionality.  */
static void LTDC_Operation(uint32_t Enable_LTDC)
/* Disable/Enable LTDC activity as in DSI Video mode the LTDC is all the time in active window pumping data with its DMA, it creates a huge bandwidth consumption that can penalize other IPs, here the save to SD functionality.  */
static void LTDC_Operation(uint32_t Enable_LTDC)
{
  DSI->WCR &= ~(DSI_WCR_DSIEN);
  if(Enable_LTDC == 1)
  {
    __HAL_LTDC_ENABLE(&hltdc_eval);
  }
  else if (Enable_LTDC == 0)
  {
    __HAL_LTDC_DISABLE(&hltdc_eval);
  }
 DSI->WCR |= DSI_WCR_DSIEN;
}