2
Most read
3
Most read
5
Most read
Pin Description of ATmega32
VCC Digital supply voltage.
GND Ground.
Port A (PA7..PA0) Port A serves as the analog inputs to the A/D Converter or 8-bit
bi-directional I/O port (if the A/D Converter is not used). Port pins can provide
internal pull-up resistors (selected for each bit).
Port B (PB7..PB0) Port B is an 8-bit bi-directional I/O port with internal pull-up resistors
(selected for each bit). Port B also serves the functions of various special features.
• SCK – Port B, Bit 7
SCK: Master Clock output, Slave Clock input pin for SPI. When the SPI is enabled as a
Slave, this pin is configured as an input regardless of the setting of DDB7. When the
SPI is enabled as a Master, the data direction of this pin is controlled by DDB7. When
the pin is forced by the SPI to be an input, the pull-up can still be controlled by the
PORTB7 bit.
• MISO – Port B, Bit 6
MISO: Master Data input, Slave Data output pin for SPI. When the SPI is enabled as a
Master, this pin is configured as an input regardless of the setting of DDB6. When the
SPI is enabled as a Slave, the data direction of this pin is controlled by DDB6. When
the pin is forced by the SPI to be an input, the pull-up can still be controlled by the
PORTB6 bit.
• MOSI – Port B, Bit 5
MOSI: SPI Master Data output, Slave Data input for SPI. When the SPI is enabled as a
Slave, this pin is configured as an input regardless of the setting of DDB5. When the
SPI is enabled as a Master, the data direction of this pin is controlled by DDB5. When
the pin is forced by the SPI to be an input, the pull-up can still be controlled by the
PORTB5 bit.
• SS – Port B, Bit 4
SS: Slave Select input. When the SPI is enabled as a Slave, this pin is configured as an
input regardless of the setting of DDB4. As a Slave, the SPI is activated when this pin is
driven low.
When the SPI is enabled as a Master, the data direction of this pin is controlled by
DDB4. When the pin is forced by the SPI to be an input, the pull-up can still be
controlled by the PORTB4 bit.
• AIN1/OC0 – Port B, Bit 3
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.
OC0, Output Compare Match output: The PB3 pin can serve as an external output
for the Timer/Counter0 Compare Match. The PB3 pin has to be configured as an
output (DDB3 set (one)) to serve this function. The OC0 pin is also the output pin for
the PWM mode timer function.
• AIN0/INT2 – Port B, Bit 2
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.
INT2, External Interrupt Source 2: The PB2 pin can serve as an external interrupt
source to the MCU.
• T1 – Port B, Bit 1
T1, Timer/Counter1 Counter Source.
• T0/XCK – Port B, Bit 0
T0, Timer/Counter0 Counter Source.
XCK, USART External Clock. The Data Direction Register (DDB0) controls whether the
clock is output (DDB0 set) or input (DDB0 cleared). The XCK pin is active only when
the USART operates in Synchronous mode.
Port C (PC7..PC0) Port C is an 8-bit bi-directional I/O port with internal pull-up
resistors (selected for each bit). The Port C output buffers have symmetrical drive
characteristics with both high sink and source capability. As inputs, Port C pins that
are externally pulled low will source current if the pull-up resistors are activated. The
Port C pins are tri-stated when a reset condition becomes active, even if the clock is
not running. If the JTAG interface is enabled, the pull-up resistors on pins PC5(TDI),
PC3(TMS) and PC2(TCK) will be activated even if a reset occurs. The TD0 pin is tri-
stated unless TAP states that shift out data are entered. Port C also serves the
functions of the JTAG interface and other special features of the ATmega32.
• TOSC2 – Port C, Bit 7
TOSC2, Timer Oscillator pin 2: When the AS2 bit in ASSR is set (one) to enable
asynchronous clocking of Timer/Counter2, pin PC7 is disconnected from the port,
and becomes the inverting output of the Oscillator amplifier. In this mode, a Crystal
Oscillator is connected to this pin, and the pin cannot be used as an I/O pin.
• TOSC1 – Port C, Bit 6
TOSC1, Timer Oscillator pin 1: When the AS2 bit in ASSR is set (one) to enable
asynchronous clocking of Timer/Counter2, pin PC6 is disconnected from the port,
and becomes the input of the inverting Oscillator amplifier. In this mode, a Crystal
Oscillator is connected to this pin, and the pin cannot be used as an I/O pin.
• TDI – Port C, Bit 5
TDI, JTAG Test Data In: Serial input data to be shifted in to the Instruction Register or
Data Register (scan chains). When the JTAG interface is enabled, this pin cannot be
used as an I/O pin.
• TDO – Port C, Bit 4
TDO, JTAG Test Data Out: Serial output data from Instruction Register or Data
Register. When the JTAG interface is enabled, this pin cannot be used as an I/O pin.
The TD0 pin is tri-stated unless TAP states that shifts out data are entered.
• TMS – Port C, Bit 3
TMS, JTAG Test Mode Select: This pin is used for navigating through the TAP-controller
state machine. When the JTAG interface is enabled, this pin cannot be used as an
I/O pin.
• TCK – Port C, Bit 2
TCK, JTAG Test Clock: JTAG operation is synchronous to TCK. When the JTAG
interface is enabled, this pin cannot be used as an I/O pin.
• SDA – Port C, Bit 1
SDA, Two-wire Serial Interface Data: When the TWEN bit in TWCR is set (one) to
enable the Two-wire Serial Interface, pin PC1 is disconnected from the port and
becomes the Serial Data I/O pin for the Two-wire Serial Interface. In this mode, there
is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and
the pin is driven by an open drain driver with slew-rate limitation. When this pin is
used by the Two-wire Serial Interface, the pull-up can still be controlled by the
PORTC1 bit.
• SCL – Port C, Bit 0
SCL, Two-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to
enable the Two-wire Serial Interface, pin PC0 is disconnected from the port and
becomes the Serial Clock I/O pin for the Two-wire Serial Interface. In this mode, there
is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and
the pin is driven by an open drain driver with slew-rate limitation. When this pin is
used by the Two-wire Serial Interface, the pull-up can still be controlled by the
PORTC0 bit.
Port D (PD7..PD0) Port D is an 8-bit bi-directional I/O port with internal pull-up
resistors (selected for each bit). The Port D output buffers have symmetrical drive
characteristics with both high sink and source capability. As inputs, Port D pins that
are externally pulled low will source current if the pull-up resistors are activated. The
Port D pins are tri-stated when a reset condition becomes active, even if the clock is
not running. Port D also serves the functions of various special features of the
ATmega32.
• OC2 – Port D, Bit 7
OC2, Timer/Counter2 Output Compare Match output: The PD7 pin can serve as an
external output for the Timer/Counter2 Output Compare. The pin has to be
configured as an output (DDD7 set (one)) to serve this function. The OC2 pin is also
the output pin for the PWM mode timer function.
• ICP1 – Port D, Bit 6
ICP1 – Input Capture Pin: The PD6 pin can act as an Input Capture pin for
Timer/Counter1.
• OC1A – Port D, Bit 5
OC1A, Output Compare Match A output: The PD5 pin can serve as an external
output for the Timer/Counter1 Output Compare A. The pin has to be configured as
an output (DDD5 set (one)) to serve this function. The OC1A pin is also the output pin
for the PWM mode timer function.
• OC1B – Port D, Bit 4
OC1B, Output Compare Match B output: The PD4 pin can serve as an external
output for the
Timer/Counter1 Output Compare B. The pin has to be configured as an output
(DDD4 set (one)) to serve this function. The OC1B pin is also the output pin for the
PWM mode timer function.
• INT1 – Port D, Bit 3
INT1, External Interrupt Source 1: The PD3 pin can serve as an external interrupt
source.
• INT0 – Port D, Bit 2
INT0, External Interrupt Source 0: The PD2 pin can serve as an external interrupt
source.
• TXD – Port D, Bit 1
TXD, Transmit Data (Data output pin for the USART). When the USART Transmitter is
enabled, this pin is configured as an output regardless of the value of DDD1.
• RXD – Port D, Bit 0
RXD, 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 DDD0. When the
USART forces this pin to be an input, the pull-up can still be controlled by the PORTD0
bit.
RESET Reset Input. A low level on this pin for longer than the minimum pulse length
will generate a reset, even if the clock is not running. Pulses shorter than the
minimum pulse length are not guaranteed to generate a reset.
XTAL1 Input to the inverting Oscillator amplifier and input to the internal clock
operating circuit.
XTAL2 Output from the inverting Oscillator amplifier.
AVCC AVCC is the supply voltage pin for Port A and the A/D Converter. It should
be externally connected to VCC, even if the ADC is not used. If the ADC is used, it
should be connected to VCC through a low-pass filter.
AREF AREF is the analog reference pin for the A/D Converter.

More Related Content

PPT
Fpga(field programmable gate array)
PPT
set de instrucciones primera parte de atmel
PPT
Adc interfacing
PPTX
Latches and flip flops
PPTX
Finite state machines
PDF
SPI Protocol
PPT
Intro to Arduino
Fpga(field programmable gate array)
set de instrucciones primera parte de atmel
Adc interfacing
Latches and flip flops
Finite state machines
SPI Protocol
Intro to Arduino

What's hot (20)

PPTX
Race around and master slave flip flop
PPT
PPTX
Sequential Logic Circuit
PDF
Architecture OF 8085
PPTX
LPC 2148 ARM MICROCONTROLLER
PPT
PPT
Uart 16550
PPT
Microprocessors and microcontrollers
PPT
8085 interrupts
PPT
EPROM, PROM & ROM
PPTX
UART(universal asynchronous receiver transmitter ) PPT
PPTX
INTEL 8086 MICROPROCESSOR
PDF
8155 PPI
DOCX
Microprocessor Interfacing and 8155 Features
PDF
Lpc2148 i2c
PPTX
Phase locked loop
PDF
Delays in verilog
PDF
Synchronous sequential Circuits
PPTX
Race around and master slave flip flop
Sequential Logic Circuit
Architecture OF 8085
LPC 2148 ARM MICROCONTROLLER
Uart 16550
Microprocessors and microcontrollers
8085 interrupts
EPROM, PROM & ROM
UART(universal asynchronous receiver transmitter ) PPT
INTEL 8086 MICROPROCESSOR
8155 PPI
Microprocessor Interfacing and 8155 Features
Lpc2148 i2c
Phase locked loop
Delays in verilog
Synchronous sequential Circuits
Ad

Similar to AVR Pin description a detailed explanation 1).pdf (20)

PPTX
08 ATmega328P Arduino GPIO input outpt.pptx
PDF
Atmel 8271-8-bit-avr-microcontroller-a tmega48-a-48pa-88a-88pa-168a-168pa-328...
PDF
Motorola parallel port
PPT
An Overview Study on I/O Expander with I2C and SMBus Interface
PPTX
8255_Ppi new
PDF
PPT
janakiraman I msc 4 unit
DOCX
Avr report
PDF
dspAt89 s52
PPTX
8051 microcontroller
PDF
Datasheet 89S8253.pdf
PDF
Datasheet8951
PPT
janakiraman egsp collage I msc 4 unit
PDF
Atmega16 datasheet
PDF
Atmega16 Microconntroller Data sheet
PPTX
3-8051 Microcontroller-28-01-2024 (1).pptx
PDF
Atmega 8
PPTX
Introduction to PIC.pptx
08 ATmega328P Arduino GPIO input outpt.pptx
Atmel 8271-8-bit-avr-microcontroller-a tmega48-a-48pa-88a-88pa-168a-168pa-328...
Motorola parallel port
An Overview Study on I/O Expander with I2C and SMBus Interface
8255_Ppi new
janakiraman I msc 4 unit
Avr report
dspAt89 s52
8051 microcontroller
Datasheet 89S8253.pdf
Datasheet8951
janakiraman egsp collage I msc 4 unit
Atmega16 datasheet
Atmega16 Microconntroller Data sheet
3-8051 Microcontroller-28-01-2024 (1).pptx
Atmega 8
Introduction to PIC.pptx
Ad

More from KSRaviKumarMVGREEE (8)

DOCX
BEE self enagement plan a way to engage the students
DOCX
AITT BTech V Semester Supply April 2024 Key cum scheme.docx
PDF
AVR Data Formats detailed explanation .pdf
PDF
AVR Programming of ATmega32 detailed .pdf
PDF
The AVR Pipelining explanation detailed.pdf
PDF
AVR or ATmega32 Addressing modes and Instruction set description .pdf
PDF
1-AVR Introduction to Atmega32 good .pdf
PDF
pmicroconrollers for EV and HEV based market research
BEE self enagement plan a way to engage the students
AITT BTech V Semester Supply April 2024 Key cum scheme.docx
AVR Data Formats detailed explanation .pdf
AVR Programming of ATmega32 detailed .pdf
The AVR Pipelining explanation detailed.pdf
AVR or ATmega32 Addressing modes and Instruction set description .pdf
1-AVR Introduction to Atmega32 good .pdf
pmicroconrollers for EV and HEV based market research

Recently uploaded (20)

PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
My India Quiz Book_20210205121199924.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
advance database management system book.pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
Trump Administration's workforce development strategy
PPTX
20th Century Theater, Methods, History.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Cambridge-Practice-Tests-for-IELTS-12.docx
My India Quiz Book_20210205121199924.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Introduction to pro and eukaryotes and differences.pptx
advance database management system book.pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
AI-driven educational solutions for real-life interventions in the Philippine...
Chinmaya Tiranga quiz Grand Finale.pdf
HVAC Specification 2024 according to central public works department
Trump Administration's workforce development strategy
20th Century Theater, Methods, History.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
FORM 1 BIOLOGY MIND MAPS and their schemes

AVR Pin description a detailed explanation 1).pdf

  • 1. Pin Description of ATmega32 VCC Digital supply voltage. GND Ground. Port A (PA7..PA0) Port A serves as the analog inputs to the A/D Converter or 8-bit bi-directional I/O port (if the A/D Converter is not used). Port pins can provide internal pull-up resistors (selected for each bit). Port B (PB7..PB0) Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). Port B also serves the functions of various special features.
  • 2. • SCK – Port B, Bit 7 SCK: Master Clock output, Slave Clock input pin for SPI. When the SPI is enabled as a Slave, this pin is configured as an input regardless of the setting of DDB7. When the SPI is enabled as a Master, the data direction of this pin is controlled by DDB7. When the pin is forced by the SPI to be an input, the pull-up can still be controlled by the PORTB7 bit. • MISO – Port B, Bit 6 MISO: Master Data input, Slave Data output pin for SPI. When the SPI is enabled as a Master, this pin is configured as an input regardless of the setting of DDB6. When the SPI is enabled as a Slave, the data direction of this pin is controlled by DDB6. When the pin is forced by the SPI to be an input, the pull-up can still be controlled by the PORTB6 bit. • MOSI – Port B, Bit 5 MOSI: SPI Master Data output, Slave Data input for SPI. When the SPI is enabled as a Slave, this pin is configured as an input regardless of the setting of DDB5. When the SPI is enabled as a Master, the data direction of this pin is controlled by DDB5. When the pin is forced by the SPI to be an input, the pull-up can still be controlled by the PORTB5 bit. • SS – Port B, Bit 4 SS: Slave Select input. When the SPI is enabled as a Slave, this pin is configured as an input regardless of the setting of DDB4. As a Slave, the SPI is activated when this pin is driven low. When the SPI is enabled as a Master, the data direction of this pin is controlled by DDB4. When the pin is forced by the SPI to be an input, the pull-up can still be controlled by the PORTB4 bit. • AIN1/OC0 – Port B, Bit 3 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.
  • 3. OC0, Output Compare Match output: The PB3 pin can serve as an external output for the Timer/Counter0 Compare Match. The PB3 pin has to be configured as an output (DDB3 set (one)) to serve this function. The OC0 pin is also the output pin for the PWM mode timer function. • AIN0/INT2 – Port B, Bit 2 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. INT2, External Interrupt Source 2: The PB2 pin can serve as an external interrupt source to the MCU. • T1 – Port B, Bit 1 T1, Timer/Counter1 Counter Source. • T0/XCK – Port B, Bit 0 T0, Timer/Counter0 Counter Source. XCK, USART External Clock. The Data Direction Register (DDB0) controls whether the clock is output (DDB0 set) or input (DDB0 cleared). The XCK pin is active only when the USART operates in Synchronous mode. Port C (PC7..PC0) Port C is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port C output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition becomes active, even if the clock is not running. If the JTAG interface is enabled, the pull-up resistors on pins PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even if a reset occurs. The TD0 pin is tri- stated unless TAP states that shift out data are entered. Port C also serves the functions of the JTAG interface and other special features of the ATmega32. • TOSC2 – Port C, Bit 7 TOSC2, Timer Oscillator pin 2: When the AS2 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter2, pin PC7 is disconnected from the port,
  • 4. and becomes the inverting output of the Oscillator amplifier. In this mode, a Crystal Oscillator is connected to this pin, and the pin cannot be used as an I/O pin. • TOSC1 – Port C, Bit 6 TOSC1, Timer Oscillator pin 1: When the AS2 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter2, pin PC6 is disconnected from the port, and becomes the input of the inverting Oscillator amplifier. In this mode, a Crystal Oscillator is connected to this pin, and the pin cannot be used as an I/O pin. • TDI – Port C, Bit 5 TDI, JTAG Test Data In: Serial input data to be shifted in to the Instruction Register or Data Register (scan chains). When the JTAG interface is enabled, this pin cannot be used as an I/O pin. • TDO – Port C, Bit 4 TDO, JTAG Test Data Out: Serial output data from Instruction Register or Data Register. When the JTAG interface is enabled, this pin cannot be used as an I/O pin. The TD0 pin is tri-stated unless TAP states that shifts out data are entered. • TMS – Port C, Bit 3 TMS, JTAG Test Mode Select: This pin is used for navigating through the TAP-controller state machine. When the JTAG interface is enabled, this pin cannot be used as an I/O pin. • TCK – Port C, Bit 2 TCK, JTAG Test Clock: JTAG operation is synchronous to TCK. When the JTAG interface is enabled, this pin cannot be used as an I/O pin. • SDA – Port C, Bit 1 SDA, Two-wire Serial Interface Data: When the TWEN bit in TWCR is set (one) to enable the Two-wire Serial Interface, pin PC1 is disconnected from the port and becomes the Serial Data I/O pin for the Two-wire Serial Interface. In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with slew-rate limitation. When this pin is used by the Two-wire Serial Interface, the pull-up can still be controlled by the PORTC1 bit. • SCL – Port C, Bit 0 SCL, Two-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to enable the Two-wire Serial Interface, pin PC0 is disconnected from the port and becomes the Serial Clock I/O pin for the Two-wire Serial Interface. In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with slew-rate limitation. When this pin is used by the Two-wire Serial Interface, the pull-up can still be controlled by the PORTC0 bit. Port D (PD7..PD0) Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port D output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port D pins that are externally pulled low will source current if the pull-up resistors are activated. The
  • 5. Port D pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port D also serves the functions of various special features of the ATmega32. • OC2 – Port D, Bit 7 OC2, Timer/Counter2 Output Compare Match output: The PD7 pin can serve as an external output for the Timer/Counter2 Output Compare. The pin has to be configured as an output (DDD7 set (one)) to serve this function. The OC2 pin is also the output pin for the PWM mode timer function. • ICP1 – Port D, Bit 6 ICP1 – Input Capture Pin: The PD6 pin can act as an Input Capture pin for Timer/Counter1. • OC1A – Port D, Bit 5 OC1A, Output Compare Match A output: The PD5 pin can serve as an external output for the Timer/Counter1 Output Compare A. The pin has to be configured as an output (DDD5 set (one)) to serve this function. The OC1A pin is also the output pin for the PWM mode timer function. • OC1B – Port D, Bit 4 OC1B, Output Compare Match B output: The PD4 pin can serve as an external output for the Timer/Counter1 Output Compare B. The pin has to be configured as an output (DDD4 set (one)) to serve this function. The OC1B pin is also the output pin for the PWM mode timer function. • INT1 – Port D, Bit 3 INT1, External Interrupt Source 1: The PD3 pin can serve as an external interrupt source. • INT0 – Port D, Bit 2 INT0, External Interrupt Source 0: The PD2 pin can serve as an external interrupt source. • TXD – Port D, Bit 1 TXD, Transmit Data (Data output pin for the USART). When the USART Transmitter is enabled, this pin is configured as an output regardless of the value of DDD1.
  • 6. • RXD – Port D, Bit 0 RXD, 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 DDD0. When the USART forces this pin to be an input, the pull-up can still be controlled by the PORTD0 bit. RESET Reset Input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running. Pulses shorter than the minimum pulse length are not guaranteed to generate a reset. XTAL1 Input to the inverting Oscillator amplifier and input to the internal clock operating circuit. XTAL2 Output from the inverting Oscillator amplifier. AVCC AVCC is the supply voltage pin for Port A and the A/D Converter. It should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through a low-pass filter. AREF AREF is the analog reference pin for the A/D Converter.