参数资料
型号: ATF16V8B-15SU
厂商: Atmel
文件页数: 6/26页
文件大小: 0K
描述: IC PLD EE 15NS 20-SOIC
标准包装: 37
系列: 16V8
可编程类型: EE PLD
宏单元数: 8
输入电压: 5V
速度: 15ns
安装类型: 表面贴装
封装/外壳: 20-SOIC(0.295",7.50mm 宽)
供应商设备封装: 20-SOIC W
包装: 管件
产品目录页面: 610 (CN2011-ZH PDF)
14
7707F–AVR–11/10
AT90USB82/162
There are basically two types of interrupts. The first type is triggered by an event that sets the
Interrupt Flag. For these interrupts, the Program Counter is vectored to the actual Interrupt Vec-
tor in order to execute the interrupt handling routine, and hardware clears the corresponding
Interrupt Flag. Interrupt Flags can also be cleared by writing a logic one to the flag bit position(s)
to be cleared. If an interrupt condition occurs while the corresponding interrupt enable bit is
cleared, the Interrupt Flag will be set and remembered until the interrupt is enabled, or the flag is
cleared by software. Similarly, if one or more interrupt conditions occur while the Global Interrupt
Enable bit is cleared, the corresponding Interrupt Flag(s) will be set and remembered until the
Global Interrupt Enable bit is set, and will then be executed by order of priority.
The second type of interrupts will trigger as long as the interrupt condition is present. These
interrupts do not necessarily have Interrupt Flags. If the interrupt condition disappears before the
interrupt is enabled, the interrupt will not be triggered.
When the AVR exits from an interrupt, it will always return to the main program and execute one
more instruction before any pending interrupt is served.
Note that the Status Register is not automatically stored when entering an interrupt routine, nor
restored when returning from an interrupt routine. This must be handled by software.
When using the CLI instruction to disable interrupts, the interrupts will be immediately disabled.
No interrupt will be executed after the CLI instruction, even if it occurs simultaneously with the
CLI instruction. The following example shows how this can be used to avoid interrupts during the
timed EEPROM write sequence..
When using the SEI instruction to enable interrupts, the instruction following SEI will be exe-
cuted before any pending interrupts, as shown in this example.
Assembly Code Example
in
r16, SREG
; store SREG value
cli
; disable interrupts during timed sequence
sbi
EECR, EEMPE
; start EEPROM write
sbi
EECR, EEPE
out
SREG, r16
; restore SREG value (I-bit)
C Code Example
char
cSREG;
cSREG = SREG; /* store SREG value */
/* disable interrupts during timed sequence */
__disable_interrupt();
EECR |= (1<<EEMPE); /* start EEPROM write */
EECR |= (1<<EEPE);
SREG = cSREG; /* restore SREG value (I-bit) */
相关PDF资料
PDF描述
IDT71342SA35PF IC SRAM 32KBIT 35NS 64TQFP
1-84984-4 CONN FFC 14POS 1.00MM VERT PCB
MPC866TCVR100A IC MPU POWERQUICC 100MHZ 357PBGA
4-1734839-6 CONN FPC 46POS .5MM RT ANG SMD
MPC8275VRMIBA IC MPU POWERQUICC II 516-PBGA
相关代理商/技术参数
参数描述
ATF16V8B-15SU SL383 制造商:Atmel Corporation 功能描述:SPLD ATF16V8B Family 250 Gates 8 Macro Cells 62MHz 5V 20-Pin SOIC 制造商:Atmel Corporation 功能描述:SPLD ATF16V8B Family 250 Gates 8 Macro Cells 62MHz CMOS Technology 5V 20-Pin SOIC 制造商:Atmel 功能描述:SPLD ATF16V8B Family 250 Gates 8 Macro Cells 62MHz CMOS Technology 5V 20-Pin SOIC 制造商:Atmel 功能描述:SPLD ATF16V8B Family 250 Gates 8 Macro Cells 62MHz 5V 20-Pin SOIC
ATF16V8B-15XC 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Highperformance EE PLD
ATF16V8B-15XI 制造商:未知厂家 制造商全称:未知厂家 功能描述:Electrically-Erasable PLD
ATF16V8B-15XU 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:Highperformance EE PLD
ATF16V8B-25GC 制造商:未知厂家 制造商全称:未知厂家 功能描述:Electrically-Erasable PLD