91
ATmega161(L)
1228B–09/01
• RXD1/AIN0
–
Port B, Bit 2
AIN0, Analog Comparator Positive Input. This pin also serves as the positive input of the
on-chip Analog Comparator.
RXD1, Receive Data (Data input pin for the UART1). When the UART1 receiver is
enabled, this pin is configured as an input regardless of the value of DDRB2. When the
UART1 forces this pin to be an input, a logical “1” in PORTB2 will turn on the internal
pull-up.
• OC2/T1
–
Port B, Bit 1
T1: Timer/Counter1 counter source. See “Timer/Counter1” on page 49 for further
details.
OC2, Output compare match output: The PB1 pin can serve as an external output when
the Timer/Counter2 compare matches. The PB1 pin has to be configured as an output
(DDB1 set [one]) to serve this function. See “8-bit Timer/Counters T/C0 and T/C2” on
page 40 for further details. The OC2 pin is also the output pin for the PWM mode timer
function.
• OC0/T0
–
Port B, Bit 0
T0: Timer/Counter0 counter source. See “8-bit Timer/Counters T/C0 and T/C2” on page
40 further details.
OC0, Output compare match output: The PB0 pin can serve as an external output when
the Timer/Counter0 compare matches. The PB0 pin has to be configured as an output
(DDB0 set [one]) to serve this function. See “8-bit Timer/Counters T/C0 and T/C2” on
page 40 for further details and how to enable the output. The OC0 pin is also the output
pin for the PWM mode timer function.