STM8S/A Standard Peripherals Firmware Library: stm8s_eval_lcd.c File Reference

STM8S/A

stm8s_eval_lcd.c File Reference

This file includes driver for the dot matrix LCD Module mounted on STM8L15xx-EVAL board. More...

#include "stm8s_eval_lcd.h"

Go to the source code of this file.

Defines

#define STATUS_TYPE   0xFC

Functions

static void delay (__IO uint32_t nCount)
 The delay function implemented in this driver is not a precise one, however it allows the insertion of 1ms delay when Fcpu is 16Mhz if the passed parameter is 0x4000.
void LCD_BacklightCmd (FunctionalState NewState)
 Enable or Disable the LCD backlight.
void LCD_Clear (void)
 Clear the LCD.
static void LCD_DisplayCGRAM0 (uint8_t address, uint8_t *ptrTable)
 Display CGRAM on even address.
static void LCD_DisplayCGRAM1 (uint8_t address, uint8_t *ptrTable)
 Display CGRAM on odd address.
void LCD_DisplayLogo (uint8_t address)
 Display ST logo.
void LCD_Print (uint8_t *ptr)
 Display a string from current position of the LCD cursor.
void LCD_RollString (uint8_t Line, uint8_t *ptr, uint16_t speed)
 Display a string in rolling mode.
void LCD_SendByte (uint8_t DataType, uint8_t DataToSend)
 Send a byte to LCD.
void LCD_SetCursorPos (uint8_t Line, uint8_t Offset)
 Set the LCD cursor to the specified location.
static void LCD_SPISendByte (uint8_t DataToSend)
 Send a byte to LCD through the SPI peripheral.
void STM8S_EVAL_LCD_Init (void)
 Initialize the LCD.

Variables

CONST uint8_t S_CGRAM []
CONST uint8_t T_CGRAM []

Detailed Description

This file includes driver for the dot matrix LCD Module mounted on STM8L15xx-EVAL board.

Author:
MCD Application Team
Version:
V1.0.1
Date:
30-September-2014 Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm8s_eval_lcd.c.

STM8 Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM8 8-bit Microcontrollers platform visit www.st.com