STM8L15x Standard Peripherals Drivers: LCD RAM memory write functions

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

LCD RAM memory write functions

LCD RAM memory write functions. More...

Functions

void LCD_PageSelect (LCD_PageSelection_TypeDef LCD_PageSelection)
 Select the LCD page where the data will be written.
void LCD_WriteRAM (LCD_RAMRegister_TypeDef LCD_RAMRegister, uint8_t LCD_Data)
 Writes a word in the specific LCD RAM.

Detailed Description

LCD RAM memory write functions.

 ===============================================================================
                           LCD RAM memory write functions
 ===============================================================================  


Function Documentation

void LCD_PageSelect ( LCD_PageSelection_TypeDef  LCD_PageSelection)

Select the LCD page where the data will be written.

Parameters:
LCD_Page,:The accessed LCD page. This parameter can be one of the following values:
  • LCD_PageSelection_FirstPage: The LCD RAM is selected as the first page
  • LCD_PageSelection_SecondPage: The LCD RAM is selected as the second page
Return values:
None

Definition at line 486 of file stm8l15x_lcd.c.

References IS_LCD_PAGE_SELECT, LCD, and LCD_CR4_PAGECOM.

void LCD_WriteRAM ( LCD_RAMRegister_TypeDef  LCD_RAMRegister,
uint8_t  LCD_Data 
)

Writes a word in the specific LCD RAM.

Parameters:
LCD_RAMRegister,:specifies the LCD Contrast. This parameter can be one of the following values:
  • LCD_RAMRegister_0: LCD RAM Register 0
  • LCD_RAMRegister_1: LCD RAM Register 1
  • LCD_RAMRegister_2: LCD RAM Register 2
  • LCD_RAMRegister_3: LCD RAM Register 3
  • LCD_RAMRegister_4: LCD RAM Register 4
  • LCD_RAMRegister_5: LCD RAM Register 5
  • LCD_RAMRegister_6: LCD RAM Register 6
  • LCD_RAMRegister_7: LCD RAM Register 7
  • LCD_RAMRegister_8: LCD RAM Register 8
  • LCD_RAMRegister_9: LCD RAM Register 9
  • LCD_RAMRegister_10: LCD RAM Register 10
  • LCD_RAMRegister_11: LCD RAM Register 11
  • LCD_RAMRegister_12: LCD RAM Register 12
  • LCD_RAMRegister_13: LCD RAM Register 13
  • LCD_RAMRegister_14: LCD RAM Register 14
  • LCD_RAMRegister_15: LCD RAM Register 15
  • LCD_RAMRegister_15: LCD RAM Register 16
  • LCD_RAMRegister_15: LCD RAM Register 17
  • LCD_RAMRegister_15: LCD RAM Register 18
  • LCD_RAMRegister_15: LCD RAM Register 19
  • LCD_RAMRegister_15: LCD RAM Register 20
  • LCD_RAMRegister_15: LCD RAM Register 21
LCD_Data,:specifies LCD Data Value to be written.
Return values:
None

Definition at line 468 of file stm8l15x_lcd.c.

References IS_LCD_RAM_REGISTER, and LCD.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com