ATTINY12L-4SU Atmel, ATTINY12L-4SU Datasheet - Page 30

Microcontrollers (MCU) AVR 1K FLASH 64B EE 3V 4MHZ

ATTINY12L-4SU

Manufacturer Part Number
ATTINY12L-4SU
Description
Microcontrollers (MCU) AVR 1K FLASH 64B EE 3V 4MHZ
Manufacturer
Atmel
Datasheet

Specifications of ATTINY12L-4SU

Processor Series
ATTINY1x
Core
AVR8
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
1 KB
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
6
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SOIC
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500
Minimum Operating Temperature
- 40 C
Package
8SOIC EIAJ
Device Core
AVR
Family Name
ATtiny
Maximum Speed
4 MHz
Operating Supply Voltage
3.3|5 V
Interface Type
SPI
Operating Temperature
-40 to 85 °C
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY12L-4SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Interrupts
Reset and Interrupt
30
ATtiny11/12
The ATtiny11 provides four different interrupt sources and the ATtiny12 provides five.
These interrupts and the separate reset vector each have a separate program vector in
the program memory space. All the interrupts are assigned individual enable bits which
must be set (one) together with the I-bit in the status register in order to enable the
interrupt.
The lowest addresses in the program memory space are automatically defined as the
Reset and Interrupt vectors. The complete list of vectors is shown in Table 14. The list
also determines the priority levels of the different interrupts. The lower the address, the
higher the priority level. RESET has the highest priority, and next is INT0 – the External
Interrupt Request 0, etc.
Table 14. Reset and Interrupt Vectors
The most typical and general program setup for the reset and interrupt vector addresses
for the ATtiny11 are:
The most typical and general program setup for the reset and interrupt vector addresses
for the ATtiny12 are:
Vector No.
Address
$000
$001
$002
$003
$004
;
$005
Address
$000
$001
$002
$003
1
1
2
3
4
5
5
6
Labels
MAIN:
Labels
ATtiny11/12
ATtiny11/12
ATtiny11/12
ATtiny11
ATtiny12
ATtiny11
ATtiny12
ATtiny12
Device
Code
rjmp
rjmp
rjmp
rjmp
rjmp
<instr>
Code
rjmp
rjmp
rjmp
rjmp
Program Address
$000
$000
$001
$002
$003
$004
$004
$005
xxx
RESET
EXT_INT0
PIN_CHANGE
TIM0_OVF
ANA_COMP
RESET
EXT_INT0
PIN_CHANGE
TIM0_OVF
TIMER0, OVF0
ANA_COMP
ANA_COMP
EE_RDY
Comments
; Reset handler
; IRQ0 handler
; Pin change handler
; Timer0 overflow handler
; Analog Comparator handler
; Main program start
Comments
; Reset handler
; IRQ0 handler
; Pin change handler
; Timer0 overflow handler
I/O Pins
Source
RESET
RESET
INT0
Interrupt Definition
External Pin, Power-on
Reset and Watchdog
Reset
External Pin, Power-on
Reset, Brown-out Reset
and Watchdog Reset
External Interrupt
Request 0
Pin Change Interrupt
Timer/Counter0
Overflow
Analog Comparator
EEPROM Ready
Analog Comparator
1006F–AVR–06/07

Related parts for ATTINY12L-4SU