STM8L15x Standard Peripherals Drivers: LCD_Registers_Bits_Definition

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

LCD_Registers_Bits_Definition

Defines

#define LCD_CR1_B2   ((uint8_t)0x01)
#define LCD_CR1_BLINK   ((uint8_t)0xC0)
#define LCD_CR1_BLINKF   ((uint8_t)0x38)
#define LCD_CR1_DUTY   ((uint8_t)0x06)
#define LCD_CR2_CC   ((uint8_t)0x0E)
#define LCD_CR2_HD   ((uint8_t)0x10)
#define LCD_CR2_PON   ((uint8_t)0xE0)
#define LCD_CR2_VSEL   ((uint8_t)0x01)
#define LCD_CR3_DEAD   ((uint8_t)0x07)
#define LCD_CR3_LCDEN   ((uint8_t)0x40)
#define LCD_CR3_SOF   ((uint8_t)0x10)
#define LCD_CR3_SOFC   ((uint8_t)0x08)
#define LCD_CR3_SOFIE   ((uint8_t)0x20)
#define LCD_CR4_B4   ((uint8_t)0x01)
#define LCD_CR4_DUTY8   ((uint8_t)0x02)
#define LCD_CR4_MAPCOM   ((uint8_t)0x08)
#define LCD_CR4_PAGECOM   ((uint8_t)0x04)
#define LCD_FRQ_DIV   ((uint8_t)0x0F)
#define LCD_FRQ_PS   ((uint8_t)0xF0)

Define Documentation

#define LCD_CR1_B2   ((uint8_t)0x01)

Bias selector bit mask

Definition at line 2685 of file stm8l15x.h.

Referenced by LCD_Init().

#define LCD_CR1_BLINK   ((uint8_t)0xC0)

Blink bits mask

Definition at line 2682 of file stm8l15x.h.

Referenced by LCD_BlinkConfig().

#define LCD_CR1_BLINKF   ((uint8_t)0x38)

Blink frequency bits mask

Definition at line 2683 of file stm8l15x.h.

Referenced by LCD_BlinkConfig().

#define LCD_CR1_DUTY   ((uint8_t)0x06)

Duty bits mask

Definition at line 2684 of file stm8l15x.h.

Referenced by LCD_Init().

#define LCD_CR2_CC   ((uint8_t)0x0E)

Contrast control bits mask

Definition at line 2690 of file stm8l15x.h.

Referenced by LCD_ContrastConfig().

#define LCD_CR2_HD   ((uint8_t)0x10)

High drive enable bit mask

Definition at line 2689 of file stm8l15x.h.

Referenced by LCD_HighDriveCmd().

#define LCD_CR2_PON   ((uint8_t)0xE0)

Pulse on duration bits mask

Definition at line 2688 of file stm8l15x.h.

Referenced by LCD_PulseOnDurationConfig().

#define LCD_CR2_VSEL   ((uint8_t)0x01)

Voltage source bit mask

Definition at line 2691 of file stm8l15x.h.

Referenced by LCD_Init().

#define LCD_CR3_DEAD   ((uint8_t)0x07)

DEAD time bits mask

Definition at line 2697 of file stm8l15x.h.

Referenced by LCD_DeadTimeConfig().

#define LCD_CR3_LCDEN   ((uint8_t)0x40)

Enable bit mask

Definition at line 2693 of file stm8l15x.h.

Referenced by LCD_Cmd().

#define LCD_CR3_SOF   ((uint8_t)0x10)

Start of frame bit mask

Definition at line 2695 of file stm8l15x.h.

Referenced by LCD_GetFlagStatus(), and LCD_GetITStatus().

#define LCD_CR3_SOFC   ((uint8_t)0x08)

Clear start of frame bit mask

Definition at line 2696 of file stm8l15x.h.

Referenced by LCD_ClearFlag(), and LCD_ClearITPendingBit().

#define LCD_CR3_SOFIE   ((uint8_t)0x20)

Start of frame interrupt enable mask

Definition at line 2694 of file stm8l15x.h.

Referenced by LCD_GetITStatus(), and LCD_ITConfig().

#define LCD_CR4_B4   ((uint8_t)0x01)

Enable the 1/4 bias

Definition at line 2705 of file stm8l15x.h.

Referenced by LCD_Init().

#define LCD_CR4_DUTY8   ((uint8_t)0x02)

Enable the 1/8 duty

Definition at line 2704 of file stm8l15x.h.

Referenced by LCD_Init().

#define LCD_CR4_MAPCOM   ((uint8_t)0x08)

Select the mapping scheme for the COM[7:4]

Definition at line 2702 of file stm8l15x.h.

#define LCD_CR4_PAGECOM   ((uint8_t)0x04)

Select the LCD RAM page sector

Definition at line 2703 of file stm8l15x.h.

Referenced by LCD_PageSelect().

#define LCD_FRQ_DIV   ((uint8_t)0x0F)

Divider bits mask

Definition at line 2699 of file stm8l15x.h.

Referenced by LCD_Init().

#define LCD_FRQ_PS   ((uint8_t)0xF0)

16 bits prescaler bits mask

Definition at line 2700 of file stm8l15x.h.

Referenced by LCD_Init().

STM8S Firmware Library: Overview

 

 

 

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