Datasheet
233
ATmega169A/PA/329A/PA/649A/P/3290A/PA/6490A/P [DATASHEET]
8284E–AVR–02/2013
24.5 Register description
24.5.1 LCDCRA – LCD Control and Status Register A
• Bit 7 – LCDEN: LCD Enable
Writing this bit to one enables the LCD Controller/Driver. By writing it to zero, the LCD is turned off immediately.
Turning the LCD Controller/Driver off while driving a display, enables ordinary port function, and DC voltage can be
applied to the display if ports are configured as output. It is recommended to drive output to ground if the LCD Con-
troller/Driver is disabled to discharge the display.
• Bit 6 – LCDAB: LCD Low Power Waveform
When LCDAB is written logic zero, the default waveform is output on the LCD pins. When LCDAB is written logic
one, the Low Power Waveform is output on the LCD pins. If this bit is modified during display operation the change
takes place at the beginning of a new frame.
• Bit 5 – Reserved
This bit is reserved and will always read as zero.
• Bit 4 – LCDIF: LCD Interrupt Flag
This bit is set by hardware at the beginning of a new frame, at the same time as the display data is updated. The
LCD Start of Frame Interrupt is executed if the LCDIE bit and the I-bit in SREG are set. LCDIF is cleared by hard-
ware when executing the corresponding Interrupt Handling Vector. Alternatively, writing a logical one to the flag
clears LCDIF. Beware that if doing a Read-Modify-Write on LCDCRA, a pending interrupt can be disabled. If Low
Power Waveform is selected the Interrupt Flag is set every second frame.
• Bit 3 – LCDIE: LCD Interrupt Enable
When this bit is written to one and the I-bit in SREG is set, the LCD Start of Frame Interrupt is enabled.
• Bit 2 – LCDBD: LCD Buffer Disable
The intermediate voltage levels in the LCD are generated by an internal resistive voltage divider and passed
through buffer to increase the current driving capability. By writing this bit to one the buffers are turned off and
bypassed, resulting in decreased power consumption. The total resistance of the voltage divider is nominally 400
k between LCDCAP and GND.
• Bit 1 – LCDCCD: LCD Contrast Control Disable
Writing this bit to one disables the internal power supply for the LCD driver. The desired voltage must be applied to
the LCDCAP pin from an external power supply. To avoid conflict between internal and external power supply, this
bit must be written as '1' prior to or simultaneously with writing '1' to the LCDEN bit.
• Bit 0 – LCDBL: LCD Blanking
When this bit is written to one, the display will be blanked after completion of a frame. All segment and common
pins will be driven to ground.
Bit 76543210
(0xE4) LCDEN LCDAB
– LCDIF LCDIE LCDBD LCDCCD LCDBL LCDCRA
Read/Write R/W R/W R R/W R/W R R R/W
Initial Value00000000