欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA16U2-MUR 参数 Datasheet PDF下载

ATMEGA16U2-MUR图片预览
型号: ATMEGA16U2-MUR
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8/16 / 32K Butes [8-bit Microcontroller with 8/16/32K Butes of ISP Flash]
分类和应用: 微控制器异步传输模式PCATM
文件页数/大小: 310 页 / 4432 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第81页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第82页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第83页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第84页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第86页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第87页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第88页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第89页  
ATmega8U2/16U2/32U2  
interrupt flag should be cleared by writing a logical one to its Interrupt Flag bit (INTFn) in the  
EIFR Register before the interrupt is re-enabled.  
Table 13-1.  
Interrupt Sense Control(1)  
ISCn1  
ISCn0  
Description  
0
0
1
1
0
1
0
1
The low level of INTn generates an interrupt request.  
Any edge of INTn generates asynchronously an interrupt request.  
The falling edge of INTn generates asynchronously an interrupt request.  
The rising edge of INTn generates asynchronously an interrupt request.  
Note:  
1. n = 3, 2, 1or 0.  
When changing the ISCn1/ISCn0 bits, the interrupt must be disabled by clearing its Interrupt  
Enable bit in the EIMSK Register. Otherwise an interrupt can occur when the bits are changed.  
13.2.2  
EICRB – External Interrupt Control Register B  
Bit  
7
ISC71  
R/W  
0
6
ISC70  
R/W  
0
5
ISC61  
R/W  
0
4
ISC60  
R/W  
0
3
ISC51  
R/W  
0
2
ISC50  
R/W  
0
1
ISC41  
R/W  
0
0
ISC40  
R/W  
0
(0x6A)  
EICRB  
Read/Write  
Initial Value  
• Bits 7:0 – ISC71, ISC70 - ISC41, ISC40: External Interrupt 7:4 Sense Control Bits  
The External Interrupts [7:4] are activated by the external pins INT[7:4] if the SREG I-flag and  
the corresponding interrupt mask in the EIMSK is set. The level and edges on the external pins  
that activate the interrupts are defined in Table 13-2. The value on the INT[7:4] pins are sampled  
before detecting edges. If edge or toggle interrupt is selected, pulses that last longer than one  
clock period will generate an interrupt. Shorter pulses are not guaranteed to generate an inter-  
rupt. Observe that CPU clock frequency can be lower than the XTAL frequency if the XTAL  
divider is enabled. If low level interrupt is selected, the low level must be held until the comple-  
tion of the currently executing instruction to generate an interrupt. If enabled, a level triggered  
interrupt will generate an interrupt request as long as the pin is held low.  
Table 13-2.  
Interrupt Sense Control(1)  
ISCn1  
ISCn0  
Description  
0
0
1
1
0
1
0
1
The low level of INTn generates an interrupt request.  
Any logical change on INTn generates an interrupt request  
The falling edge between two samples of INTn generates an interrupt request.  
The rising edge between two samples of INTn generates an interrupt request.  
Note:  
1. n = 7, 6, 5 or 4.  
When changing the ISCn1/ISCn0 bits, the interrupt must be disabled by clearing its Interrupt  
Enable bit in the EIMSK Register. Otherwise an interrupt can occur when the bits are changed.  
85  
7799D–AVR–11/10  
 复制成功!