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

ATMEGA64A-AU 参数 Datasheet PDF下载

ATMEGA64A-AU图片预览
型号: ATMEGA64A-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有64K字节的系统内可编程闪存 [8-bit Microcontroller with 64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 7964 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA64A-AU的Datasheet PDF文件第132页浏览型号ATMEGA64A-AU的Datasheet PDF文件第133页浏览型号ATMEGA64A-AU的Datasheet PDF文件第134页浏览型号ATMEGA64A-AU的Datasheet PDF文件第135页浏览型号ATMEGA64A-AU的Datasheet PDF文件第137页浏览型号ATMEGA64A-AU的Datasheet PDF文件第138页浏览型号ATMEGA64A-AU的Datasheet PDF文件第139页浏览型号ATMEGA64A-AU的Datasheet PDF文件第140页  
ATmega64A  
• 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 WGMn3: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 – 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  
15-10 and Figure 15-11.  
Figure 15-14. 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.  
If external pin modes are used for the Timer/Countern, transitions on the Tn pin will clock the  
counter even if the pin is configured as an output. This feature allows software control of the  
counting.  
15.11.5 TCCR1C – Timer/Counter1 Control Register C  
Bit  
(0x7A)  
7
6
5
4
3
2
1
0
FOC1A  
FOC1B  
FOC1C  
TCCR1C  
Read/Write  
Initial Value  
W
0
W
0
W
0
R
0
R
0
R
0
R
0
R
0
136  
8160C–AVR–07/09  
 复制成功!