ATMEGA163 ATMEL [ATMEL Corporation], ATMEGA163 Datasheet - Page 19

no-image

ATMEGA163

Manufacturer Part Number
ATMEGA163
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:
ATMEGA163-8AC
Manufacturer:
ATMEL
Quantity:
1 600
Part Number:
ATMEGA163-8AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA163L-4AI
Manufacturer:
ATMEL
Quantity:
984
1142E–AVR–02/03
Table 2. ATmega163 I/O Space (Continued)
Note:
All ATmega163 I/Os and peripherals are placed in the I/O space. The I/O locations are
accessed by the IN and OUT instructions, transferring data between the 32 general pur-
pose working registers and the I/O space. I/O Registers within the address range $00 -
the value of single bits can be checked by using the SBIS and SBIC instructions. Refer
to the instruction set chapter for more details. When using the I/O specific commands IN
and OUT, the I/O addresses $00 - $3F must be used. When addressing I/O Registers as
SRAM, $20 must be added to these addresses. All I/O Register addresses throughout
this document are shown with the SRAM address in parentheses.
For compatibility with future devices, reserved bits should be written to zero if accessed.
Reserved I/O memory addresses should never be written.
Some of the Status Flags are cleared by writing a logical one to them. Note that the CBI
and SBI instructions will operate on all bits in the I/O Register, writing a one back into
any Flag read as set, thus clearing the Flag. The CBI and SBI instructions work with reg-
isters $00 to $1F only.
The I/O and Peripherals Control Registers are explained in the following sections.
$1F are directly bit-accessible using the SBI and CBI instructions. In these registers,
(SRAM Address)
I/O Address
$0D ($2D)
$0C ($2C)
$0F ($2F)
$0E ($2E)
$0B ($2B)
$0A ($2A)
$09 ($29)
$08 ($28)
$07 ($27)
$06 ($26)
$05 ($25)
$04 ($24)
$03 ($23)
$02 ($22)
$01 ($21)
$00 ($20)
1. Reserved and unused locations are not shown in the table.
ADMUX
UCSRA
UCSRB
ADCSR
TWDR
TWAR
TWSR
TWBR
SPDR
UBRR
ACSR
ADCH
Name
SPSR
SPCR
ADCL
UDR
Function
SPI I/O Data Register
SPI Status Register
SPI Control Register
UART I/O Data Register
UART Control and Status Register A
UART Control and Status Register B
UART Baud Rate Register
Analog Comparator Control and Status Register
ADC Multiplexer Select Register
ADC Control and Status Register
ADC Data Register High
ADC Data Register Low
Two-wire Serial Interface Data Register
Two-wire Serial Interface (Slave) Address Register
Two-wire Serial Interface Status Register
Two-wire Serial Interface Bit Rate Register
(1)
ATmega163(L)
19

Related parts for ATMEGA163