ATTINY4-TSHR Atmel, ATTINY4-TSHR Datasheet - Page 36
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATTINY4-TSHR
Manufacturer Part Number
ATTINY4-TSHR
Description
IC MCU AVR 512B FLASH SOT-23-6
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY10-TSHR.pdf
(169 pages)
Specifications of ATTINY4-TSHR
Package / Case
SOT-23-6
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Speed
12MHz
Number Of I /o
4
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
32 x 8
Program Memory Size
512B (512 x 8)
Oscillator Type
Internal
Peripherals
POR, PWM, WDT
Core Size
8-Bit
Controller Family/series
ATtiny
No. Of I/o's
4
Ram Memory Size
32Byte
Cpu Speed
12MHz
No. Of Timers
1
Rohs Compliant
Yes
Processor Series
ATTINY4x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
32 B
Interface Type
ISP
Maximum Clock Frequency
12 MHz
Number Of Programmable I/os
4
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
Package
6SOT-23
Device Core
AVR
Family Name
ATtiny
Maximum Speed
12 MHz
Operating Supply Voltage
2.5|3.3|5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY4-TSHR
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)
8127D–AVR–02/10
10.