atmega161-4pi ATMEL Corporation, atmega161-4pi Datasheet - Page 107

no-image

atmega161-4pi

Manufacturer Part Number
atmega161-4pi
Description
8-bit Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Alternate Functions of Port E
1228D–AVR–02/07
Table 36. DDEn Bits on Port E Pins
Note:
The alternate pin configuration is as follows:
• OC1B
OC1B, Output compare match output: The PE2 pin can serve as an external output
when the Timer/Counter1 compare matches. The PE2 pin has to be configured as an
output (DDE2 set [one]) to serve this function. See “Timer/Counter1” on page 49 for fur-
ther details. The OC1B pin is also the output pin for the PWM mode timer function.
• ALE
ALE: When the External Memory is enabled, the PE1 pin serves as the Dress Latch
Enable. Note that enabling of External Memory will override both the direction and port
value. See “Interface to External Memory” on page 84 for a detailed description.
• ICP/INT2
ICP, Input Capture pin: The PE0 pin can serve as the Input Capture source for
Timer/Counter 1. See page 54 for a detailed description.
INT2, External Interrupt source 2: The PE0 pin can serve as an external interrupt source
to the MCU. See “Extended MCU Control Register – EMCUCR” on page 36 for further
details.
DDEn
0
0
1
1
1. n: 2,1,0, pin number.
Port E, Bit 1
Port E, Bit 2
PORTEn
Port E, Bit 0
0
1
0
1
Output
Output
Input
Input
I/O
Pull-up
Yes
(1)
No
No
No
Comment
Tri-state (high-Z)
PEn will source current if ext. pulled low.
Push-pull Zero Output
Push-pull One Output
ATmega161(L)
107

Related parts for atmega161-4pi