STM3210C_EVAL BSP User Manual: Private Functions

STM3210C EVAL BSP Drivers

STM3210C_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:
Xpos,:Line where to display the character shape
Ypos,:Start column address
pChar,:Pointer to the character data
Return values:
None

Definition at line 860 of file stm3210c_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:
Xpos,:X position
Ypos,:Y position
RGBCode,:Pixel color in RGB mode (5-6-5)
Return values:
None

Definition at line 845 of file stm3210c_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:
Xpos,:LCD X position
Ypos,:LCD Y position
Width,:LCD window width
Height,:LCD window height
Return values:
None

Definition at line 931 of file stm3210c_eval_lcd.c.

References lcd_drv.

Referenced by BSP_LCD_DrawBitmap(), and BSP_LCD_DrawRGBImage().

Generated on Thu Dec 10 2015 17:13:52 for STM3210C_EVAL BSP User Manual by   doxygen 1.7.6.1