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

ATMEGA2560-16AU-SL383 参数 Datasheet PDF下载

ATMEGA2560-16AU-SL383图片预览
型号: ATMEGA2560-16AU-SL383
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 16MHz, CMOS, PQFP100, 14 X 14 MM, 1 MM HEIGHT, 0.50 MM PITCH, GREEN, PLASTIC, MS-026AED, TQFP-100]
分类和应用: 时钟微控制器
文件页数/大小: 448 页 / 7518 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第165页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第166页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第167页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第168页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第170页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第171页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第172页浏览型号ATMEGA2560-16AU-SL383的Datasheet PDF文件第173页  
ATmega640/1280/1281/2560/2561  
17.11.39 TIFR4 – Timer/Counter4 Interrupt Flag Register  
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
0x19 (0x39)  
Read/Write  
Initial Value  
ICF4  
R/W  
0
TIFR4  
R
0
R
0
R
0
17.11.40 TIFR5 – Timer/Counter5 Interrupt Flag Register  
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
0x1A (0x3A)  
Read/Write  
Initial Value  
ICF5  
R/W  
0
TIFR5  
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.  
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.  
• Bit 2 – OCFnB: Timer/Counter1, Output Compare B Match Flag  
This flag is set in the timer clock cycle after the counter (TCNTn) value matches the Output  
Compare Register B (OCRnB).  
Note that a Forced Output Compare (FOCnB) strobe will not set the OCFnB Flag.  
OCFnB is automatically cleared when the Output Compare Match B Interrupt Vector is exe-  
cuted. Alternatively, OCFnB can be cleared by writing a logic one to its bit location.  
• Bit 1 – OCF1A: Timer/Counter1, Output Compare A Match Flag  
This flag is set in the timer clock cycle after the counter (TCNTn value matches the Output Com-  
pare Register A (OCRnA).  
Note that a Forced Output Compare (FOCnA) strobe will not set the OCFnA Flag.  
OCFnA is automatically cleared when the Output Compare Match A Interrupt Vector is exe-  
cuted. Alternatively, OCFnA can be cleared by writing a logic one to its bit location.  
• Bit 0 – TOVn: Timer/Countern, Overflow Flag  
The setting of this flag is dependent of the WGMn3:0 bits setting. In Normal and CTC modes,  
the TOVn Flag is set when the timer overflows. Refer to Table 17-2 on page 148 for the TOVn  
Flag behavior when using another WGMn3:0 bit setting.  
TOVn is automatically cleared when the Timer/Countern Overflow Interrupt Vector is executed.  
Alternatively, TOVn can be cleared by writing a logic one to its bit location.  
169  
2549L–AVR–08/07  
 复制成功!