ATTINY25-20SUR Atmel, ATTINY25-20SUR Datasheet - Page 50

no-image

ATTINY25-20SUR

Manufacturer Part Number
ATTINY25-20SUR
Description
MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY25-20SUR

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
9. Interrupts
9.1
50
Interrupt Vectors in ATtiny25/45/85
ATtiny25/45/85
This section describes the specifics of the interrupt handling as performed in ATtiny25/45/85.
For a general explanation of the AVR interrupt handling, refer to
on page
The interrupt vectors of ATtiny25/45/85 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 ATtiny25/45/85 is shown in the program example
below.
Vector No.
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
10
11
12
13
14
15
1
2
3
4
5
6
7
8
9
12.
Reset and Interrupt Vectors
Program Address
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
0x000A
0x000B
0x000C
0x000D
0x000E
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
RESET
EXT_INT0
PCINT0
TIM1_COMPA
TIM1_OVF
TIM0_OVF
EE_RDY
ANA_COMP
ADC
TIM1_COMPB
Source
RESET
INT0
PCINT0
TIMER1_COMPA
TIMER1_OVF
TIMER0_OVF
EE_RDY
ANA_COMP
ADC
TIMER1_COMPB
TIMER0_COMPA
WDT
USI_START
USI_OVF
TIMER0_COMPB
Comments
; Reset Handler
; IRQ0 Handler
; PCINT0 Handler
; Timer1 CompareA Handler
; Timer1 Overflow Handler
; Timer0 Overflow Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; ADC Conversion Handler
; Timer1 CompareB Handler
Table
Interrupt Definition
External Pin, Power-on Reset,
Brown-out Reset, Watchdog Reset
External Interrupt Request 0
Pin Change Interrupt Request 0
Timer/Counter1 Compare Match A
Timer/Counter1 Overflow
Timer/Counter0 Overflow
EEPROM Ready
Analog Comparator
ADC Conversion Complete
Timer/Counter1 Compare Match B
Timer/Counter0 Compare Match A
Timer/Counter0 Compare Match B
Watchdog Time-out
USI START
USI Overflow
9-1below.
“Reset and Interrupt Handling”
2586M–AVR–07/10

Related parts for ATTINY25-20SUR