ATtiny13 Atmel Corporation, ATtiny13 Datasheet - Page 44

no-image

ATtiny13

Manufacturer Part Number
ATtiny13
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny13

Flash (kbytes)
1 Kbytes
Pin Count
8
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.06
Eeprom (bytes)
64
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
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
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny13-10SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-12SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-16PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-20MI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-20PU
Manufacturer:
NXP
Quantity:
2 000
Part Number:
ATtiny13-20PU
Manufacturer:
Atmel
Quantity:
37 287
Part Number:
ATtiny13-20SSI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-20SSU
Quantity:
2 180
Company:
Part Number:
ATtiny13-20SSU
Quantity:
100
Company:
Part Number:
ATtiny13-20SSU
Quantity:
739
Part Number:
ATtiny13-20SSU-SL383
Manufacturer:
ATMEL
Quantity:
4 132
Part Number:
ATtiny13A-MMU
Manufacturer:
DP
Quantity:
34 000
Part Number:
ATtiny13A-MMUR
Manufacturer:
TI
Quantity:
4 430
Company:
Part Number:
ATtiny13A-PU
Quantity:
15 000
9. Interrupts
9.1
44
Interrupt Vectors
ATtiny13
This section describes the specifics of the interrupt handling as performed in ATtiny13. For a
general explanation of the AVR interrupt handling, refer to
page
The interrupt vectors of ATtiny13 are described in
Table 9-1.
If the program never enables an interrupt source, the Interrupt Vectors are not used, and regular
program code can be placed at these locations.
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATtiny13 is:
Vector No.
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
;
0x000A
0x000B
0x000C
0x000D
12.
...
10
1
2
3
4
5
6
7
8
9
RESET: ldi
Reset and Interrupt Vectors
...
out
<instr>
Program Address
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
sei
...
SPL,r16
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
xxx
...
RESET
EXT_INT0
PCINT0
TIM0_OVF
EE_RDY
ANA_COMP
TIM0_COMPA
TIM0_COMPB
WATCHDOG
ADC
r16, low(RAMEND); Main program start
Source
RESET
INT0
PCINT0
TIM0_OVF
EE_RDY
ANA_COMP
TIM0_COMPA
TIM0_COMPB
WDT
ADC
Comments
; Reset Handler
; IRQ0 Handler
; PCINT0 Handler
; Timer0 Overflow Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; Timer0 CompareA Handler
; Timer0 CompareB Handler
; Watchdog Interrupt Handler
; ADC Conversion Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
Table 9-1
below.
“Reset and Interrupt Handling” on
External Pin, Power-on Reset,
Brown-out Reset, Watchdog Reset
External Interrupt Request 0
Pin Change Interrupt Request 0
Timer/Counter Overflow
EEPROM Ready
Analog Comparator
Timer/Counter Compare Match A
Timer/Counter Compare Match B
Watchdog Time-out
ADC Conversion Complete
Interrupt Definition
2535J–AVR–08/10

Related parts for ATtiny13