欢迎访问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文件第129页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第130页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第131页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第132页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第134页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第135页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第136页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第137页  
ATmega8U2/16U2/32U2  
16.11.2 TCCR1B – Timer/Counter1 Control Register B  
Bit  
7
ICNC1  
R/W  
0
6
ICES1  
R/W  
0
5
4
WGM13  
R/W  
0
3
WGM12  
R/W  
0
2
CS12  
R/W  
0
1
CS11  
R/W  
0
0
CS10  
R/W  
0
(0x81)  
TCCR1B  
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 capture  
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 WGMn[3:0] bits located in the  
TCCRnA and the TCCRnB Register), the ICPn is disconnected and consequently the input cap-  
ture 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 – WGMn[3:2]: Waveform Generation Mode  
See TCCRnA Register description.  
• Bit 2:0 – CSn[2:0]: Clock Select  
The three clock select bits select the clock source to be used by the Timer/Counter, see Figure  
15-1 and Figure 15-2.  
Table 16-5. Clock Select Bit Description  
CSn2  
CSn1  
CSn0  
Description  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
No clock source. (Timer/Counter stopped)  
clkI/O/1 (No prescaling  
clkI/O/8 (From prescaler)  
clkI/O/64 (From prescaler)  
clkI/O/256 (From prescaler)  
clkI/O/1024 (From prescaler)  
External clock source on Tn pin. Clock on falling edge  
External clock source on Tn pin. Clock on rising edge  
133  
7799D–AVR–11/10  
 复制成功!