ATMEGA169 ATMEL [ATMEL Corporation], ATMEGA169 Datasheet - Page 218

no-image

ATMEGA169

Manufacturer Part Number
ATMEGA169
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA169-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169-16AI SL709
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169-16AI SL710
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA169P-15AT
Manufacturer:
PANASONIC
Quantity:
301
Part Number:
ATMEGA169P-15AT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA169P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA169PA-MU
Manufacturer:
ATMEL
Quantity:
31
Part Number:
ATMEGA169PAAU
Manufacturer:
INF
Quantity:
4 275
Disabling the LCD
218
ATmega169/V
In the example below we assume SEG10 and COM1 and SEG4 in COM0 are the only
segments changed from frame to frame. Data are stored in r20 and r21 for simplicity
Note:
In some application it may be necessary to disable the LCD. This is the case if the MCU
enters Power-down mode where no clock source is present.
The LCD should be completely discharged before being disabled. No DC voltage should
be left across any segment. The best way to achieve this is to use the LCD Blanking fea-
ture that drives all segment pins and common pins to GND.
When the LCD is disabled, port function is activated again. Therefore, the user must
check that port pins connected to a LCD terminal are either tri-state or output low (sink).
Assembly Code Example
C Code Example
LCD_update:
Void LCD_update(unsigned char data1, data2);
{
}
; LCD Blanking and Low power waveform are unchanged.
; Update Display memory.
sts
sts
ret
/* LCD Blanking and Low power waveform are unchanged. */
/* Update Display memory. */
LCDDR0 = data1;
LCDDR6 = data2;
1. See “About Code Examples” on page 6.
LCDDR0, r20
LCDDR6, r21
(1)
(1)
2514P–AVR–07/06

Related parts for ATMEGA169