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

ATMEGA8-16AI 参数 Datasheet PDF下载

ATMEGA8-16AI图片预览
型号: ATMEGA8-16AI
PDF下载: 下载PDF文件 查看货源
内容描述: 位的AVR微控制器8K字节在 - 系统内可编程Flash [-bit AVR Microcontroller with 8K Bytes In- System Programmable Flash]
分类和应用: 微控制器
文件页数/大小: 303 页 / 5122 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA8-16AI的Datasheet PDF文件第94页浏览型号ATMEGA8-16AI的Datasheet PDF文件第95页浏览型号ATMEGA8-16AI的Datasheet PDF文件第96页浏览型号ATMEGA8-16AI的Datasheet PDF文件第97页浏览型号ATMEGA8-16AI的Datasheet PDF文件第99页浏览型号ATMEGA8-16AI的Datasheet PDF文件第100页浏览型号ATMEGA8-16AI的Datasheet PDF文件第101页浏览型号ATMEGA8-16AI的Datasheet PDF文件第102页  
Timer/Counter 1 Control  
Register B – TCCR1B  
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
TCCR1B  
Read/Write  
Initial Value  
R
0
• Bit 7 – ICNC1: Input Capture Noise Canceler  
Setting this bit (to one) activates the Input Capture Noise Canceler. When the noise can-  
celer is activated, the input from the Input Capture Pin (ICP1) is filtered. The filter  
function requires four successive equal valued samples of the ICP1 pin for changing its  
output. The Input Capture is therefore delayed by four Oscillator cycles when the noise  
canceler is enabled.  
• Bit 6 – ICES1: Input Capture Edge Select  
This bit selects which edge on the Input Capture Pin (ICP1) that is used to trigger a cap-  
ture event. When the ICES1 bit is written to zero, a falling (negative) edge is used as  
trigger, and when the ICES1 bit is written to one, a rising (positive) edge will trigger the  
capture.  
When a capture is triggered according to the ICES1 setting, the counter value is copied  
into the Input Capture Register (ICR1). The event will also set the Input Capture Flag  
(ICF1), and this can be used to cause an Input Capture Interrupt, if this interrupt is  
enabled.  
When the ICR1 is used as TOP value (see description of the WGM13:0 bits located in  
the TCCR1A and the TCCR1B Register), the ICP1 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 TCCR1B is written.  
• Bit 4:3 – WGM13:2: Waveform Generation Mode  
See TCCR1A Register description.  
• Bit 2:0 – CS12:0: Clock Select  
The three clock select bits select the clock source to be used by the Timer/Counter, see  
Figure 41 and Figure 42.  
Table 40. Clock Select Bit Description  
CS12  
CS11  
CS10  
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 T1 pin. Clock on falling edge.  
External clock source on T1 pin. Clock on rising edge.  
98  
ATmega8(L)  
2486M–AVR–12/03  
 复制成功!