Pin Descriptions; About Code Examples - Atmel ATtiny26 Manual

8-bit avr microcontroller with 2k bytes flash
Table of Contents

Advertisement

Pin Descriptions

VCC
GND
AVCC
Port A (PA7..PA0)
Port B (PB7..PB0)
XTAL1
XTAL2
About Code
Examples
1477G–AVR–03/05
Digital supply voltage pin.
Digital ground pin.
AVCC is the supply voltage pin for Port A and the A/D Converter (ADC). It should be
externally connected to V
connected to V
through a low-pass filter. See page 94 for details on operating of the
CC
ADC.
Port A is an 8-bit general purpose I/O port. PA7..PA0 are all I/O pins that can provide
internal pull-ups (selected for each bit). Port A has alternate functions as analog inputs
for the ADC and analog comparator and pin change interrupt as described in "Alternate
Port Functions" on page 46.
Port B is an 8-bit general purpose I/O port. PB6..0 are all I/O pins that can provide inter-
nal pull-ups (selected for each bit). PB7 is an I/O pin if not used as the reset. To use pin
PB7 as an I/O pin, instead of RESET pin, program ("0") RSTDISBL Fuse. Port B has
alternate functions for the ADC, clocking, timer counters, USI, SPI programming, and
pin change interrupt as described in "Alternate Port Functions" on page 46.
An External Reset is generated by a low level on the PB7/RESET pin. Reset pulses
longer than 50 ns will generate a reset, even if the clock is not running. Shorter pulses
are not guaranteed to generate a reset.
Input to the inverting oscillator amplifier and input to the internal clock operating circuit.
Output from the inverting oscillator amplifier.
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.
, even if the ADC is not used. If the ADC is used, it should be
CC
ATtiny26(L)
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Attiny26l

Table of Contents