STM32373C_EVAL BSP User Manual: Private Functions

STM32373C EVAL BSP Drivers

STM32373C_EVAL BSP User Manual
Private Functions

Functions

static void LCD_DrawPixel (uint16_t Xpos, uint16_t Ypos, uint16_t RGBCode)
 Draws a pixel on LCD.
static void LCD_DrawChar (uint16_t Xpos, uint16_t Ypos, const uint8_t *pChar)
 Draws a character on LCD.
static void LCD_SetDisplayWindow (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
 Sets display window.

Function Documentation

static void LCD_DrawChar ( uint16_t  Xpos,
uint16_t  Ypos,
const uint8_t *  pChar 
) [static]

Draws a character on LCD.

Parameters:
XposLine where to display the character shape
YposStart column address
pCharPointer to the character data
Return values:
None

Definition at line 840 of file stm32373c_eval_lcd.c.

References LCD_DrawPropTypeDef::BackColor, bitmap, BSP_LCD_DrawBitmap(), OFFSET_BITMAP, LCD_DrawPropTypeDef::pFont, and LCD_DrawPropTypeDef::TextColor.

Referenced by BSP_LCD_DisplayChar().

static void LCD_DrawPixel ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  RGBCode 
) [static]

Draws a pixel on LCD.

Parameters:
XposX position
YposY position
RGBCodePixel color in RGB mode (5-6-5)
Return values:
None

Definition at line 825 of file stm32373c_eval_lcd.c.

References lcd_drv.

Referenced by BSP_LCD_DrawCircle(), BSP_LCD_DrawEllipse(), BSP_LCD_DrawHLine(), BSP_LCD_DrawLine(), and BSP_LCD_DrawVLine().

static void LCD_SetDisplayWindow ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Width,
uint16_t  Height 
) [static]

Sets display window.

Parameters:
XposLCD X position
YposLCD Y position
WidthLCD window width
HeightLCD window height
Return values:
None

Definition at line 910 of file stm32373c_eval_lcd.c.

References lcd_drv.

Referenced by BSP_LCD_DrawBitmap(), and BSP_LCD_DrawVLine().

Generated on Wed May 31 2017 11:20:45 for STM32373C_EVAL BSP User Manual by   doxygen 1.7.6.1