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

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
1228D–AVR–02/07
• TXD1/AIN1
AIN1, Analog Comparator Negative Input. This pin also serves as the negative input of
the On-chip Analog Comparator.
TXD1, Transmit Data (Data output pin for the UART1). When the UART1 Transmitter is
enabled, this pin is configured as an output regardless of the value of DDRB3.
• RXD1/AIN0
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
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
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.
Port B, Bit 1
Port B, Bit 0
Port B, Bit 3
Port B, Bit 2
ATmega161(L)
93

Related parts for atmega161-4pi