#define LCD_ST7789S_SERIAL
#define SET_LCD_INFO_SERIAL
#define Check_ID_Test
#if (defined(MT6260)||defined(MT6250))
#define COMBO_LCM_ID_AUTO_DETECT
#endif
//#define LCD_CMD_DMA_MODE
#if (defined(MT6256)||defined(MT6255)||defined(MT6250)||defined(MT6260))
#undef LCD_CMD_DMA_MODE
#endif
#define LCD_DUMMYADDR 0x90000000
#define ATA_LCM_TEST_BY_READ_GRAM
/*============================LCD_SERIAL =============================*/
#if (defined(SET_LCD_INFO_SERIAL))
#define __SERIAL_LCM__
#define MAIN_LCD_CMD_ADDR LCD_SERIAL0_A0_LOW_ADDR
#define MAIN_LCD_DATA_ADDR LCD_SERIAL0_A0_HIGH_ADDR
//++++++++++++++++++++LCD_ST7789S_SERIAL++++++++++++++++++++++++++
#ifdef LCD_ST7789S_SERIAL
#define SERIAL_LCM_2_DATA_LINE_PROTOCOL
#define SERIAL_LCM_3WIRE_2_DATA_LANE
#if defined(SERIAL_LCM_2_DATA_LINE_PROTOCOL)
#define MAIN_LCD_OUTPUT_FORMAT LCM_18BIT_18_BPP_RGB666_1
#define MAIN_LCD_18BIT_MODE
#else
#define MAIN_LCD_OUTPUT_FORMAT LCM_8BIT_16_BPP_RGB565_1
#define MAIN_LCD_8BIT_MODE
#endif
//*****************************************************************************
typedef struct
{
kal_bool (* Check_LCM_ID)(void);
void (* init_lcd_interface)(void);
void (* LCD_FunConfig)(void);
} LCM_DRIVER;
extern kal_uint32 MAIN_LCM_MAX_NUM ;
/*****************************************************************************/
#ifdef DUAL_LCD
// define sub supported combo lcm ID
typedef enum
{
SUB_EXAMPLE_LCM_A = 0,
SUB_EXAMPLE_LCM_B = 1,
SUB_EXAMPLE_LCM_C = 2,
SUB_LCM_MAX_NUM //please add sub lcd ID above this item, this "SUB_LCM_MAX_NUM" will be used as the number of LCMs.
} sub_lcm_enum; //notice, the enum value should not be conflict with main lcd enum.
#endif
#ifdef COMBO_LCM_ID_AUTO_DETECT
kal_uint32 LCM_ID_Get(void);
#endif