ATtiny26 Atmel Corporation, ATtiny26 Datasheet - Page 62
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATtiny26
Manufacturer Part Number
ATtiny26
Description
Manufacturer
Atmel Corporation
Specifications of ATtiny26
Flash (kbytes)
2 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
11
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY26
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny26-16MI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny26-16MU
Manufacturer:
ATMEL
Quantity:
7 119
Part Number:
ATtiny26-16SC
Manufacturer:
MITEL
Quantity:
20 000
Part Number:
ATtiny26-16SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny26-16SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny26-8PI
Manufacturer:
UTC
Quantity:
15
Company:
Part Number:
ATtiny26-8SI
Manufacturer:
INTEL
Quantity:
8
Company:
Part Number:
ATtiny26-8SU
Manufacturer:
ATMTLL
Quantity:
5 510
Company:
Part Number:
ATtiny26-8SU
Manufacturer:
SIEMENS
Quantity:
5 510
External
Interrupt
Pin Change
Interrupt
62
ATtiny26(L)
The External Interrupt is triggered by the INT0 pin. Observe that, if enabled, the interrupt will trig-
ger even if the INT0 pin is configured as an output. This feature provides a way of generating a
software interrupt. The External Interrupt can be triggered by a falling or rising edge, a pin
change, or a low level. This is set up as indicated in the specification for the MCU Control Regis-
ter – MCUCR. When the External Interrupt is enabled and is configured as level triggered, the
interrupt will trigger as long as the pin is held low.
The changed level is sampled twice by the Watchdog Oscillator clock, and if both these samples
have the required level, the MCU will wake up. The period of the Watchdog Oscillator is 1.0
(nominal) at 3.0V and 25°C. The frequency of the Watchdog Oscillator is voltage dependent as
shown in “Electrical Characteristics” on page 126.
The pin change interrupt is triggered by any change on any I/O pin of Port B and pins PA3, PA6,
and PA7, if the interrupt is enabled and alternate function of the pin does not mask out the inter-
rupt. The bit PCIE1 in GIMSK enables interrupt from pins PB[7:4], PA[7:6], and PA[3]. PCIE0
enables interrupt on digital pins PB[3:0].
The pin change interrupt is different from other interrupts in two ways. First, pin change interrupt
enable bits PCIE1 and PCIE0 also mask the flag if they are not set. The normal operation on
most interrupts is that the flag is always active and only the execution of the interrupt is masked
by the interrupt enable.
Secondly, please note that pin change interrupt is disabled for any pin that is configured as an
alternate function. For example, no pin change interrupt is generated from pins that are config-
ured as AREF, AIN0 or AIN1, OC1A, OC1A, OC1B, OC1B, XTAL1, or XTAL2 in a fuse selected
clock option, Timer0 clocking, or RESET function. See Table 30 for alternate functions which
mask the pin change interrupt and how the function is enabled. For example pin change inter-
rupt on the PB0 is disabled when USI Two-wire mode or USI Three-wire mode or
Timer/Counter1 inverted output compare is enabled.
If the interrupt is enabled, the interrupt will trigger even if the changing pin is configured as an
output. This feature provides a way of generating a software interrupt. Also observe that the pin
change interrupt will trigger even if the pin activity triggers another interrupt, for example the
external interrupt. This implies that one external event might cause several interrupts.
The value of the programmed fuse is “0” and unprogrammed is “1”. Each of the lines enables the
alternate function so “or” function of the lines enables the function.
1477K–AVR–08/10
µs