欢迎访问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文件第157页浏览型号ATMEGA2560的Datasheet PDF文件第158页浏览型号ATMEGA2560的Datasheet PDF文件第159页浏览型号ATMEGA2560的Datasheet PDF文件第160页浏览型号ATMEGA2560的Datasheet PDF文件第162页浏览型号ATMEGA2560的Datasheet PDF文件第163页浏览型号ATMEGA2560的Datasheet PDF文件第164页浏览型号ATMEGA2560的Datasheet PDF文件第165页  
ATmega640/1280/1281/2560/2561  
Timer/Counter5 Control  
Register B – TCCR5B  
Bit  
7
ICNC5  
R/W  
0
6
ICES5  
R/W  
0
5
4
WGM53  
R/W  
0
3
WGM52  
R/W  
0
2
CS52  
R/W  
0
1
CS51  
R/W  
0
0
CS50  
R/W  
0
TCCR5B  
Read/Write  
Initial Value  
R
0
• Bit 7 – ICNCn: Input Capture Noise Canceler  
Setting this bit (to one) activates the Input Capture Noise Canceler. When the Noise  
Canceler is activated, the input from the Input Capture Pin (ICPn) is filtered. The filter  
function requires four successive equal valued samples of the ICPn pin for changing its  
output. The input capture is therefore delayed by four Oscillator cycles when the noise  
canceler is enabled.  
• Bit 6 – ICESn: Input Capture Edge Select  
This bit selects which edge on the Input Capture Pin (ICPn) that is used to trigger a cap-  
ture event. When the ICESn bit is written to zero, a falling (negative) edge is used as  
trigger, and when the ICESn bit is written to one, a rising (positive) edge will trigger the  
capture.  
When a capture is triggered according to the ICESn setting, the counter value is copied  
into the Input Capture Register (ICRn). The event will also set the Input Capture Flag  
(ICFn), and this can be used to cause an Input Capture Interrupt, if this interrupt is  
enabled.  
When the ICRn is used as TOP value (see description of the WGMn3:0 bits located in  
the TCCRnA and the TCCRnB Register), the ICPn is disconnected and consequently  
the input capture function is disabled.  
• Bit 5 – Reserved Bit  
This bit is reserved for future use. For ensuring compatibility with future devices, this bit  
must be written to zero when TCCRnB is written.  
• Bit 4:3 – WGMn3:2: Waveform Generation Mode  
See TCCRnA Register description.  
• Bit 2:0 – CSn2:0: Clock Select  
The three clock select bits select the clock source to be used by the Timer/Counter, see  
Figure 58 and Figure 59.  
161  
2549A–AVR–03/05  
 复制成功!