STM32L4R9I_EVAL BSP User Manual: Private Functions

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual

Functions

void HAL_DSI_EndOfRefreshCallback (DSI_HandleTypeDef *hdsi)
 End of Refresh DSI callback.
static void LCD_Reset (void)
 LCD Reset Hw reset the LCD DSI activating its XRES signal (active low for some time) and desactivating it later.
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 1726 of file stm32l4r9i_eval_dsi_lcd.c.

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

Referenced by BSP_DSI_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 1784 of file stm32l4r9i_eval_dsi_lcd.c.

References ABS, and BSP_DSI_LCD_DrawLine().

Referenced by BSP_DSI_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 1685 of file stm32l4r9i_eval_dsi_lcd.c.

static void LCD_Reset ( void  ) [static]

LCD Reset Hw reset the LCD DSI activating its XRES signal (active low for some time) and desactivating it later.

Definition at line 1699 of file stm32l4r9i_eval_dsi_lcd.c.

References BSP_IO_ConfigPin(), BSP_IO_Init(), BSP_IO_WritePin(), and IO_PIN_9.

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 1893 of file stm32l4r9i_eval_dsi_lcd.c.

References hdma2d_eval.

Referenced by BSP_DSI_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 1861 of file stm32l4r9i_eval_dsi_lcd.c.

References hdma2d_eval.

Referenced by BSP_DSI_LCD_Clear(), BSP_DSI_LCD_DrawHLine(), BSP_DSI_LCD_DrawVLine(), and BSP_DSI_LCD_FillRect().

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1