STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Modules | Macros | Functions | Variables
CONFIGURATION

This file contains the LCD Configuration. More...

Modules

 LCD_Exported_Types
 

Macros

#define LCD_SWAP_XY   1
 
#define LCD_MIRROR_Y   1
 
#define XSIZE_PHYS   800
 
#define YSIZE_PHYS   480
 
#define NUM_BUFFERS   3 /* Number of multiple buffers to be used */
 
#define NUM_VSCREENS   1 /* Number of virtual screens to be used */
 
#define BK_COLOR   GUI_DARKBLUE
 
#define GUI_NUM_LAYERS   2
 
#define COLOR_CONVERSION_0   GUICC_M565
 
#define DISPLAY_DRIVER_0   GUIDRV_LIN_16
 
#define COLOR_CONVERSION_1   GUICC_M1555I
 
#define DISPLAY_DRIVER_1   GUIDRV_LIN_16
 
#define LCD_LAYER0_FRAME_BUFFER   ((int)0xC0400000)
 
#define LCD_LAYER1_FRAME_BUFFER   ((int)0xC0800000)
 

Functions

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...
 

Variables

LTDC_HandleTypeDef hltdc_eval
 
DSI_HandleTypeDef hdsi_eval
 
DSI_VidCfgTypeDef hdsivideo_handle
 
LCD_LayerPropTypedef layer_prop [GUI_NUM_LAYERS]
 

Detailed Description

This file contains the LCD Configuration.

Macro Definition Documentation

#define BK_COLOR   GUI_DARKBLUE

Definition at line 86 of file LCDConf.c.

#define COLOR_CONVERSION_0   GUICC_M565

Definition at line 91 of file LCDConf.c.

#define COLOR_CONVERSION_1   GUICC_M1555I

Definition at line 96 of file LCDConf.c.

#define DISPLAY_DRIVER_0   GUIDRV_LIN_16

Definition at line 92 of file LCDConf.c.

#define DISPLAY_DRIVER_1   GUIDRV_LIN_16

Definition at line 97 of file LCDConf.c.

#define GUI_NUM_LAYERS   2

Definition at line 89 of file LCDConf.c.

#define LCD_LAYER0_FRAME_BUFFER   ((int)0xC0400000)

Definition at line 120 of file LCDConf.c.

#define LCD_LAYER1_FRAME_BUFFER   ((int)0xC0800000)

Definition at line 121 of file LCDConf.c.

#define LCD_MIRROR_Y   1

Definition at line 78 of file LCDConf.c.

#define LCD_SWAP_XY   1

Definition at line 77 of file LCDConf.c.

#define NUM_BUFFERS   3 /* Number of multiple buffers to be used */

Definition at line 83 of file LCDConf.c.

#define NUM_VSCREENS   1 /* Number of virtual screens to be used */

Definition at line 84 of file LCDConf.c.

#define XSIZE_PHYS   800

Definition at line 80 of file LCDConf.c.

#define YSIZE_PHYS   480

Definition at line 81 of file LCDConf.c.

Function Documentation

void DSI_IO_WriteCmd ( uint32_t  NbrParams,
uint8_t *  pParams 
)

DCS or Generic short/long write command.

Parameters
NbParamsNumber of parameters. It indicates the write command mode: If inferior to 2, a long write command is performed else short.
pParamsPointer to parameter values table.
Return values
HALstatus

Definition at line 176 of file LCDConf.c.

void HAL_LTDC_LineEvenCallback ( LTDC_HandleTypeDef *  hltdc_eval)

Line Event callback.

Parameters
hltdc_evalpointer to a LTDC_HandleTypeDef structure that contains the configuration information for the specified LTDC.
Return values
None

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
LayerIndexLayer Index
xX position
yY position
ppointer to destination address
xSizeX size
ySizeY size
BytesPerLine
Return values
None

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 
)

Definition at line 695 of file LCDConf.c.

void LCD_X_Config ( void  )

Called during the initialization process in order to set up the display driver configuration.

Parameters
None
Return values
None

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
LayerIndexIndex 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.

Variable Documentation

DSI_HandleTypeDef hdsi_eval

Definition at line 68 of file LCDConf.c.

DSI_VidCfgTypeDef hdsivideo_handle

Definition at line 69 of file LCDConf.c.

LTDC_HandleTypeDef hltdc_eval

Definition at line 67 of file LCDConf.c.

Definition at line 135 of file LCDConf.c.