Datasheet
80
ATmega162/V
2513G–AVR–03/05
Alternate Functions of Port E The Port E pins with alternate functions are shown in Table 41.
The alternate pin configuration is as follows:
• OC1B – Port E, Bit 2
OC1B, Output Compare Match B output: The PE2 pin can serve as an external output
for the Timer/Counter1 Output Compare B. The pin has to be configured as an output
(DDE0 set (one)) to serve this function. The OC1B pin is also the output pin for the PWM
mode timer function.
Table 42 relate the alternate functions of Port E to the overriding signals shown in Figure
32 on page 67.
•ALE – Port E, Bit 1
ALE is the external data memory Address Latch Enable signal.
• ICP1/INT2 – Port E, Bit 0
ICP1, Input Capture Pin: The PE0 pin can act as an Input Capture pin for
Timer/Counter1.
INT2, External Interrupt Source 2: The PE0 pin can serve as an external interrupt
source.
Table 41. Port E Pins Alternate Functions
Port Pin Alternate Function
PE2 OC1B (Timer/Counter1 Output CompareB Match Output)
PE1 ALE (Address Latch Enable to external memory)
PE0
ICP1 (Timer/Counter1 Input Capture Pin)
INT2 (External Interrupt 2 Input)
Table 42. Overriding Signals for Alternate Functions PE2..PE0
Signal Name PE2 PE1 PE0
PUOE 0 SRE 0
PUOV 0 0 0
DDOE 0 SRE 0
DDOV 0 1 0
PVOE OC1B ENABLE SRE 0
PVOV OC1B ALE 0
DIEOE 0 0 INT2 ENABLED
DIEOV 0 0 1
DI 0 0 INT2 INPUT/ ICP1 INPUT
AIO – – –