STM32L152D_EVAL BSP User Manual: Private Functions

STM32L152D_EVAL BSP

STM32L152D_EVAL BSP User Manual

Functions

static void Convert (uint8_t *c, Point_Typedef Point, DoublePoint_Typedef DoublePoint)
 Converts an ascii char to the a LCD Digit (previous coding).
static void LCD_MspInit (LCD_HandleTypeDef *hlcd)
 LCD MSP Init.
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 Convert ( uint8_t *  c,
Point_Typedef  Point,
DoublePoint_Typedef  DoublePoint 
) [static]

Converts an ascii char to the a LCD Digit (previous coding).

Parameters:
c,:a char to display.
Point,:a point to add in front of a char This parameter can be: POINT_OFF or POINT_ON
DoublePoint,:flag indicating if Double Point has to be added in front of the displayed character. This parameter can be: DOUBLEPOINT_ON or DOUBLEPOINT_OFF.
Return values:
None

Definition at line 3144 of file stm32l152d_eval_glass_lcd.c.

References ASCII_CHAR_0, ASCII_CHAR_A, ASCII_CHAR_AT_SYMBOL, ASCII_CHAR_COLON, ASCII_CHAR_FORWARD_SLASH, ASCII_CHAR_LEFT_OPEN_BRACKET, ASCII_CHAR_SPACE, Digit, DOUBLEPOINT_ON, LetterMap, Mask, NumberMap, POINT_ON, and Shift.

Referenced by BSP_LCD_GLASS_WriteChar().

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 1026 of file stm32l152d_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 1004 of file stm32l152d_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_MspInit ( LCD_HandleTypeDef *  hlcd) [static]

LCD MSP Init.

Parameters:
hlcd,:LCD handle
Return values:
None

Definition at line 3054 of file stm32l152d_eval_glass_lcd.c.

Referenced by BSP_LCD_GLASS_Init().

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 1097 of file stm32l152d_eval_lcd.c.

References lcd_drv.

Referenced by BSP_LCD_DrawBitmap(), and BSP_LCD_DrawVLine().

Generated on Thu Aug 24 2017 17:57:47 for STM32L152D_EVAL BSP User Manual by   doxygen 1.7.6.1