STM32L4R9I-Discovery BSP User Manual: LCD Private Functions

STM32L4R9I-Discovery BSP

STM32L4R9I-Discovery BSP User Manual
LCD Private Functions

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.

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 1806 of file stm32l4r9i_discovery_lcd.c.

References ActiveLayer, BSP_LCD_DrawPixel(), and LCD_DrawPropTypeDef::pFont.

Referenced by BSP_LCD_DisplayChar().

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 1864 of file stm32l4r9i_discovery_lcd.c.

References ABS, and BSP_LCD_DrawLine().

Referenced by BSP_LCD_FillPolygon().

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 1700 of file stm32l4r9i_discovery_lcd.c.

static void LCD_PowerOff ( void  ) [static]

LCD power off Power off LCD.

Definition at line 1779 of file stm32l4r9i_discovery_lcd.c.

References AGPIO_PIN_2, BSP_IO_ConfigPin(), BSP_IO_WritePin(), bsp_psram_initialized, IO_PIN_10, and IO_PIN_8.

Referenced by BSP_LCD_DeInit().

static void LCD_PowerOn ( void  ) [static]

LCD power on Power on LCD.

Definition at line 1713 of file stm32l4r9i_discovery_lcd.c.

References AGPIO_PIN_2, BSP_IO_ConfigPin(), BSP_IO_Init(), BSP_IO_WritePin(), bsp_psram_initialized, IO_PIN_10, and IO_PIN_8.

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 1973 of file stm32l4r9i_discovery_lcd.c.

References hdma2d_discovery.

Referenced by BSP_LCD_DrawBitmap().

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 1941 of file stm32l4r9i_discovery_lcd.c.

References hdma2d_discovery.

Referenced by BSP_LCD_Clear(), BSP_LCD_DrawHLine(), BSP_LCD_DrawVLine(), and BSP_LCD_FillRect().

Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by   doxygen 1.7.6.1