The AVR microcontroller
and embedded
systems
using assembly and c
,Topics
• AVR pin out
• The structure of I/O pins
• I/O programming
• Bit manipulating
, ATmega16/mega32 pinout
1. Vital Pins:
1. Power
• VCC
+5 V
• Ground
2. Crystal
• XTAL1
• XTAL2 +5 V
3. Reset +5 V
2. I/O pins
• PORTA, PORTB,
PORTC, and PORTD
3. Internal ADC pins
• AREF, AGND, AVCC