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

ATMEGA32L-8PL 参数 Datasheet PDF下载

ATMEGA32L-8PL图片预览
型号: ATMEGA32L-8PL
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS, PDIP40, 0.600 INCH, PLASTIC, MS-011AC, DIP-40]
分类和应用: 闪存微控制器
文件页数/大小: 347 页 / 3171 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA32L-8PL的Datasheet PDF文件第64页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第65页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第66页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第67页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第69页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第70页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第71页浏览型号ATMEGA32L-8PL的Datasheet PDF文件第72页  
ISC10) in the MCU General Control Register (MCUCR) define whether the External  
Interrupt is activated on rising and/or falling edge of the INT1 pin or level sensed. Activity  
on the pin will cause an interrupt request even if INT1 is configured as an output. The  
corresponding interrupt of External Interrupt Request 1 is executed from the INT1 inter-  
rupt Vector.  
• 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 enabled. 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 and/or falling edge of the INT0 pin or level sensed. Activity  
on the pin will cause an interrupt request even if INT0 is configured as an output. The  
corresponding interrupt of External Interrupt Request 0 is executed from the INT0 inter-  
rupt vector.  
• Bit 5 – INT2: External Interrupt Request 2 Enable  
When the INT2 bit is set (one) and the I-bit in the Status Register (SREG) is set (one),  
the external pin interrupt is enabled. The Interrupt Sense Control2 bit (ISC2) in the MCU  
Control and Status Register (MCUCSR) defines whether the External Interrupt is acti-  
vated on rising or falling edge of the INT2 pin. Activity on the pin will cause an interrupt  
request even if INT2 is configured as an output. The corresponding interrupt of External  
Interrupt Request 2 is executed from the INT2 Interrupt Vector.  
General Interrupt Flag  
Register – GIFR  
Bit  
7
INTF1  
R/W  
0
6
INTF0  
R/W  
0
5
INTF2  
R/W  
0
4
3
2
1
0
GIFR  
Read/Write  
Initial Value  
R
0
R
0
R
0
R
0
R
0
• Bit 7 – INTF1: External Interrupt Flag 1  
When an edge or logic change on the INT1 pin triggers an interrupt request, INTF1  
becomes set (one). If the I-bit in SREG and the INT1 bit in GICR are set (one), the MCU  
will jump to the corresponding Interrupt Vector. The flag is cleared when the interrupt  
routine is executed. Alternatively, the flag can be cleared by writing a logical one to it.  
This flag is always cleared when INT1 is configured as a level interrupt.  
• Bit 6 – INTF0: External Interrupt Flag 0  
When an edge or logic change on the INT0 pin triggers an interrupt request, INTF0  
becomes set (one). If the I-bit in SREG and the INT0 bit in GICR are set (one), the MCU  
will jump to the corresponding interrupt vector. The flag is cleared when the interrupt  
routine is executed. Alternatively, the flag can be cleared by writing a logical one to it.  
This flag is always cleared when INT0 is configured as a level interrupt.  
• Bit 5 – INTF2: External Interrupt Flag 2  
When an event on the INT2 pin triggers an interrupt request, INTF2 becomes set (one).  
If the I-bit in SREG and the INT2 bit in GICR are set (one), the MCU will jump to the cor-  
responding Interrupt Vector. The flag is cleared when the interrupt routine is executed.  
Alternatively, the flag can be cleared by writing a logical one to it. Note that when enter-  
ing some sleep modes with the INT2 interrupt disabled, the input buffer on this pin will  
be disabled. This may cause a logic change in internal signals which will set the INTF2  
Flag. See “Digital Input Enable and Sleep Modes” on page 53 for more information.  
68  
ATmega32(L)  
2503J–AVR–10/06  
 复制成功!