STM8L15x Standard Peripherals Drivers: LCD_Duty

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

element values correspond to the bits position More...

Defines

#define IS_LCD_DUTY(DUTY)

Enumerations

enum  LCD_Duty_TypeDef {
  LCD_Duty_Static = (uint8_t)0x00, LCD_Duty_1_2 = (uint8_t)0x02, LCD_Duty_1_3 = (uint8_t)0x04, LCD_Duty_1_4 = (uint8_t)0x06,
  LCD_Duty_1_8 = (uint8_t)0x20
}

Detailed Description

element values correspond to the bits position


Define Documentation

#define IS_LCD_DUTY (   DUTY)
Value:
(((DUTY) == LCD_Duty_Static) || ((DUTY) == LCD_Duty_1_2) || \
                           ((DUTY) == LCD_Duty_1_3) || ((DUTY) == LCD_Duty_1_4) || \
                           ((DUTY) == LCD_Duty_1_8))

Definition at line 57 of file stm8l15x_lcd.h.

Referenced by LCD_Init().


Enumeration Type Documentation

Enumerator:
LCD_Duty_Static 

Static duty

LCD_Duty_1_2 

1/2 duty

LCD_Duty_1_3 

1/3 duty

LCD_Duty_1_4 

1/4 duty

LCD_Duty_1_8 

1/8 duty

Definition at line 49 of file stm8l15x_lcd.h.

STM8S Firmware Library: Overview

 

 

 

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