29 #include <oc_system_cfg.h> 31 #if CFG_BOOL_GUI_ENABLED 38 #define _________________________________________DRIVER_CONFIGURATIONS_SECTION______________________________________________________________ 40 #ifdef oC_LCDTFT_LLD_AVAILABLE 44 .ColorFormat = oC_ColorFormat_RGB565 ,
45 .ClockFrequency =
kHz( 9600 ) ,
46 .PixelClockPolarity = oC_LCDTFT_PixelClockPolarity_InputPixelClock ,
47 .HSyncPolarity = oC_LCDTFT_Polarity_ActiveLow ,
48 .VSyncPolarity = oC_LCDTFT_Polarity_ActiveLow ,
49 .DESyncPolarity = oC_LCDTFT_Polarity_ActiveLow ,
51 .TimingParameters.HSYNC.PulseWidth = 41 ,
52 .TimingParameters.VSYNC.PulseWidth = 2 ,
53 .TimingParameters.HSYNC.BackPorch = 26 ,
54 .TimingParameters.VSYNC.BackPorch = 20 ,
55 .TimingParameters.HSYNC.FrontPorch = 32 ,
56 .TimingParameters.VSYNC.FrontPorch = 2 ,
57 .Pins.R[0] = oC_Pin_LCDTFT_R0 ,
58 .Pins.R[1] = oC_Pin_LCDTFT_R1 ,
59 .Pins.R[2] = oC_Pin_LCDTFT_R2 ,
60 .Pins.R[3] = oC_Pin_LCDTFT_R3 ,
61 .Pins.R[4] = oC_Pin_LCDTFT_R4 ,
62 .Pins.R[5] = oC_Pin_LCDTFT_R5 ,
63 .Pins.R[6] = oC_Pin_LCDTFT_R6 ,
64 .Pins.R[7] = oC_Pin_LCDTFT_R7 ,
65 .Pins.G[0] = oC_Pin_LCDTFT_G0 ,
66 .Pins.G[1] = oC_Pin_LCDTFT_G1 ,
67 .Pins.G[2] = oC_Pin_LCDTFT_G2 ,
68 .Pins.G[3] = oC_Pin_LCDTFT_G3 ,
69 .Pins.G[4] = oC_Pin_LCDTFT_G4 ,
70 .Pins.G[5] = oC_Pin_LCDTFT_G5 ,
71 .Pins.G[6] = oC_Pin_LCDTFT_G6 ,
72 .Pins.G[7] = oC_Pin_LCDTFT_G7 ,
73 .Pins.B[0] = oC_Pin_LCDTFT_B0 ,
74 .Pins.B[1] = oC_Pin_LCDTFT_B1 ,
75 .Pins.B[2] = oC_Pin_LCDTFT_B2 ,
76 .Pins.B[3] = oC_Pin_LCDTFT_B3 ,
77 .Pins.B[4] = oC_Pin_LCDTFT_B4 ,
78 .Pins.B[5] = oC_Pin_LCDTFT_B5 ,
79 .Pins.B[6] = oC_Pin_LCDTFT_B6 ,
80 .Pins.B[7] = oC_Pin_LCDTFT_B7 ,
81 .Pins.VSYNC = oC_Pin_LCDTFT_VSYNC ,
82 .Pins.HSYNC = oC_Pin_LCDTFT_HSYNC ,
83 .Pins.DE = oC_Pin_LCDTFT_DE ,
84 .Pins.CLK = oC_Pin_LCDTFT_CLK ,
85 .Pins.BL_CTRL = oC_Pin_LCDTFT_BL_CTRL ,
86 .Pins.DISP = oC_Pin_LCDTFT_DISP ,
90 #undef _________________________________________DRIVER_CONFIGURATIONS_SECTION______________________________________________________________ 92 #ifdef oC_LCDTFT_LLD_AVAILABLE 101 #define CFG_SCREENS_LIST(ADD_SCREEN) \ 102 ADD_SCREEN(lcdtft , LCDTFT , lcdtft_config ) \ 105 #define CFG_SCREENS_LIST(ADD_SCREEN) 108 #define CFG_STRING_DEFAULT_SCREEN "lcdtft" The file with interface of the Screen Manager module.
#define kHz(Freq)
Number of kHz.
File with interface for the screen objects.
LCDTFT driver configuration structure.
#define NULL
pointer to a zero