ATMEGA163-8PC Atmel, ATMEGA163-8PC Datasheet - Page 129

IC AVR MCU 16K A/D 8MHZ 40DIP

ATMEGA163-8PC

Manufacturer Part Number
ATMEGA163-8PC
Description
IC AVR MCU 16K A/D 8MHZ 40DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA163-8PC

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
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Port D as General Digital I/O
Alternate Functions of PORTD • OC2 – PORTD, Bit 7
1142E–AVR–02/03
PDn, General I/O pin: The DDDn bit in the DDRD Register selects the direction of this
pin. If DDDn is set (one), PDn is configured as an output pin. If DDDn is cleared (zero),
PDn is configured as an input pin. If PDn is set (one) when configured as an input pin
the MOS pull up resistor is activated. To switch the pull up resistor off the PDn has to be
cleared (zero), the pin has to be configured as an output pin, or the PUD bit has to be
set. The Port D pins are tri-stated when a reset condition becomes active, even if the
clock is not running.
Table 50. DDDn Bits on Port D Pins
Note:
OC2, Timer/Counter2 Output Compare Match output: The PD7 pin can serve as an
external output for the Timer/Counter2 Output Compare. The pin has to be configured
as an output (DDD7 set (one)) to serve this function. See the Timer description on how
to enable this function. The OC2 pin is also the output pin for the PWM mode timer
function.
• ICP – PORTD, Bit 6
IC P – Inp u t C ap tu re Pin : Th e PD 6 pin ca n a ct a s an In p ut Ca p tu re p in fo r
Timer/Counter1. The pin has to be configured as an input (DDD6 cleared(zero)) to serve
this function. See the timer description on how to enable this function.
• OC1A – PORTD, Bit 5
OC1A, Output Compare Match A output: The PD5 pin can serve as an external output
for the Timer/Counter1 Output Compare A. The pin has to be configured as an output
(DDD5 set (one)) to serve this function. See the timer description on how to enable this
function. The OC1A pin is also the output pin for the PWM mode timer function.
• OC1B – PORTD, Bit 4
OC1B, Output Compare Match B output: The PD4 pin can serve as an external output
for the Timer/Counter1 Output Compare B. The pin has to be configured as an output
(DDD4 set (one)) to serve this function. See the timer description on how to enable this
function. The OC1B pin is also the output pin for the PWM mode timer function.
• INT1 – PORTD, Bit 3
INT1, External Interrupt Source 1: The PD3 pin can serve as an External Interrupt
Source to the MCU. See the interrupt description for further details, and how to enable
the source.
DDDn
0
0
0
1
1
1. n: 7,6…0, pin number.
PORTDn
0
1
1
0
1
PUD
1
0
x
x
x
Output
Output
Input
Input
Input
I/O
(1)
Pull Up
Yes
No
No
No
No
Comment
Tri-state (Hi-Z)
Tri-state (Hi-Z)
PDn will source current if ext. pulled low.
Push-pull Zero Output
Push-pull One Output
ATmega163(L)
129

Related parts for ATMEGA163-8PC