Xtal2, Avcc, Aref – Rainbow Electronics ATmega128L User Manual

Page 7: About code examples, Atmega128(l)

Advertising
background image

7

ATmega128(L)

2467B–09/01

XTAL2

Output from the inverting oscillator amplifier.

AVCC

This is the supply voltage pin for Port F 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 con-
nected to VCC through a low-pass filter.

AREF

This is the analog reference pin for the A/D Converter.

PEN

This is a programming enable pin for the serial programming mode. By holding this pin
low during a power-on reset, the device will enter the serial programming mode. PEN
has no function during normal operation.

About Code
Examples

This datasheet contains simple code examples that briefly show how to use various
parts of the device. These code examples assume that the part specific header file is
included before compilation. Be aware that not all C compiler vendors include bit defini-
tions in the header files and interrupt handling in C is compiler dependent. Please
confirm with the C compiler documentation for more details.

Advertising