ATMEGA48V_11 ATMEL [ATMEL Corporation], ATMEGA48V_11 Datasheet - Page 84

no-image

ATMEGA48V_11

Manufacturer Part Number
ATMEGA48V_11
Description
8-bit Atmel Microcontroller with 4/8/16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
14.3.3
2545T–AVR–05/11
Alternate functions of port D
The port D pins with alternate functions are shown in
Table 14-9.
The alternate pin configuration is as follows:
• AIN1/OC2B/PCINT23 – Port D, bit 7
AIN1, Analog Comparator Negative Input. Configure the port pin as input with the internal pull-up
switched off to avoid the digital port function from interfering with the function of the Analog
Comparator.
PCINT23: Pin Change Interrupt source 23. The PD7 pin can serve as an external interrupt
source.
• AIN0/OC0A/PCINT22 – Port D, bit 6
AIN0, Analog Comparator Positive Input. Configure the port pin as input with the internal pull-up
switched off to avoid the digital port function from interfering with the function of the Analog
Comparator.
OC0A, Output Compare Match output: The PD6 pin can serve as an external output for the
Timer/Counter0 Compare Match A. The PD6 pin has to be configured as an output (DDD6 set
(one)) to serve this function. The OC0A pin is also the output pin for the PWM mode timer
function.
PCINT22: Pin Change Interrupt source 22. The PD6 pin can serve as an external interrupt
source.
Port pin
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
Port D pins alternate functions.
Alternate function
AIN1 (analog comparator negative input)
PCINT23 (pin change interrupt 23)
AIN0 (analog comparator positive input)
OC0A (Timer/Counter0 output compare match A output)
PCINT22 (pin change interrupt 22)
T1 (Timer/Counter 1 external counter input)
OC0B (Timer/Counter0 output compare match B output)
PCINT21 (pin change interrupt 21)
XCK (USART external clock input/output)
T0 (Timer/Counter0 external counter input)
PCINT20 (pin change interrupt 20)
INT1 (external interrupt 1 input)
OC2B (Timer/Counter2 output compare match B output)
PCINT19 (pin change interrupt 19)
INT0 (external interrupt 0 input)
PCINT18 (pin change interrupt 18)
TXD (USART output pin)
PCINT17 (pin change interrupt 17)
RXD (USART input pin)
PCINT16 (pin change interrupt 16)
Table
14-9.
ATmega48/88/168
84

Related parts for ATMEGA48V_11