ATMEGA163L-4AC Atmel, ATMEGA163L-4AC Datasheet - Page 94

IC AVR MCU 16K A/D 2.7V 44TQFP

ATMEGA163L-4AC

Manufacturer Part Number
ATMEGA163L-4AC
Description
IC AVR MCU 16K A/D 2.7V 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA163L-4AC

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
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
0°C ~ 70°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
94
ATmega163(L)
wait9:in
nop
sbrs
rjmp
in
cpi
brne
in
ldi
out
sbrs
rjmp
in
cpi
brne
in
nop
ldi
out
r16, TWINT
wait8
r16, TWSR
r16, MR_DATA_ACK ; different from MR_DATA_ACK, go to ERROR
ERROR
r16, TWDR
r16, (1<<TWINT) | (1<<TWEN)
TWCR, r16
r16,TWCR
r16, TWINT
wait9
r16, TWSR
r16, MR_DATA_NACK ; different from MR_DATA_NACK, go to ERROR
ERROR
r16, TWDR
r16, (1<<TWINT) | (1<<TWSTO) | (1<<TWEN)
TWCR, r16
; data has been received and ACK returned
; Check value of TWI Status Register. If status
; Input received data from TWDR.
;<do something with received data>
; Clear TWINT bit in TWCR to start reception of
; data. Not setting TWEA causes NACK to be
; returned after reception of next data byte
; receive last data byte. Signal this to slave by
; returning NACK
; Wait for TWINT flag set. This indicates that
; data has been received and NACK returned
; Check value of TWI Status Register. If status
; Input received data from TWDR.
;<do something with received data>
; Send STOP signal
1142E–AVR–02/03

Related parts for ATMEGA163L-4AC