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

ATMEGA2560 参数 Datasheet PDF下载

ATMEGA2560图片预览
型号: ATMEGA2560
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与256K字节的系统内可编程闪存 [8- BIT Microcontroller with 256K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 407 页 / 2985 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560的Datasheet PDF文件第163页浏览型号ATMEGA2560的Datasheet PDF文件第164页浏览型号ATMEGA2560的Datasheet PDF文件第165页浏览型号ATMEGA2560的Datasheet PDF文件第166页浏览型号ATMEGA2560的Datasheet PDF文件第168页浏览型号ATMEGA2560的Datasheet PDF文件第169页浏览型号ATMEGA2560的Datasheet PDF文件第170页浏览型号ATMEGA2560的Datasheet PDF文件第171页  
ATmega640/1280/1281/2560/2561  
• 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 glo-  
bally enabled), the Timer/Countern Output Compare C Match interrupt is enabled. The  
corresponding Interrupt Vector (See “Interrupts” on page 69.) 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 glo-  
bally enabled), the Timer/Countern Output Compare B Match interrupt is enabled. The  
corresponding Interrupt Vector (See “Interrupts” on page 69.) 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 glo-  
bally enabled), the Timer/Countern Output Compare A Match interrupt is enabled. The  
corresponding Interrupt Vector (See “Interrupts” on page 69.) 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 glo-  
bally enabled), the Timer/Countern Overflow interrupt is enabled. The corresponding  
Interrupt Vector (See “Interrupts” on page 69.) is executed when the TOVn Flag, located  
in TIFRn, is set.  
Timer/Counter1 Interrupt Flag  
Register – TIFR1  
Bit  
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  
TIFR3  
TIFR4  
TIFR5  
Read/Write  
Initial Value  
R
0
R
0
R
0
Timer/Counter3 Interrupt Flag  
Register – TIFR3  
Bit  
7
6
5
4
3
OCF3C  
R/W  
0
2
OCF3B  
R/W  
0
1
OCF3A  
R/W  
0
0
TOV3  
R/W  
0
ICF3  
R/W  
0
Read/Write  
Initial Value  
R
0
R
0
R
0
Timer/Counter4 Interrupt Flag  
Register – TIFR4  
Bit  
7
6
5
4
3
OCF4C  
R/W  
0
2
OCF4B  
R/W  
0
1
OCF4A  
R/W  
0
0
TOV4  
R/W  
0
ICF4  
R/W  
0
Read/Write  
Initial Value  
R
0
R
0
R
0
Timer/Counter5 Interrupt Flag  
Register – TIFR5  
Bit  
7
6
5
4
3
OCF5C  
R/W  
0
2
OCF5B  
R/W  
0
1
OCF5A  
R/W  
0
0
TOV5  
R/W  
0
ICF5  
R/W  
0
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 WGMn3:0 to be used as the TOP value, the ICFn Flag is  
set when the counter reaches the TOP value.  
167  
2549A–AVR–03/05  
 复制成功!