ST / BSP_DISCO_L476VG

Dependents:   DiscoLogger DISCO_L476VG_GlassLCD DISCO_L476VG_MicrophoneRecorder DISCO_L476VG_UART ... more

Embed: (wiki syntax)

« Back to documentation index

stm32l476g_discovery_glass_lcd.c File Reference

stm32l476g_discovery_glass_lcd.c File Reference

This file provides a set of functions needed to manage the LCD Glass driver for the STM32L476G-Discovery board. More...

Go to the source code of this file.

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.
void BSP_LCD_GLASS_Init (void)
 Initialize the LCD GLASS relative GPIO port IOs and LCD peripheral.
void BSP_LCD_GLASS_DeInit (void)
 DeInitialize the LCD GLASS relative GPIO port IOs and LCD peripheral.
void BSP_LCD_GLASS_BlinkConfig (uint32_t BlinkMode, uint32_t BlinkFrequency)
 Configure the LCD Blink mode and Blink frequency.
void BSP_LCD_GLASS_Contrast (uint32_t Contrast)
 Configure the LCD contrast.
void BSP_LCD_GLASS_DisplayBar (uint32_t BarId)
 Display one or several bar in LCD frame buffer.
void BSP_LCD_GLASS_ClearBar (uint32_t BarId)
 Clear one or several bar in LCD frame buffer.
void BSP_LCD_GLASS_BarLevelConfig (uint8_t BarLevel)
 Configure the bar level on LCD by writing bar value in LCD frame buffer.
void BSP_LCD_GLASS_DisplayChar (uint8_t *ch, Point_Typedef Point, DoublePoint_Typedef Colon, DigitPosition_Typedef Position)
 Write a character in the LCD RAM buffer.
void BSP_LCD_GLASS_DisplayString (uint8_t *ptr)
 Write a character string in the LCD RAM buffer.
void BSP_LCD_GLASS_DisplayStrDeci (uint16_t *ptr)
 Write a character string with decimal point in the LCD RAM buffer.
void BSP_LCD_GLASS_Clear (void)
 Clear the whole LCD RAM buffer.
void BSP_LCD_GLASS_ScrollSentence (uint8_t *ptr, uint16_t nScroll, uint16_t ScrollSpeed)
 Display a string in scrolling mode.

Variables

LCD_HandleTypeDef LCDHandle

Detailed Description

This file provides a set of functions needed to manage the LCD Glass driver for the STM32L476G-Discovery board.

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l476g_discovery_glass_lcd.c.