ATtiny5 Atmel Corporation, ATtiny5 Datasheet - Page 36

no-image

ATtiny5

Manufacturer Part Number
ATtiny5
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny5

Flash (kbytes)
0.5 Kbytes
Pin Count
6
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
1
Hardware Qtouch Acquisition
No
Max I/o Pins
4
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
8
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.03
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
1
Output Compare Channels
2
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny5-TS8R
Manufacturer:
Atmel
Quantity:
8 105
Part Number:
ATtiny5-TSHR
Manufacturer:
OMRON
Quantity:
1 500
Part Number:
ATtiny5-TSHR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny5-TSHR
Quantity:
12 000
Part Number:
ATtiny55V-10SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
9. Interrupts
9.1
36
Interrupt Vectors
ATtiny4/5/9/10
This section describes the specifics of the interrupt handling in ATtiny4/5/9/10. For a general
explanation of the AVR interrupt handling, see
Interrupt vectors of ATtiny4/5/9/10 are described in
Table 9-1.
Note:
In case the program never enables an interrupt source, the Interrupt Vectors will not be used
and, consequently, regular program code can be placed at these locations.
The most typical and general setup for interrupt vector addresses in ATtiny4/5/9/10 is shown in
the program example below.
Vector No.
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
0x000A
<continues>
10
11
1
2
3
4
5
6
7
8
9
1. The ADC is available in ATtiny5/10, only.
Reset and Interrupt Vectors
Program Address
0x000A
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
RESET
INT0
PCINT0
TIM0_CAPT
TIM0_OVF
TIM0_COMPA
TIM0_COMPB
ANA_COMP
WDT
VLM
ADC
Label
RESET
INT0
PCINT0
TIM0_CAPT
TIM0_OVF
TIM0_COMPA
TIM0_COMPB
ANA_COMP
WDT
VLM
ADC
“Reset and Interrupt Handling” on page
Comments
; Reset Handler
; IRQ0 Handler
; PCINT0 Handler
; Timer0 Capture Handler
; Timer0 Overflow Handler
; Timer0 Compare A Handler
; Timer0 Compare B Handler
; Analog Comparator Handler
; Watchdog Interrupt Handler
; Voltage Level Monitor Handler
; ADC Conversion Handler
Table 9-1
Interrupt Source
External Pin, Power-on Reset,
VLM Reset, Watchdog Reset
External Interrupt Request 0
Pin Change Interrupt Request 0
Timer/Counter0 Input Capture
Timer/Counter0 Overflow
Timer/Counter0 Compare Match A
Timer/Counter0 Compare Match B
Analog Comparator
Watchdog Time-out
V
ADC Conversion Complete
CC
Voltage Level Monitor
below.
(1)
8127E–AVR–11/11
10.

Related parts for ATtiny5