参数资料
型号: ATTINY15L-1SU
厂商: Atmel
文件页数: 11/85页
文件大小: 0K
描述: IC MCU AVR 1K FLASH 1.6MHZ 8SOIC
标准包装: 95
系列: AVR® ATtiny
核心处理器: AVR
芯体尺寸: 8-位
速度: 1.6MHz
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 6
程序存储器容量: 1KB(512 x 16)
程序存储器类型: 闪存
EEPROM 大小: 64 x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 5.5 V
数据转换器: A/D 4x10b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 8-SOIC(0.209",5.30mm 宽)
包装: 管件
19
ATtiny15L
1187H–AVR–09/07
Interrupt Handling
The ATtiny15L has two 8-bit Interrupt Mask Control Registers: GIMSK (General Inter-
rupt Mask Register) and TIMSK (Timer/Counter Interrupt Mask Register).
When an interrupt occurs, the Global Interrupt Enable I-bit is cleared (zero) and all inter-
rupts are disabled. The user software can set the I-bit (one) to enable interrupts. The I-
bit is set (one) when a Return from Interrupt instruction (RETI) is executed.
When the Program Counter is vectored to the actual Interrupt Vector in order to execute
the interrupt handling routine, hardware clears the corresponding flag that generated the
interrupt. Some of the interrupt flags can also be cleared by writing a logical “1” to the
flag bit position(s) to be cleared.
If an interrupt condition occurs when the corresponding interrupt enable bit is cleared
(zero), the interrupt flag will be set and remembered until the interrupt is enabled, or the
flag is cleared by software.
If one or more interrupt conditions occur when the global interrupt enable bit is cleared
(zero), the corresponding interrupt flag(s) will be set and remembered until the global
interrupt enable bit is set (one), and will be executed by order of priority.
Note that external level interrupt does not have a flag, and will only be remembered for
as long as the interrupt condition is present.
Note that the Status Register is not automatically stored when entering an interrupt rou-
tine and restored when returning from an interrupt routine. This must be handled by
software.
Interrupt Response Time
The interrupt execution response for all the enabled AVR interrupts is four clock cycles
minimum. After the four clock cycles the Program Vector address for the actual interrupt
handling routine is executed. During this 4-clock-cycle period, the Program Counter
(nine bits) is pushed onto the Stack. The vector is often a relative jump to the interrupt
routine, and this jump takes two clock cycles. If an interrupt occurs during execution of a
multi-cycle instruction, this instruction is completed before the interrupt is served. If an
interrupt occurs when the MCU is in sleep mode, the interrupt execution response time
is increased by four clock cycles.
A return from an interrupt handling routine takes four clock cycles. During these four
clock cycles, the Program Counter (nine bits) is popped back from the Stack. When
AVR exits from an interrupt, it will always return to the main program and execute one
more instruction before any pending interrupt is served.
The General Interrupt Mask
Register – GIMSK
Bit 7 – Res: Reserved Bit
This bit is a reserved bit in the ATtiny15L and always reads as zero.
Bit 6 – INT0: External Interrupt Request 0 Enable
When the INT0 bit is set (one) and the I-bit in the Status Register (SREG) is set (one),
the external pin interrupt is activated. The Interrupt Sense Control0 bits 1/0 (ISC01 and
ISC00) in the MCU general Control Register (MCUCR) define whether the external
interrupt is activated on rising or falling edge, on pin change, or low level of the INT0 pin.
Activity on the pin will cause an interrupt request even if INT0 is configured as an output.
Bit
7
65
43
2
1
0
$3B
INT0
PCIE
GIMSK
Read/Write
R
R/W
R
Initial Value
0
相关PDF资料
PDF描述
ATTINY2313-20SUR IC MCU AVR 2K FLASH 20SOIC
ATTINY2313A-MMHR IC MCU AVR 2K FLASH 3X3 20QFN
ATTINY26-16MQR IC MCU AVR 2K 16MHZ IND 32QFN
ATTINY26L-8PU IC MCU AVR 2K 5V 8MHZ 20-DIP
ATTINY28V-1AUR IC MCU AVR 2K 1.2MHZ 1.8V 32TQFP
相关代理商/技术参数
参数描述
ATTINY15L-1SU SL383 制造商:Atmel Corporation 功能描述:AVR, 1K FLASH, 64B EE, ADC, 8
ATTINY15POD 功能描述:仿真器/模拟器 AVR ICE10 POD REPLACEMENT RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ATTINY1614-SSFR 功能描述:IC MCU 8BIT 16KB FLASH 14SOIC 制造商:microchip technology 系列:tinyAVR? 1 包装:剪切带(CT) 零件状态:在售 核心处理器:AVR 核心尺寸:8-位 速度:20MHz 连接性:I2C,IrDA,LIN,SPI,UART/USART 外设:欠压检测/复位,POR,PWM,WDT I/O 数:12 程序存储容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 容量:256 x 8 RAM 容量:2K x 8 电压 - 电源(Vcc/Vdd):1.8 V ~ 5.5 V 数据转换器:A/D 14x10b,D/A 3x8b 振荡器类型:内部 工作温度:-40°C ~ 125°C(TA) 封装/外壳:14-SOIC(0.154",3.90mm 宽) 供应商器件封装:14-SOIC 标准包装:1
ATTINY1614-SSNR 功能描述:IC MCU 8BIT 16KB FLASH 14SOIC 制造商:microchip technology 系列:tinyAVR? 1 包装:剪切带(CT) 零件状态:在售 核心处理器:AVR 核心尺寸:8-位 速度:20MHz 连接性:I2C,IrDA,LIN,SPI,UART/USART 外设:欠压检测/复位,POR,PWM,WDT I/O 数:12 程序存储容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 容量:256 x 8 RAM 容量:2K x 8 电压 - 电源(Vcc/Vdd):1.8 V ~ 5.5 V 数据转换器:A/D 14x10b,D/A 3x8b 振荡器类型:内部 工作温度:-40°C ~ 105°C(TA) 封装/外壳:14-SOIC(0.154",3.90mm 宽) 供应商器件封装:14-SOIC 标准包装:1
ATTINY1616-MFR 功能描述:IC MCU 8BIT 16KB FLASH 20QFN 制造商:microchip technology 系列:tinyAVR? 1 包装:剪切带(CT) 零件状态:在售 核心处理器:AVR 核心尺寸:8-位 速度:20MHz 连接性:I2C,IrDA,LIN,SPI,UART/USART 外设:欠压检测/复位,POR,PWM,WDT I/O 数:18 程序存储容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 容量:256 x 8 RAM 容量:2K x 8 电压 - 电源(Vcc/Vdd):1.8 V ~ 5.5 V 数据转换器:A/D 20x10b,D/A 3x8b 振荡器类型:内部 工作温度:-40°C ~ 125°C(TA) 封装/外壳:20-VFQFN 裸露焊盘 供应商器件封装:20-VQFN(3x3) 标准包装:1