欢迎访问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文件第132页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第133页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第134页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第135页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第137页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第138页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第139页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第140页  
ATmega8U2/16U2/32U2  
• Bit 5 – ICIEn: Timer/Countern, Input Capture Interrupt Enable  
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally  
enabled), the Timer/Countern Input Capture interrupt is enabled. The corresponding Interrupt  
Vector (See “Interrupts” on page 64.) is executed when the ICFn Flag, located in TIFRn, is set.  
Bit 3 – OCIEnC: Timer/Countern, Output Compare C Match Interrupt Enable  
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally  
enabled), the Timer/Countern Output Compare C Match interrupt is enabled. The corresponding  
Interrupt Vector (See “Interrupts” on page 64.) is executed when the OCFnC Flag, located in  
TIFRn, is set.  
• Bit 2 – OCIEnB: Timer/Countern, Output Compare B Match Interrupt Enable  
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally  
enabled), the Timer/Countern Output Compare B Match interrupt is enabled. The corresponding  
Interrupt Vector (See “Interrupts” on page 64.) is executed when the OCFnB Flag, located in  
TIFRn, is set.  
• Bit 1 – OCIEnA: Timer/Countern, Output Compare A Match Interrupt Enable  
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally  
enabled), the Timer/Countern Output Compare A Match interrupt is enabled. The corresponding  
Interrupt Vector (See “Interrupts” on page 64.) is executed when the OCFnA Flag, located in  
TIFRn, is set.  
• Bit 0 – TOIEn: Timer/Countern, Overflow Interrupt Enable  
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally  
enabled), the Timer/Countern Overflow interrupt is enabled. The corresponding Interrupt Vector  
(See “Interrupts” on page 64.) is executed when the TOVn Flag, located in TIFRn, is set.  
16.11.10 TIFR1 – Timer/Counter1 Interrupt Flag Register  
Bit  
0x16 (0x36)  
7
6
5
4
3
OCF1C  
R/W  
0
2
OCF1B  
R/W  
0
1
OCF1A  
R/W  
0
0
TOV1  
R/W  
0
ICF1  
R/W  
0
TIFR1  
Read/Write  
Initial Value  
R
0
R
0
R
0
• Bit 5 – ICFn: Timer/Countern, Input Capture Flag  
This flag is set when a capture event occurs on the ICPn pin. When the Input Capture Register  
(ICRn) is set by the WGMn[3:0] to be used as the TOP value, the ICFn Flag is set when the  
counter reaches the TOP value.  
ICFn is automatically cleared when the Input Capture Interrupt Vector is executed. Alternatively,  
ICFn can be cleared by writing a logic one to its bit location.  
• Bit 3 – OCFnC: Timer/Countern, Output Compare C Match Flag  
This flag is set in the timer clock cycle after the counter (TCNTn) value matches the Output  
Compare Register C (OCRnC).  
Note that a Forced Output Compare (FOCnC) strobe will not set the OCFnC Flag.  
OCFnC is automatically cleared when the Output Compare Match C Interrupt Vector is exe-  
cuted. Alternatively, OCFnC can be cleared by writing a logic one to its bit location.  
136  
7799D–AVR–11/10  
 复制成功!