ATMEGA169-16AI SL710 Atmel, ATMEGA169-16AI SL710 Datasheet - Page 219

IC AVR MCU 16K 16MHZ IND 64TQFP

ATMEGA169-16AI SL710

Manufacturer Part Number
ATMEGA169-16AI SL710
Description
IC AVR MCU 16K 16MHZ IND 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA169-16AI SL710

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
For Use With
ATAVRBFLY - KIT EVALUATION AVR BUTTERFLYATSTK502 - MOD EXPANSION AVR STARTER 500
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
ATMEGA16916ASL710
LCD Control and Status
Register A – LCDCRA
2514P–AVR–07/06
Note:
• 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,
Bit
Read/Write
Initial Value
Assembly Code Example
C Code Example
LCD_disable:
Wait_1:
Wait_2:
Void LCD_disable(void);
{
while ( !(LCDCRA & (1<<LCDIF)) )
while ( !(LCDCRA & (1<<LCDIF)) )
}
; Wait until a new frame is started.
lds
sbrs r16, LCDIF
rjmp Wait_1
; Set LCD Blanking and clear interrupt flag
; by writing a logical one to the flag.
ldi
sts
; Wait until LCD Blanking is effective.
lds
sbrs r16, LCDIF
rjmp Wait_2
; Disable LCD.
ldi
sts
ret
/* Wait until a new frame is started. */
;
/* Set LCD Blanking and clear interrupt flag */
/* by writing a logical one to the flag. */
LCDCRA = (1<<LCDEN)|(1<<LCDIF)|(1<<LCDBL);
/* Wait until LCD Blanking is effective. */
;
/* Disable LCD */
LCDCRA = (0<<LCDEN);
1. See “About Code Examples” on page 6.
r16, LCDCRA
r16, (1<<LCDEN)|(1<<LCDIF)|(1<<LCDBL)
LCDCRA, r16
r16, LCDCRA
r16, (0<<LCDEN)
LCDCRA, r16
LCDEN
R/W
7
0
(1)
LCDAB
R/W
6
0
(1)
R
5
0
LCDIF
R/W
4
0
LCDIE
R/W
3
0
R
2
0
ATmega169/V
R
1
0
LCDBL
R/W
0
0
LCDCRA
219

Related parts for ATMEGA169-16AI SL710