atmega163l ATMEL Corporation, atmega163l Datasheet - Page 129
atmega163l
Manufacturer Part Number
atmega163l
Description
Atmega163 8-bit Avr Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1.ATMEGA163L.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
atmega163l-4AI
Manufacturer:
ATMEL
Quantity:
984
- Current page: 129 of 187
- Download datasheet (3Mb)
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 atmega163l
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: