Atmega169v/l – Rainbow Electronics Atmega169L User Manual
Page 66

66
ATmega169V/L
2514A–AVR–08/02
• XCK/AIN0/PCINT2 – Port E, Bit 2
XCK, USART External Clock. The Data Direction Register (DDE2) controls whether the
clock is output (DDE2 set) or input (DDE2 cleared). The XCK pin is active only when the
USART operates in synchronous mode.
AIN0 – Analog Comparator Positive input. This pin is directly connected to the positive
input of the Analog Comparator.
PCINT2, Pin Change Interrupt Source 2: The PE2 pin can serve as an external interrupt
source.
• TXD/PCINT1 – Port E, Bit 1
TXD0, UART0 Transmit pin.
PCINT1, Pin Change Interrupt Source 1: The PE1 pin can serve as an external interrupt
source.
• RXD/PCINT0 – Port E, Bit 0
RXD, USART Receive pin. Receive Data (Data input pin for the USART). When the
USART Receiver is enabled this pin is configured as an input regardless of the value of
DDE0. When the USART forces this pin to be an input, a logical one in PORTE0 will turn
on the internal pull-up.
PCINT0, Pin Change Interrupt Source 0: The PE0 pin can serve as an external interrupt
source.
Table 39 and Table 40 relates the alternate functions of Port E to the overriding signals
shown in Figure 25 on page 55.
Note:
1. CKOUT is one if the CKOUT Fuse is programmed
Table 39. Overriding Signals for Alternate Functions PE7..PE4
Signal
Name
PE7/PCINT7
PE6/DO/
PCINT6
PE5/DI/SDA/
PCINT5
PE4/USCK/SCL/
PCINT4
PUOE
0
0
USI_TWO-WIRE
0
PUOV
0
0
0
0
DDOE
CKOUT
0
USI_TWO-WIRE
USI_TWO-WIRE
DDOV
1
0
(SDA + PORTE5) •
DDE5
(USI_SCL_HOLD +
PORTE4) + DDE4
PVOE
CKOUT
USI_THREE-
WIRE
USI_TWO-WIRE •
DDE5
USI_TWO-WIRE •
DDE4
PVOV
clk
I/O
DO
0
0
PTOE
–
–
–
USITC
DIEOE
PCINT7 •
PCIE0
PCINT6 •
PCIE0
(PCINT5 • PCIE0)
+ USISIE
(PCINT4 • PCIE0) +
USISIE
DIEOV
1
1
1
1
DI
PCINT7
INPUT
PCINT6
INPUT
DI/SDA INPUT
PCINT5 INPUT
USCKL/SCL INPUT
PCINT4 INPUT
AIO
–
–
–
–