ATMEGA323-8AC Atmel, ATMEGA323-8AC Datasheet - Page 151

IC AVR MCU 32K 8MHZ COM 44TQFP

ATMEGA323-8AC

Manufacturer Part Number
ATMEGA323-8AC
Description
IC AVR MCU 32K 8MHZ COM 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA323-8AC

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
4.5 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
Other names
ATMEGA3238AC
Port D
The Port D Data Register –
PORTD
The Port D Data Direction
Register – DDRD
The Port D Input Pins Address
– PIND
1457G–AVR–09/03
Port D is an 8-bit bi-directional I/O port with optional internal pull-up resistors.
Three I/O Memory address locations are allocated for Port D, one each for the Data
Register – PORTD, $12($32), Data Direction Register – DDRD, $11($31) and the Port D
Input Pins – PIND, $10($30). The Port D Input Pins address is read only, while the Data
Register and the Data Direction Register are read/write.
The Port D output buffers can sink 20 mA. As inputs, Port D pins that are externally
pulled low will source current if the pull-up resistors are activated. Some Port D pins
have alternate functions as shown in Table 53.
Table 53. Port D Pins Alternate Functions
The Port D Input Pins address
access to the physical value on each Port D pin. When reading PORTD, the Port D Data
Latch is read, and when reading PIND, the logical values present on the pins are read.
Bit
$12 ($32)
Read/Write
Initial Val-
ue
Bit
$11 ($31)
Read/Write
Initial Value
Bit
$10 ($30)
Read/Write
Initial Value
Port Pin
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PORTD7
PIND7
DDD7
R/W
R/W
N/A
7
0
R
7
0
7
Alternate Function
RXD (USART Input Pin)
TXD (USART Output Pin)
INT0 (External Interrupt 0 Input)
INT1 (External Interrupt 1 Input)
OC1B (Timer/Counter1 Output Compare B Match Output)
OC1A (Timer/Counter1 Output Compare A Match Output)
ICP (Timer/Counter1 Input Capture Pin)
OC2 (Timer/Counter2 Output Compare Match Output)
PORTD6
PIND6
DDD6
R/W
R/W
N/A
6
0
R
6
0
6
PORTD5
PIND5
DDD5
R/W
R/W
N/A
5
0
R
5
0
5
PIND
PORTD4
PIND4
DDD4
R/W
R/W
N/A
4
0
4
0
4
R
is not a register, and this address enables
PORTD3
PIND3
DDD3
R/W
R/W
N/A
R
3
0
3
0
3
PORTD2
PIND2
DDD2
R/W
R/W
N/A
R
2
0
2
0
2
ATmega323(L)
PORTD1
PIND1
DDD1
R/W
R/W
N/A
R
1
0
1
0
1
PORTD0
PIND0
DDD0
R/W
R/W
N/A
0
0
0
R
0
0
PORTD
DDRD
PIND
151

Related parts for ATMEGA323-8AC