STM32746G-Discovery board drivers V1.0.0

Dependents:   DISCO-F746NG_LCDTS_CC3000_NTP DISCO-F746NG_ROPE_WIFI F746_SpectralAnalysis_NoPhoto ecte433 ... more

Embed: (wiki syntax)

« Back to documentation index

<title>STM32746G_DISCOVERY_LCD Exported Functions</title>

STM32746G_DISCOVERY_LCD Exported Functions
[STM32746G_DISCOVERY_LCD]

Functions

uint8_t BSP_LCD_Init (void)
 Initializes the LCD.
uint8_t BSP_LCD_DeInit (void)
 DeInitializes the LCD.
uint32_t BSP_LCD_GetXSize (void)
 Gets the LCD X size.
uint32_t BSP_LCD_GetYSize (void)
 Gets the LCD Y size.
void BSP_LCD_SetXSize (uint32_t imageWidthPixels)
 Set the LCD X size.
void BSP_LCD_SetYSize (uint32_t imageHeightPixels)
 Set the LCD Y size.
void BSP_LCD_LayerDefaultInit (uint16_t LayerIndex, uint32_t FB_Address)
 Initializes the LCD layer in ARGB8888 format (32 bits per pixel).
void BSP_LCD_LayerRgb565Init (uint16_t LayerIndex, uint32_t FB_Address)
 Initializes the LCD layer in RGB565 format (16 bits per pixel).
void BSP_LCD_SelectLayer (uint32_t LayerIndex)
 Selects the LCD Layer.
void BSP_LCD_SetLayerVisible (uint32_t LayerIndex, FunctionalState State)
 Sets an LCD Layer visible.
void BSP_LCD_SetLayerVisible_NoReload (uint32_t LayerIndex, FunctionalState State)
 Sets an LCD Layer visible without reloading.
void BSP_LCD_SetTransparency (uint32_t LayerIndex, uint8_t Transparency)
 Configures the transparency.
void BSP_LCD_SetTransparency_NoReload (uint32_t LayerIndex, uint8_t Transparency)
 Configures the transparency without reloading.
void BSP_LCD_SetLayerAddress (uint32_t LayerIndex, uint32_t Address)
 Sets an LCD layer frame buffer address.
void BSP_LCD_SetLayerAddress_NoReload (uint32_t LayerIndex, uint32_t Address)
 Sets an LCD layer frame buffer address without reloading.
void BSP_LCD_SetLayerWindow (uint16_t LayerIndex, uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
 Sets display window.
void BSP_LCD_SetLayerWindow_NoReload (uint16_t LayerIndex, uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
 Sets display window without reloading.
void BSP_LCD_SetColorKeying (uint32_t LayerIndex, uint32_t RGBValue)
 Configures and sets the color keying.
void BSP_LCD_SetColorKeying_NoReload (uint32_t LayerIndex, uint32_t RGBValue)
 Configures and sets the color keying without reloading.
void BSP_LCD_ResetColorKeying (uint32_t LayerIndex)
 Disables the color keying.
void BSP_LCD_ResetColorKeying_NoReload (uint32_t LayerIndex)
 Disables the color keying without reloading.
void BSP_LCD_Reload (uint32_t ReloadType)
 Disables the color keying without reloading.
void BSP_LCD_SetTextColor (uint32_t Color)
 Sets the LCD text color.
uint32_t BSP_LCD_GetTextColor (void)
 Gets the LCD text color.
void BSP_LCD_SetBackColor (uint32_t Color)
 Sets the LCD background color.
uint32_t BSP_LCD_GetBackColor (void)
 Gets the LCD background color.
void BSP_LCD_SetFont (sFONT *fonts)
 Sets the LCD text font.
sFONT * BSP_LCD_GetFont (void)
 Gets the LCD text font.
uint32_t BSP_LCD_ReadPixel (uint16_t Xpos, uint16_t Ypos)
 Reads an LCD pixel.
void BSP_LCD_Clear (uint32_t Color)
 Clears the hole LCD.
void BSP_LCD_ClearStringLine (uint32_t Line)
 Clears the selected line.
void BSP_LCD_DisplayChar (uint16_t Xpos, uint16_t Ypos, uint8_t Ascii)
 Displays one character.
void BSP_LCD_DisplayStringAt (uint16_t Xpos, uint16_t Ypos, uint8_t *Text, Text_AlignModeTypdef Mode)
 Displays characters on the LCD.
void BSP_LCD_DisplayStringAtLine (uint16_t Line, uint8_t *ptr)
 Displays a maximum of 60 characters on the LCD.
void BSP_LCD_DrawHLine (uint16_t Xpos, uint16_t Ypos, uint16_t Length)
 Draws an horizontal line.
void BSP_LCD_DrawVLine (uint16_t Xpos, uint16_t Ypos, uint16_t Length)
 Draws a vertical line.
void BSP_LCD_DrawLine (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2)
 Draws an uni-line (between two points).
void BSP_LCD_DrawRect (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
 Draws a rectangle.
void BSP_LCD_DrawCircle (uint16_t Xpos, uint16_t Ypos, uint16_t Radius)
 Draws a circle.
void BSP_LCD_DrawPolygon (pPoint Points, uint16_t PointCount)
 Draws an poly-line (between many points).
void BSP_LCD_DrawEllipse (int Xpos, int Ypos, int XRadius, int YRadius)
 Draws an ellipse on LCD.
void BSP_LCD_DrawPixel (uint16_t Xpos, uint16_t Ypos, uint32_t RGB_Code)
 Draws a pixel on LCD.
void BSP_LCD_DrawBitmap (uint32_t Xpos, uint32_t Ypos, uint8_t *pbmp)
 Draws a bitmap picture loaded in the internal Flash in ARGB888 format (32 bits per pixel).
void BSP_LCD_FillRect (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
 Draws a full rectangle.
void BSP_LCD_FillCircle (uint16_t Xpos, uint16_t Ypos, uint16_t Radius)
 Draws a full circle.
void BSP_LCD_FillPolygon (pPoint Points, uint16_t PointCount)
 Draws a full poly-line (between many points).
void BSP_LCD_FillEllipse (int Xpos, int Ypos, int XRadius, int YRadius)
 Draws a full ellipse.
void BSP_LCD_DisplayOn (void)
 Enables the display.
void BSP_LCD_DisplayOff (void)
 Disables the display.
__weak void BSP_LCD_MspInit (LTDC_HandleTypeDef *hltdc, void *Params)
 Initializes the LTDC MSP.
__weak void BSP_LCD_MspDeInit (LTDC_HandleTypeDef *hltdc, void *Params)
 DeInitializes BSP_LCD MSP.
__weak void BSP_LCD_ClockConfig (LTDC_HandleTypeDef *hltdc, void *Params)
 Clock Config.
static void DrawChar (uint16_t Xpos, uint16_t Ypos, const uint8_t *c)
 Draws a character on LCD.
static void FillTriangle (uint16_t x1, uint16_t x2, uint16_t x3, uint16_t y1, uint16_t y2, uint16_t y3)
 Fills a triangle (between 3 points).
static void LL_FillBuffer (uint32_t LayerIndex, void *pDst, uint32_t xSize, uint32_t ySize, uint32_t OffLine, uint32_t ColorIndex)
 Fills a buffer.
static void LL_ConvertLineToARGB8888 (void *pSrc, void *pDst, uint32_t xSize, uint32_t ColorMode)
 Converts a line to an ARGB8888 pixel format.

Function Documentation

void BSP_LCD_Clear ( uint32_t  Color )

Clears the hole LCD.

Parameters:
Color,:Color of the background
Return values:
None

Definition at line 643 of file stm32746g_discovery_lcd.c.

void BSP_LCD_ClearStringLine ( uint32_t  Line )

Clears the selected line.

Parameters:
Line,:Line to be cleared
Return values:
None

Definition at line 654 of file stm32746g_discovery_lcd.c.

__weak void BSP_LCD_ClockConfig ( LTDC_HandleTypeDef *  hltdc,
void *  Params 
)

Clock Config.

Parameters:
hltdc,:LTDC handle
Params
Note:
This API is called by BSP_LCD_Init() Being __weak it can be overwritten by the application
Return values:
None

Definition at line 1415 of file stm32746g_discovery_lcd.c.

uint8_t BSP_LCD_DeInit ( void   )

DeInitializes the LCD.

Return values:
LCDstate

Definition at line 226 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DisplayChar ( uint16_t  Xpos,
uint16_t  Ypos,
uint8_t  Ascii 
)

Displays one character.

Parameters:
Xpos,:Start column address
Ypos,:Line where to display the character shape.
Ascii,:Character ascii code This parameter must be a number between Min_Data = 0x20 and Max_Data = 0x7E
Return values:
None

Definition at line 674 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DisplayOff ( void   )

Disables the display.

Return values:
None

Definition at line 1280 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DisplayOn ( void   )

Enables the display.

Return values:
None

Definition at line 1268 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DisplayStringAt ( uint16_t  Xpos,
uint16_t  Ypos,
uint8_t *  Text,
Text_AlignModeTypdef  Mode 
)

Displays characters on the LCD.

Parameters:
Xpos,:X position (in pixel)
Ypos,:Y position (in pixel)
Text,:Pointer to string to display on LCD
Mode,:Display mode This parameter can be one of the following values:

  • CENTER_MODE
  • RIGHT_MODE
  • LEFT_MODE
Return values:
None

Definition at line 692 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DisplayStringAtLine ( uint16_t  Line,
uint8_t *  ptr 
)

Displays a maximum of 60 characters on the LCD.

Parameters:
Line,:Line where to display the character shape
ptr,:Pointer to string to display on LCD
Return values:
None

Definition at line 753 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawBitmap ( uint32_t  Xpos,
uint32_t  Ypos,
uint8_t *  pbmp 
)

Draws a bitmap picture loaded in the internal Flash in ARGB888 format (32 bits per pixel).

Parameters:
Xpos,:Bmp X position in the LCD
Ypos,:Bmp Y position in the LCD
pbmp,:Pointer to Bmp picture address in the internal Flash
Return values:
None

Definition at line 1037 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawCircle ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Radius 
)

Draws a circle.

Parameters:
Xpos,:X position
Ypos,:Y position
Radius,:Circle radius
Return values:
None

Definition at line 909 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawEllipse ( int  Xpos,
int  Ypos,
int  XRadius,
int  YRadius 
)

Draws an ellipse on LCD.

Parameters:
Xpos,:X position
Ypos,:Y position
XRadius,:Ellipse X radius
YRadius,:Ellipse Y radius
Return values:
None

Definition at line 984 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawHLine ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Length 
)

Draws an horizontal line.

Parameters:
Xpos,:X position
Ypos,:Y position
Length,:Line length
Return values:
None

Definition at line 765 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawLine ( uint16_t  x1,
uint16_t  y1,
uint16_t  x2,
uint16_t  y2 
)

Draws an uni-line (between two points).

Parameters:
x1,:Point 1 X position
y1,:Point 1 Y position
x2,:Point 2 X position
y2,:Point 2 Y position
Return values:
None

Definition at line 816 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawPixel ( uint16_t  Xpos,
uint16_t  Ypos,
uint32_t  RGB_Code 
)

Draws a pixel on LCD.

Parameters:
Xpos,:X position
Ypos,:Y position
RGB_Code,:Pixel color in ARGB mode (8-8-8-8)
Return values:
None

Definition at line 1017 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawPolygon ( pPoint  Points,
uint16_t  PointCount 
)

Draws an poly-line (between many points).

Parameters:
Points,:Pointer to the points array
PointCount,:Number of points
Return values:
None

Definition at line 956 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawRect ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Width,
uint16_t  Height 
)

Draws a rectangle.

Parameters:
Xpos,:X position
Ypos,:Y position
Width,:Rectangle width
Height,:Rectangle height
Return values:
None

Definition at line 891 of file stm32746g_discovery_lcd.c.

void BSP_LCD_DrawVLine ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Length 
)

Draws a vertical line.

Parameters:
Xpos,:X position
Ypos,:Y position
Length,:Line length
Return values:
None

Definition at line 790 of file stm32746g_discovery_lcd.c.

void BSP_LCD_FillCircle ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Radius 
)

Draws a full circle.

Parameters:
Xpos,:X position
Ypos,:Y position
Radius,:Circle radius
Return values:
None

Definition at line 1122 of file stm32746g_discovery_lcd.c.

void BSP_LCD_FillEllipse ( int  Xpos,
int  Ypos,
int  XRadius,
int  YRadius 
)

Draws a full ellipse.

Parameters:
Xpos,:X position
Ypos,:Y position
XRadius,:Ellipse X radius
YRadius,:Ellipse Y radius
Return values:
None

Definition at line 1238 of file stm32746g_discovery_lcd.c.

void BSP_LCD_FillPolygon ( pPoint  Points,
uint16_t  PointCount 
)

Draws a full poly-line (between many points).

Parameters:
Points,:Pointer to the points array
PointCount,:Number of points
Return values:
None

Definition at line 1170 of file stm32746g_discovery_lcd.c.

void BSP_LCD_FillRect ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Width,
uint16_t  Height 
)

Draws a full rectangle.

Parameters:
Xpos,:X position
Ypos,:Y position
Width,:Rectangle width
Height,:Rectangle height
Return values:
None

Definition at line 1095 of file stm32746g_discovery_lcd.c.

uint32_t BSP_LCD_GetBackColor ( void   )

Gets the LCD background color.

Return values:
Usedbackground colour

Definition at line 578 of file stm32746g_discovery_lcd.c.

sFONT* BSP_LCD_GetFont ( void   )

Gets the LCD text font.

Return values:
Usedlayer font

Definition at line 597 of file stm32746g_discovery_lcd.c.

uint32_t BSP_LCD_GetTextColor ( void   )

Gets the LCD text color.

Return values:
Usedtext color.

Definition at line 559 of file stm32746g_discovery_lcd.c.

uint32_t BSP_LCD_GetXSize ( void   )

Gets the LCD X size.

Return values:
UsedLCD X size

Definition at line 247 of file stm32746g_discovery_lcd.c.

uint32_t BSP_LCD_GetYSize ( void   )

Gets the LCD Y size.

Return values:
UsedLCD Y size

Definition at line 256 of file stm32746g_discovery_lcd.c.

uint8_t BSP_LCD_Init ( void   )

Initializes the LCD.

Return values:
LCDstate

Definition at line 164 of file stm32746g_discovery_lcd.c.

void BSP_LCD_LayerDefaultInit ( uint16_t  LayerIndex,
uint32_t  FB_Address 
)

Initializes the LCD layer in ARGB8888 format (32 bits per pixel).

Parameters:
LayerIndex,:Layer foreground or background
FB_Address,:Layer frame buffer
Return values:
None

Definition at line 287 of file stm32746g_discovery_lcd.c.

void BSP_LCD_LayerRgb565Init ( uint16_t  LayerIndex,
uint32_t  FB_Address 
)

Initializes the LCD layer in RGB565 format (16 bits per pixel).

Parameters:
LayerIndex,:Layer foreground or background
FB_Address,:Layer frame buffer
Return values:
None

Definition at line 321 of file stm32746g_discovery_lcd.c.

__weak void BSP_LCD_MspDeInit ( LTDC_HandleTypeDef *  hltdc,
void *  Params 
)

DeInitializes BSP_LCD MSP.

Parameters:
hltdc,:LTDC handle
Params
Return values:
None

Definition at line 1366 of file stm32746g_discovery_lcd.c.

__weak void BSP_LCD_MspInit ( LTDC_HandleTypeDef *  hltdc,
void *  Params 
)

Initializes the LTDC MSP.

Parameters:
hltdc,:LTDC handle
Params
Return values:
None

Definition at line 1294 of file stm32746g_discovery_lcd.c.

uint32_t BSP_LCD_ReadPixel ( uint16_t  Xpos,
uint16_t  Ypos 
)

Reads an LCD pixel.

Parameters:
Xpos,:X position
Ypos,:Y position
Return values:
RGBpixel color

Definition at line 608 of file stm32746g_discovery_lcd.c.

void BSP_LCD_Reload ( uint32_t  ReloadType )

Disables the color keying without reloading.

Parameters:
ReloadType,:can be one of the following values

  • LCD_RELOAD_IMMEDIATE
  • LCD_RELOAD_VERTICAL_BLANKING
Return values:
None

Definition at line 540 of file stm32746g_discovery_lcd.c.

void BSP_LCD_ResetColorKeying ( uint32_t  LayerIndex )

Disables the color keying.

Parameters:
LayerIndex,:Layer foreground or background
Return values:
None

Definition at line 516 of file stm32746g_discovery_lcd.c.

void BSP_LCD_ResetColorKeying_NoReload ( uint32_t  LayerIndex )

Disables the color keying without reloading.

Parameters:
LayerIndex,:Layer foreground or background
Return values:
None

Definition at line 527 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SelectLayer ( uint32_t  LayerIndex )

Selects the LCD Layer.

Parameters:
LayerIndex,:Layer foreground or background
Return values:
None

Definition at line 354 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetBackColor ( uint32_t  Color )

Sets the LCD background color.

Parameters:
Color,:Layer background color code ARGB(8-8-8-8)
Return values:
None

Definition at line 569 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetColorKeying ( uint32_t  LayerIndex,
uint32_t  RGBValue 
)

Configures and sets the color keying.

Parameters:
LayerIndex,:Layer foreground or background
RGBValue,:Color reference
Return values:
None

Definition at line 491 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetColorKeying_NoReload ( uint32_t  LayerIndex,
uint32_t  RGBValue 
)

Configures and sets the color keying without reloading.

Parameters:
LayerIndex,:Layer foreground or background
RGBValue,:Color reference
Return values:
None

Definition at line 504 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetFont ( sFONT *  fonts )

Sets the LCD text font.

Parameters:
fonts,:Layer font to be used
Return values:
None

Definition at line 588 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetLayerAddress ( uint32_t  LayerIndex,
uint32_t  Address 
)

Sets an LCD layer frame buffer address.

Parameters:
LayerIndex,:Layer foreground or background
Address,:New LCD frame buffer value
Return values:
None

Definition at line 433 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetLayerAddress_NoReload ( uint32_t  LayerIndex,
uint32_t  Address 
)

Sets an LCD layer frame buffer address without reloading.

Parameters:
LayerIndex,:Layer foreground or background
Address,:New LCD frame buffer value
Return values:
None

Definition at line 444 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetLayerVisible ( uint32_t  LayerIndex,
FunctionalState  State 
)

Sets an LCD Layer visible.

Parameters:
LayerIndex,:Visible Layer
State,:New state of the specified layer This parameter can be one of the following values:

  • ENABLE
  • DISABLE
Return values:
None

Definition at line 368 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetLayerVisible_NoReload ( uint32_t  LayerIndex,
FunctionalState  State 
)

Sets an LCD Layer visible without reloading.

Parameters:
LayerIndex,:Visible Layer
State,:New state of the specified layer This parameter can be one of the following values:

  • ENABLE
  • DISABLE
Return values:
None

Definition at line 390 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetLayerWindow ( uint16_t  LayerIndex,
uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Width,
uint16_t  Height 
)

Sets display window.

Parameters:
LayerIndex,:Layer index
Xpos,:LCD X position
Ypos,:LCD Y position
Width,:LCD window width
Height,:LCD window height
Return values:
None

Definition at line 458 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetLayerWindow_NoReload ( uint16_t  LayerIndex,
uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Width,
uint16_t  Height 
)

Sets display window without reloading.

Parameters:
LayerIndex,:Layer index
Xpos,:LCD X position
Ypos,:LCD Y position
Width,:LCD window width
Height,:LCD window height
Return values:
None

Definition at line 476 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetTextColor ( uint32_t  Color )

Sets the LCD text color.

Parameters:
Color,:Text color code ARGB(8-8-8-8)
Return values:
None

Definition at line 550 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetTransparency ( uint32_t  LayerIndex,
uint8_t  Transparency 
)

Configures the transparency.

Parameters:
LayerIndex,:Layer foreground or background.
Transparency,:Transparency This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF
Return values:
None

Definition at line 410 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetTransparency_NoReload ( uint32_t  LayerIndex,
uint8_t  Transparency 
)

Configures the transparency without reloading.

Parameters:
LayerIndex,:Layer foreground or background.
Transparency,:Transparency This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF
Return values:
None

Definition at line 422 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetXSize ( uint32_t  imageWidthPixels )

Set the LCD X size.

Parameters:
imageWidthPixels: image width in pixels unit
Return values:
None

Definition at line 266 of file stm32746g_discovery_lcd.c.

void BSP_LCD_SetYSize ( uint32_t  imageHeightPixels )

Set the LCD Y size.

Parameters:
imageHeightPixels: image height in lines unit
Return values:
None

Definition at line 276 of file stm32746g_discovery_lcd.c.

static void DrawChar ( uint16_t  Xpos,
uint16_t  Ypos,
const uint8_t *  c 
) [static]

Draws a character on LCD.

Parameters:
Xpos,:Line where to display the character shape
Ypos,:Start column address
c,:Pointer to the character data
Return values:
None

Definition at line 1443 of file stm32746g_discovery_lcd.c.

static void FillTriangle ( uint16_t  x1,
uint16_t  x2,
uint16_t  x3,
uint16_t  y1,
uint16_t  y2,
uint16_t  y3 
) [static]

Fills a triangle (between 3 points).

Parameters:
x1,:Point 1 X position
y1,:Point 1 Y position
x2,:Point 2 X position
y2,:Point 2 Y position
x3,:Point 3 X position
y3,:Point 3 Y position
Return values:
None

Definition at line 1502 of file stm32746g_discovery_lcd.c.

static void LL_ConvertLineToARGB8888 ( void *  pSrc,
void *  pDst,
uint32_t  xSize,
uint32_t  ColorMode 
) [static]

Converts a line to an ARGB8888 pixel format.

Parameters:
pSrc,:Pointer to source buffer
pDst,:Output color
xSize,:Buffer width
ColorMode,:Input color mode
Return values:
None

Definition at line 1618 of file stm32746g_discovery_lcd.c.

static void LL_FillBuffer ( uint32_t  LayerIndex,
void *  pDst,
uint32_t  xSize,
uint32_t  ySize,
uint32_t  OffLine,
uint32_t  ColorIndex 
) [static]

Fills a buffer.

Parameters:
LayerIndex,:Layer index
pDst,:Pointer to destination buffer
xSize,:Buffer width
ySize,:Buffer height
OffLine,:Offset
ColorIndex,:Color index
Return values:
None

Definition at line 1580 of file stm32746g_discovery_lcd.c.