attiny15l ATMEL Corporation, attiny15l Datasheet - Page 12

no-image

attiny15l

Manufacturer Part Number
attiny15l
Description
Attiny15l 8-bit Microcontroller With 1k Byte Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY15L
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
ATTINY15L
Manufacturer:
SIEMENS
Quantity:
5 510
Part Number:
attiny15l-1PC
Quantity:
1 670
Part Number:
attiny15l-1PI
Manufacturer:
AIMEL
Quantity:
5 510
Part Number:
attiny15l-1PI
Manufacturer:
VISHAY
Quantity:
5 510
Part Number:
attiny15l-1PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny15l-1SC
Manufacturer:
ATMEL
Quantity:
3 447
Part Number:
attiny15l-1SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny15l-1SI
Manufacturer:
ATMEL
Quantity:
8
Part Number:
attiny15l-1SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny15l-1SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Reset and Interrupt
Handling
12
ATtiny15L
• Bit 2 – N: Negative Flag
The Negative Flag N indicates a negative result after the different arithmetic and logic
operations. See the Instruction Set description for detailed information.
• Bit 1 – Z: Zero Flag
The Zero Flag Z indicates a zero result after the different arithmetic and logic opera-
tions. See the Instruction Set description for detailed information.
• Bit 0 – C: Carry Flag
The Carry Flag C indicates a carry in an arithmetic or logic operation. See the Instruction
Set description for detailed information.
The ATtiny15L provides eight interrupt sources. 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 that 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 3. The list
also determines the priority levels of the different interrupts. The lower the address the
higher is the priority level. RESET has the highest priority, and next is INT0 (the External
Interrupt Request 0), etc.
Table 3. Reset and Interrupt Vectors
Vector No.
1
2
3
4
5
6
7
8
9
Program Address
$000
$001
$002
$003
$004
$005
$006
$007
$008
Source
RESET
INT0
I/O Pins
TIMER1, COMPA
TIMER1, OVF
TIMER0, OVF
EE_RDY
ANA_COMP
ADC
Interrupt Definition
External Reset, Power-on Reset,
Brown-out Reset, and Watchdog
Reset
External Interrupt Request 0
Pin Change Interrupt
Timer/Counter1 Compare Match A
Timer/Counter1 Overflow
Timer/Counter0 Overflow
EEPROM Ready
Analog Comparator
ADC Conversion Complete
1187H–AVR–09/07

Related parts for attiny15l