STM32L073Z_EVAL BSP User Manual
|
This file includes the LCD Glass driver for LCD XHO5002B Module of STM32L073Z-EVAL board. More...
#include "stm32l073z_eval_glass_lcd.h"
Go to the source code of this file.
Defines | |
#define | ASCII_CHAR_SPACE 0x20 /* */ |
#define | ASCII_CHAR_FORWARD_SLASH 0x2F /* / */ |
#define | ASCII_CHAR_0 0x30 /* 0 */ |
#define | ASCII_CHAR_COLON 0x3A /* : */ |
#define | ASCII_CHAR_AT_SYMBOL 0x40 /* @ */ |
#define | ASCII_CHAR_A 0x41 /* A */ |
#define | ASCII_CHAR_LEFT_OPEN_BRACKET 0x5B /* [ */ |
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. | |
void | BSP_LCD_GLASS_Init (void) |
Configures the LCD GLASS relative GPIO port IOs and LCD peripheral. | |
void | BSP_LCD_GLASS_Contrast (uint32_t Contrast) |
LCD contrast setting. | |
void | BSP_LCD_GLASS_WriteChar (uint8_t *ch, uint8_t Point, uint8_t Column, uint8_t Position) |
This function writes a char in the LCD frame buffer. | |
void | BSP_LCD_GLASS_BarLevelConfig (uint8_t BarLevel) |
Setting bar on LCD, writes bar value in LCD frame buffer. | |
void | BSP_LCD_GLASS_ClearChar (uint8_t position) |
This function Clear a char in the LCD RAM. | |
void | BSP_LCD_GLASS_DisplayChar (uint8_t *Ch, Point_Typedef Point, DoublePoint_Typedef DoublePoint, uint8_t Position) |
This function writes a char in the LCD RAM. | |
void | BSP_LCD_GLASS_DisplayString (uint8_t *ptr) |
This function writes a char in the LCD RAM. | |
void | BSP_LCD_GLASS_ClearTextZone (void) |
This function Clears the LCD Glass Text Zone. | |
void | BSP_LCD_GLASS_DisplayStrDeci (uint16_t *ptr) |
This function writes a char in the LCD RAM. | |
void | BSP_LCD_GLASS_Clear (void) |
This function Clear the whole LCD RAM. | |
void | BSP_LCD_GLASS_ScrollSentence (uint8_t *ptr, uint16_t nScroll, uint16_t ScrollSpeed) |
Display a string in scrolling mode. | |
void | BSP_LCD_GLASS_DisplayLogo (FunctionalState NewState) |
Configure ST Logo display. | |
void | BSP_LCD_GLASS_ArrowConfig (ArrowDirection_TypeDef ArrowDirection) |
Configure the LCD ArrowDirection. | |
void | BSP_LCD_GLASS_TemperatureConfig (TemperatureLevel_TypeDef Temperature) |
Configure the LCD Temperature level display . | |
void | BSP_LCD_GLASS_ValueUnitConfig (ValueUnit_TypeDef ValueUnit) |
Configure the LCD Value Unit. | |
void | BSP_LCD_GLASS_SignCmd (Sign_TypeDef Sign, FunctionalState NewState) |
Configure the LCD sign. | |
void | BSP_LCD_GLASS_WriteMatrixPixel (PixelRow_TypeDef PixelRow, PixelColumn_TypeDef PixelColumn) |
Set Matrix Pixel on. | |
void | BSP_LCD_GLASS_ClearMatrixPixel (PixelRow_TypeDef PixelRow, PixelColumn_TypeDef PixelColumn) |
Set Matrix Pixel off. | |
Variables | |
LCD_HandleTypeDef | LCDHandle |
uint8_t | LCDBar = BATTERYLEVEL_FULL |
const uint32_t | Mask [] |
LETTERS AND NUMBERS MAPPING DEFINITION. | |
const uint8_t | Shift [6] |
uint32_t | Digit [6] |
const uint32_t | LetterMap [26] |
const uint32_t | NumberMap [10] |
const uint16_t | CapLetterMap [26] |
Detailed Description
This file includes the LCD Glass driver for LCD XHO5002B Module of STM32L073Z-EVAL board.
- Attention:
© COPYRIGHT(c) 2016 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l073z_eval_glass_lcd.c.
Generated on Mon Aug 28 2017 14:54:25 for STM32L073Z_EVAL BSP User Manual by 1.7.6.1