LCD_ADC_Speed_Test/ADF4351DEMO/emWin/STemWinLibrary522/Config/LCDConf_FlexColor_Template.c
void LCD_X_Config(void) {
  GUI_DEVICE * pDevice;
  CONFIG_FLEXCOLOR Config = {0};
  GUI_PORT_API PortAPI = {0};
  //
  // Set display driver and color conversion
  //
  pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_565, 0, 0);
  //
  // Display driver configuration, required for Lin-driver
  //
  LCD_SetSizeEx (0, XSIZE_PHYS , YSIZE_PHYS);
  LCD_SetVSizeEx(0, VXSIZE_PHYS, VYSIZE_PHYS);
  //
  // Orientation
  //
  Config.Orientation = GUI_SWAP_XY | GUI_MIRROR_Y;
  GUIDRV_FlexColor_Config(pDevice, &Config);
  //
  // Set controller and operation mode
  //
  PortAPI.pfWrite16_A0  = LcdWriteReg;
  PortAPI.pfWrite16_A1  = LcdWriteData;
  PortAPI.pfWriteM16_A1 = LcdWriteDataMultiple;
  PortAPI.pfReadM16_A1  = LcdReadDataMultiple;
  //GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66708, GUIDRV_FLEXCOLOR_M16C0B16);
	GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C0B16);
}
/*********************************************************************
*
*       LCD_X_Config
*
* Function description:
*   Called during the initialization process in order to set up the
*   display driver configuration.
*
*/
LCD_X_Config
Function description:
Called during the initialization process in order to set up the
display driver configuration.
LCD_X_Config Function description : Called during the initialization process in order to set up the display driver configuration .
void LCD_X_Config(void) {
  GUI_DEVICE * pDevice;
  CONFIG_FLEXCOLOR Config = {0};
  GUI_PORT_API PortAPI = {0};
  pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_565, 0, 0);
  LCD_SetSizeEx (0, XSIZE_PHYS , YSIZE_PHYS);
  LCD_SetVSizeEx(0, VXSIZE_PHYS, VYSIZE_PHYS);
  Config.Orientation = GUI_SWAP_XY | GUI_MIRROR_Y;
  GUIDRV_FlexColor_Config(pDevice, &Config);
  PortAPI.pfWrite16_A0  = LcdWriteReg;
  PortAPI.pfWrite16_A1  = LcdWriteData;
  PortAPI.pfWriteM16_A1 = LcdWriteDataMultiple;
  PortAPI.pfReadM16_A1  = LcdReadDataMultiple;
	GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C0B16);
}
void LCD_X_Config ( void ) { GUI_DEVICE * pDevice ; CONFIG_FLEXCOLOR Config = { 0 } ; GUI_PORT_API PortAPI = { 0 } ; pDevice = GUI_DEVICE_CreateAndLink ( GUIDRV_FLEXCOLOR , GUICC_565 , 0 , 0 ) ; LCD_SetSizeEx ( 0 , XSIZE_PHYS , YSIZE_PHYS ) ; LCD_SetVSizeEx ( 0 , VXSIZE_PHYS , VYSIZE_PHYS ) ; Config . Orientation = GUI_SWAP_XY | GUI_MIRROR_Y ; GUIDRV_FlexColor_Config ( pDevice , & Config ) ; PortAPI . pfWrite16_A0 = LcdWriteReg ; PortAPI . pfWrite16_A1 = LcdWriteData ; PortAPI . pfWriteM16_A1 = LcdWriteDataMultiple ; PortAPI . pfReadM16_A1 = LcdReadDataMultiple ; GUIDRV_FlexColor_SetFunc ( pDevice , & PortAPI , GUIDRV_FLEXCOLOR_F66709 , GUIDRV_FLEXCOLOR_M16C0B16 ) ; }
LCD_X_Config
Function description:
Called during the initialization process in order to set up the
display driver configuration.
LCD_X_Config Function description : Called during the initialization process in order to set up the display driver configuration .
//
 // Set display driver and color conversion
 //
 //
 // Display driver configuration, required for Lin-driver
 //
 //
 // Orientation
 //
 //
 // Set controller and operation mode
 //
 //GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66708, GUIDRV_FLEXCOLOR_M16C0B16);
