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

ATMEGA169PV 参数 Datasheet PDF下载

ATMEGA169PV图片预览
型号: ATMEGA169PV
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有16K字节的系统内可编程闪存 [Microcontroller with 16K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 390 页 / 3485 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA169PV的Datasheet PDF文件第58页浏览型号ATMEGA169PV的Datasheet PDF文件第59页浏览型号ATMEGA169PV的Datasheet PDF文件第60页浏览型号ATMEGA169PV的Datasheet PDF文件第61页浏览型号ATMEGA169PV的Datasheet PDF文件第63页浏览型号ATMEGA169PV的Datasheet PDF文件第64页浏览型号ATMEGA169PV的Datasheet PDF文件第65页浏览型号ATMEGA169PV的Datasheet PDF文件第66页  
11.2 Register Description  
11.2.1  
EICRA – External Interrupt Control Register A  
The External Interrupt Control Register A contains control bits for interrupt sense control.  
Bit  
7
6
5
4
3
2
1
ISC01  
R/W  
0
0
ISC00  
R/W  
0
(0x69)  
EICRA  
Read/Write  
Initial Value  
R
0
R
0
R
0
R
0
R
0
R
0
• Bit 1, 0 – ISC01, ISC00: Interrupt Sense Control 0 Bit 1 and Bit 0  
The External Interrupt 0 is activated by the external pin INT0 if the SREG I-flag and the corre-  
sponding interrupt mask are set. The level and edges on the external INT0 pin that activate the  
interrupt are defined in Table 11-1. The value on the INT0 pin is 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 interrupt. If low level  
interrupt is selected, the low level must be held until the completion of the currently executing  
instruction to generate an interrupt.  
Table 11-1. Interrupt 0 Sense Control  
ISC01  
ISC00  
Description  
0
0
1
1
0
1
0
1
The low level of INT0 generates an interrupt request.  
Any logical change on INT0 generates an interrupt request.  
The falling edge of INT0 generates an interrupt request.  
The rising edge of INT0 generates an interrupt request.  
11.2.2  
EIMSK – External Interrupt Mask Register  
Bit  
7
PCIE1  
R/W  
0
6
PCIE0  
R/W  
0
5
4
3
2
1
0
0x1D (0x3D)  
Read/Write  
Initial Value  
INT0  
R/W  
0
EIMSK  
R
0
R
0
R
0
R
0
R
0
• Bit 7 – PCIE1: Pin Change Interrupt Enable 1  
When the PCIE1 bit is set (one) and the I-bit in the Status Register (SREG) is set (one), pin  
change interrupt 1 is enabled. Any change on any enabled PCINT15..8 pin will cause an inter-  
rupt. The corresponding interrupt of Pin Change Interrupt Request is executed from the PCI1  
Interrupt Vector. PCINT15:8 pins are enabled individually by the PCMSK1 Register.  
• Bit 6 – PCIE0: Pin Change Interrupt Enable 0  
When the PCIE0 bit is set (one) and the I-bit in the Status Register (SREG) is set (one), pin  
change interrupt 0 is enabled. Any change on any enabled PCINT7..0 pin will cause an interrupt.  
The corresponding interrupt of Pin Change Interrupt Request is executed from the PCI0 Inter-  
rupt Vector. PCINT7:0 pins are enabled individually by the PCMSK0 Register.  
• Bit 0 – 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 exter-  
nal pin interrupt is enabled. The Interrupt Sense Control0 bits 1/0 (ISC01 and ISC00) in the  
External Interrupt Control Register A (EICRA) define whether the external interrupt is activated  
on rising and/or falling edge of the INT0 pin or level sensed. Activity on the pin will cause an  
62  
ATmega169P  
8018A–AVR–03/06  
 复制成功!