53 #define d4dlcdhw_spi_swc_8b_ID 1
58 #if (D4D_MK_STR(D4D_LLD_LCD_HW) == d4dlcdhw_spi_swc_8b_ID)
66 #if D4D_COLOR_SYSTEM != D4D_COLOR_SYSTEM_RGB565
67 #error The eGUI low level driver "d4dlcdhw_spi_swc_8b" not supported selected type of D4D_COLOR_SYSTEM. To run this driver just select D4D_COLOR_SYSTEM_RGB565.
73 static unsigned char D4DLCDHW_Init_Spi_Swc_8b(
void);
74 static unsigned char D4DLCDHW_DeInit_Spi_Swc_8b(
void);
75 static void D4DLCDHW_SendDataWord_Spi_Swc_8b(
unsigned short value);
76 static void D4DLCDHW_SendCmdWord_Spi_Swc_8b(
unsigned short cmd);
77 static unsigned short D4DLCDHW_ReadDataWord_Spi_Swc_8b(
void);
78 static unsigned short D4DLCDHW_ReadCmdWord_Spi_Swc_8b(
void);
93 D4DLCDHW_Init_Spi_Swc_8b,
94 D4DLCDHW_SendDataWord_Spi_Swc_8b,
95 D4DLCDHW_SendCmdWord_Spi_Swc_8b,
96 D4DLCDHW_ReadDataWord_Spi_Swc_8b,
97 D4DLCDHW_ReadCmdWord_Spi_Swc_8b,
98 D4DLCDHW_PinCtl_Spi_Swc_8b,
99 D4DLCD_FlushBuffer_Spi_Swc_8b,
100 D4DLCDHW_DeInit_Spi_Swc_8b
125 static unsigned char D4DLCDHW_Init_Spi_Swc_8b(
void)
127 #ifdef D4DLCD_DISPLAY_MCU_USER_INIT
128 D4DLCD_DISPLAY_MCU_USER_INIT
158 static unsigned char D4DLCDHW_DeInit_Spi_Swc_8b(
void)
172 static void D4DLCDHW_SendDataWord_Spi_Swc_8b(
unsigned short value)
184 D4DLCD_SPID = (
unsigned char) ((value >> 8) & 0xff);
215 static void D4DLCDHW_SendCmdWord_Spi_Swc_8b(
unsigned short cmd)
261 static unsigned short D4DLCDHW_ReadDataWord_Spi_Swc_8b(
void)
276 static unsigned short D4DLCDHW_ReadCmdWord_Spi_Swc_8b(
void)
304 D4DLCD_DEASSERT_RESET
315 #ifdef D4DLCD_BACKLIGHT
321 INPUT(D4DLCD_BACKLIGHT);
324 D4DLCD_DEASSERT_BACKLIGHT
327 D4DLCD_ASSERT_BACKLIGHT;
353 #endif //(D4D_MK_STR(D4D_LLD_LCD_HW) == d4dlcdhw_spi_swc_8b_ID)
D4D low level standard LCD Hardware interface API structure.
D4D Driver main header file.
D4DHW_PIN_STATE
D4D low level MCU pin state enumeration type.
D4DLCD_FLUSH_MODE
D4D low level eGUI flush screen types enumeration.
D4D Driver private header file.
D4DLCDHW_PINS
D4D low level MCU types definition for general LCD screen control signals.
D4D driver SPI_SWC_8B hardware level LCD header file.
Switch pin to input mode (equivalent to high-Z)
#define D4DLCD_SPIS_SPTEF
Switch pin to output mode.
Set pin output register to logic 1.
LCD device backlight enable signal.
#define D4D_UNUSED(x)
Macro used just for notify compiler that the input parameter is not used.
Set pin output register to logic 0.
D4D driver - resistive touch screen driver function header file.