STM8L15x Standard Peripherals Drivers: LCD_Contrast

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

element values correspond to the bits position More...

Defines

#define IS_LCD_CONTRAST(CONTRAST)

Enumerations

enum  LCD_Contrast_TypeDef {
  LCD_Contrast_Level_0 = (uint8_t)0x00, LCD_Contrast_Level_1 = (uint8_t)0x02, LCD_Contrast_Level_2 = (uint8_t)0x04, LCD_Contrast_Level_3 = (uint8_t)0x06,
  LCD_Contrast_Level_4 = (uint8_t)0x08, LCD_Contrast_Level_5 = (uint8_t)0x0A, LCD_Contrast_Level_6 = (uint8_t)0x0C, LCD_Contrast_Level_7 = (uint8_t)0x0E
}

Detailed Description

element values correspond to the bits position


Define Documentation

#define IS_LCD_CONTRAST (   CONTRAST)
Value:
(((CONTRAST) == LCD_Contrast_Level_0) || \
                                   ((CONTRAST) == LCD_Contrast_Level_1) || \
                                   ((CONTRAST) == LCD_Contrast_Level_2) || \
                                   ((CONTRAST) == LCD_Contrast_Level_3) || \
                                   ((CONTRAST) == LCD_Contrast_Level_4) || \
                                   ((CONTRAST) == LCD_Contrast_Level_5) || \
                                   ((CONTRAST) == LCD_Contrast_Level_6) || \
                                   ((CONTRAST) == LCD_Contrast_Level_7))

Definition at line 185 of file stm8l15x_lcd.h.

Referenced by LCD_ContrastConfig().


Enumeration Type Documentation

Enumerator:
LCD_Contrast_Level_0 

Medium Density / High Density Maximum Voltage = 2.60V / 2.60V

LCD_Contrast_Level_1 

Medium Density / High Density Maximum Voltage = 2.70V / 2.73V

LCD_Contrast_Level_2 

Medium Density / High Density Maximum Voltage = 2.80V / 2.86V

LCD_Contrast_Level_3 

Medium Density / High Density Maximum Voltage = 2.90V / 2.99V

LCD_Contrast_Level_4 

Medium Density / High Density Maximum Voltage = 3.00V / 3.12V

LCD_Contrast_Level_5 

Medium Density / High Density Maximum Voltage = 3.10V / 3.25V

LCD_Contrast_Level_6 

Medium Density / High Density Maximum Voltage = 3.20V / 3.38V

LCD_Contrast_Level_7 

Medium Density / High Density Maximum Voltage = 3.30V / 3.51V

Definition at line 174 of file stm8l15x_lcd.h.

STM8S Firmware Library: Overview

 

 

 

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