BSP_DISCO_L4R9I

Dependents:   DISCO_L4R9I-LCD-demo

Embed: (wiki syntax)

« Back to documentation index

LCD Private Functions

LCD Private Functions
[STM32L4R9I_DISCOVERY LCD]

Functions

void HAL_DSI_EndOfRefreshCallback (DSI_HandleTypeDef *hdsi)
 End of Refresh DSI callback.
static void LCD_PowerOn (void)
 LCD power on Power on LCD.
static void LCD_PowerOff (void)
 LCD power off Power off LCD.
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.
void DSI_IRQHandler (void)
 This function handles DSI global interrupt request.

Function Documentation

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

Definition at line 1791 of file stm32l4r9i_discovery_lcd.c.

void DSI_IRQHandler ( void   )

This function handles DSI global interrupt request.

Parameters:
None
Return values:
None

Definition at line 1999 of file stm32l4r9i_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

Definition at line 1849 of file stm32l4r9i_discovery_lcd.c.

void HAL_DSI_EndOfRefreshCallback ( DSI_HandleTypeDef *  hdsi )

End of Refresh DSI callback.

Parameters:
hdsi,:pointer to a DSI_HandleTypeDef structure that contains the configuration information for the DSI.
Return values:
None

Definition at line 1685 of file stm32l4r9i_discovery_lcd.c.

static void LCD_PowerOff ( void   ) [static]

LCD power off Power off LCD.

Definition at line 1764 of file stm32l4r9i_discovery_lcd.c.

static void LCD_PowerOn ( void   ) [static]

LCD power on Power on LCD.

Definition at line 1698 of file stm32l4r9i_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

Definition at line 1958 of file stm32l4r9i_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

Definition at line 1926 of file stm32l4r9i_discovery_lcd.c.