This file contains the LCD Configuration.
More...
|
void | LCD_LL_DrawBitmap16bpp (int LayerIndex, int x, int y, U16 const *p, int xSize, int ySize, int BytesPerLine) |
| Draw 16bpp bitmap file. More...
|
|
void | LCD_LL_DrawBitmap32bpp (int LayerIndex, int x, int y, U8 const *p, int xSize, int ySize, int BytesPerLine) |
|
void | DSI_IO_WriteCmd (uint32_t NbrParams, uint8_t *pParams) |
| DCS or Generic short/long write command. More...
|
|
void | HAL_LTDC_LineEvenCallback (LTDC_HandleTypeDef *hltdc_eval) |
| Line Event callback. More...
|
|
void | LCD_X_Config (void) |
| Called during the initialization process in order to set up the display driver configuration. More...
|
|
int | LCD_X_DisplayDriver (unsigned LayerIndex, unsigned Cmd, void *pData) |
| This function is called by the display driver for several purposes. To support the according task the routine needs to be adapted to the display controller. Please note that the commands marked with 'optional' are not cogently required and should only be adapted if the display controller supports these features. More...
|
|
This file contains the LCD Configuration.
#define LCD_LAYER0_FRAME_BUFFER ((int)0xC0400000) |
#define LCD_LAYER1_FRAME_BUFFER ((int)0xC0800000) |
#define NUM_BUFFERS 3 /* Number of multiple buffers to be used */ |
#define NUM_VSCREENS 1 /* Number of virtual screens to be used */ |
void DSI_IO_WriteCmd |
( |
uint32_t |
NbrParams, |
|
|
uint8_t * |
pParams |
|
) |
| |
DCS or Generic short/long write command.
- Parameters
-
NbParams | Number of parameters. It indicates the write command mode: If inferior to 2, a long write command is performed else short. |
pParams | Pointer to parameter values table. |
- Return values
-
Definition at line 176 of file LCDConf.c.
void HAL_LTDC_LineEvenCallback |
( |
LTDC_HandleTypeDef * |
hltdc_eval | ) |
|
Line Event callback.
- Parameters
-
hltdc_eval | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the specified LTDC. |
- Return values
-
Definition at line 738 of file LCDConf.c.
void LCD_LL_DrawBitmap16bpp |
( |
int |
LayerIndex, |
|
|
int |
x, |
|
|
int |
y, |
|
|
U16 const * |
p, |
|
|
int |
xSize, |
|
|
int |
ySize, |
|
|
int |
BytesPerLine |
|
) |
| |
Draw 16bpp bitmap file.
- Parameters
-
LayerIndex | Layer Index |
x | X position |
y | Y position |
p | pointer to destination address |
xSize | X size |
ySize | Y size |
BytesPerLine | |
- Return values
-
Definition at line 683 of file LCDConf.c.
void LCD_LL_DrawBitmap32bpp |
( |
int |
LayerIndex, |
|
|
int |
x, |
|
|
int |
y, |
|
|
U8 const * |
p, |
|
|
int |
xSize, |
|
|
int |
ySize, |
|
|
int |
BytesPerLine |
|
) |
| |
void LCD_X_Config |
( |
void |
| ) |
|
Called during the initialization process in order to set up the display driver configuration.
- Parameters
-
- Return values
-
Definition at line 772 of file LCDConf.c.
int LCD_X_DisplayDriver |
( |
unsigned |
LayerIndex, |
|
|
unsigned |
Cmd, |
|
|
void * |
pData |
|
) |
| |
This function is called by the display driver for several purposes. To support the according task the routine needs to be adapted to the display controller. Please note that the commands marked with 'optional' are not cogently required and should only be adapted if the display controller supports these features.
- Parameters
-
LayerIndex | Index of layer to be configured |
Cmd | :Please refer to the details in the switch statement below |
pData | :Pointer to a LCD_X_DATA structure |
- Return values
-
Status | (-1 : Error, 0 : Ok) |
Definition at line 857 of file LCDConf.c.
DSI_HandleTypeDef hdsi_eval |
DSI_VidCfgTypeDef hdsivideo_handle |
LTDC_HandleTypeDef hltdc_eval |