_BSP_User_Manual: Private Functions

STM3210E EVAL BSP Driver

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 1036 of file stm3210e_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 1014 of file stm3210e_eval_lcd.c.

References lcd_drv, and LCD_SwapXY.

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 1107 of file stm3210e_eval_lcd.c.

References lcd_drv.

Referenced by BSP_LCD_DrawBitmap(), and BSP_LCD_DrawVLine().

Generated on Thu Dec 11 2014 16:16:37 for _BSP_User_Manual by   doxygen 1.7.5.1