STM32L476G-Discovery BSP User Manual
|
Functions | |
static void | Convert (uint8_t *Char, Point_Typedef Point, DoublePoint_Typedef Colon) |
Convert an ascii char to the a LCD digit. | |
static void | WriteChar (uint8_t *ch, Point_Typedef Point, DoublePoint_Typedef Colon, DigitPosition_Typedef Position) |
Write a character in the LCD frame buffer. | |
static void | LCD_MspInit (LCD_HandleTypeDef *hlcd) |
Initialize the LCD MSP. | |
static void | LCD_MspDeInit (LCD_HandleTypeDef *hlcd) |
DeInitialize the LCD MSP. |
Function Documentation
static void Convert | ( | uint8_t * | Char, |
Point_Typedef | Point, | ||
DoublePoint_Typedef | Colon | ||
) | [static] |
Convert an ascii char to the a LCD digit.
- Parameters:
-
Char,: a char to display. Point,: a point to add in front of char This parameter can be: POINT_OFF or POINT_ON Colon : flag indicating if a colon character has to be added in front of displayed character. This parameter can be: DOUBLEPOINT_OFF or DOUBLEPOINT_ON.
- Return values:
-
None
Definition at line 711 of file stm32l476g_discovery_glass_lcd.c.
References ASCII_CHAR_0, ASCII_CHAR_APOSTROPHE, ASCII_CHAR_AT_SYMBOL, ASCII_CHAR_LEFT_OPEN_BRACE, ASCII_CHAR_LEFT_OPEN_BRACKET, C_CLOSEPARMAP, C_DMAP, C_FULL, C_MINUS, C_MMAP, C_NMAP, C_OPENPARMAP, C_PERCENT_1, C_PERCENT_2, C_PLUS, C_SLATCH, C_STAR, C_UMAP, CapLetterMap, Digit, DOUBLEPOINT_ON, NumberMap, and POINT_ON.
Referenced by WriteChar().
static void LCD_MspDeInit | ( | LCD_HandleTypeDef * | hlcd | ) | [static] |
DeInitialize the LCD MSP.
- Parameters:
-
hlcd,: LCD handle
- Return values:
-
None
Definition at line 669 of file stm32l476g_discovery_glass_lcd.c.
References LCD_GPIO_BANKA_PINS, LCD_GPIO_BANKB_PINS, LCD_GPIO_BANKC_PINS, and LCD_GPIO_BANKD_PINS.
Referenced by BSP_LCD_GLASS_DeInit().
static void LCD_MspInit | ( | LCD_HandleTypeDef * | hlcd | ) | [static] |
Initialize the LCD MSP.
- Parameters:
-
hlcd,: LCD handle
- Return values:
-
None
Definition at line 603 of file stm32l476g_discovery_glass_lcd.c.
References LCD_GPIO_BANKA_PINS, LCD_GPIO_BANKB_PINS, LCD_GPIO_BANKC_PINS, and LCD_GPIO_BANKD_PINS.
Referenced by BSP_LCD_GLASS_Init().
static void WriteChar | ( | uint8_t * | ch, |
Point_Typedef | Point, | ||
DoublePoint_Typedef | Colon, | ||
DigitPosition_Typedef | Position | ||
) | [static] |
Write a character in the LCD frame buffer.
- Parameters:
-
ch,: the character to display. Point,: a point to add in front of char This parameter can be: POINT_OFF or POINT_ON Colon,: flag indicating if a colon character has to be added in front of displayed character. This parameter can be: DOUBLEPOINT_OFF or DOUBLEPOINT_ON. Position,: position in the LCD of the character to write [1:6]
- Return values:
-
None
Definition at line 828 of file stm32l476g_discovery_glass_lcd.c.
References Convert(), Digit, LCD_DIGIT1_COM0, LCD_DIGIT1_COM0_SEG_MASK, LCD_DIGIT1_COM1, LCD_DIGIT1_COM1_SEG_MASK, LCD_DIGIT1_COM2, LCD_DIGIT1_COM2_SEG_MASK, LCD_DIGIT1_COM3, LCD_DIGIT1_COM3_SEG_MASK, LCD_DIGIT2_COM0, LCD_DIGIT2_COM0_SEG_MASK, LCD_DIGIT2_COM1, LCD_DIGIT2_COM1_SEG_MASK, LCD_DIGIT2_COM2, LCD_DIGIT2_COM2_SEG_MASK, LCD_DIGIT2_COM3, LCD_DIGIT2_COM3_SEG_MASK, LCD_DIGIT3_COM0, LCD_DIGIT3_COM0_SEG_MASK, LCD_DIGIT3_COM1, LCD_DIGIT3_COM1_SEG_MASK, LCD_DIGIT3_COM2, LCD_DIGIT3_COM2_SEG_MASK, LCD_DIGIT3_COM3, LCD_DIGIT3_COM3_SEG_MASK, LCD_DIGIT4_COM0, LCD_DIGIT4_COM0_1, LCD_DIGIT4_COM0_1_SEG_MASK, LCD_DIGIT4_COM0_SEG_MASK, LCD_DIGIT4_COM1, LCD_DIGIT4_COM1_1, LCD_DIGIT4_COM1_1_SEG_MASK, LCD_DIGIT4_COM1_SEG_MASK, LCD_DIGIT4_COM2, LCD_DIGIT4_COM2_1, LCD_DIGIT4_COM2_1_SEG_MASK, LCD_DIGIT4_COM2_SEG_MASK, LCD_DIGIT4_COM3, LCD_DIGIT4_COM3_1, LCD_DIGIT4_COM3_1_SEG_MASK, LCD_DIGIT4_COM3_SEG_MASK, LCD_DIGIT5_COM0, LCD_DIGIT5_COM0_1, LCD_DIGIT5_COM0_1_SEG_MASK, LCD_DIGIT5_COM0_SEG_MASK, LCD_DIGIT5_COM1, LCD_DIGIT5_COM1_1, LCD_DIGIT5_COM1_1_SEG_MASK, LCD_DIGIT5_COM1_SEG_MASK, LCD_DIGIT5_COM2, LCD_DIGIT5_COM2_1, LCD_DIGIT5_COM2_1_SEG_MASK, LCD_DIGIT5_COM2_SEG_MASK, LCD_DIGIT5_COM3, LCD_DIGIT5_COM3_1, LCD_DIGIT5_COM3_1_SEG_MASK, LCD_DIGIT5_COM3_SEG_MASK, LCD_DIGIT6_COM0, LCD_DIGIT6_COM0_SEG_MASK, LCD_DIGIT6_COM1, LCD_DIGIT6_COM1_SEG_MASK, LCD_DIGIT6_COM2, LCD_DIGIT6_COM2_SEG_MASK, LCD_DIGIT6_COM3, LCD_DIGIT6_COM3_SEG_MASK, LCD_DIGIT_POSITION_1, LCD_DIGIT_POSITION_2, LCD_DIGIT_POSITION_3, LCD_DIGIT_POSITION_4, LCD_DIGIT_POSITION_5, LCD_DIGIT_POSITION_6, LCD_SEG0_SHIFT, LCD_SEG10_SHIFT, LCD_SEG11_SHIFT, LCD_SEG12_SHIFT, LCD_SEG13_SHIFT, LCD_SEG14_SHIFT, LCD_SEG15_SHIFT, LCD_SEG16_SHIFT, LCD_SEG17_SHIFT, LCD_SEG18_SHIFT, LCD_SEG19_SHIFT, LCD_SEG1_SHIFT, LCD_SEG20_SHIFT, LCD_SEG21_SHIFT, LCD_SEG22_SHIFT, LCD_SEG23_SHIFT, LCD_SEG2_SHIFT, LCD_SEG3_SHIFT, LCD_SEG4_SHIFT, LCD_SEG5_SHIFT, LCD_SEG6_SHIFT, LCD_SEG7_SHIFT, LCD_SEG8_SHIFT, LCD_SEG9_SHIFT, and LCDHandle.
Referenced by BSP_LCD_GLASS_DisplayChar(), BSP_LCD_GLASS_DisplayStrDeci(), and BSP_LCD_GLASS_DisplayString().
Generated on Tue Jun 23 2015 17:15:46 for STM32L476G-Discovery BSP User Manual by 1.7.6.1