欢迎访问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文件第92页浏览型号ATMEGA64A-AU的Datasheet PDF文件第93页浏览型号ATMEGA64A-AU的Datasheet PDF文件第94页浏览型号ATMEGA64A-AU的Datasheet PDF文件第95页浏览型号ATMEGA64A-AU的Datasheet PDF文件第97页浏览型号ATMEGA64A-AU的Datasheet PDF文件第98页浏览型号ATMEGA64A-AU的Datasheet PDF文件第99页浏览型号ATMEGA64A-AU的Datasheet PDF文件第100页  
ATmega64A  
(FOC0) strobe bit in Normal mode. The OC0 Register keeps its value even when changing  
between waveform generation modes.  
Be aware that the COM01:0 bits are not double buffered together with the compare value.  
Changing the COM01:0 bits will take effect immediately.  
14.6 Compare Match Output Unit  
The Compare Output mode (COM01:0) bits have two functions. The Waveform Generator uses  
the COM01:0 bits for defining the Output Compare (OC0) state at the next Compare Match.  
Also, the COM01:0 bits control the OC0 pin output source. Figure 14-4 shows a simplified sche-  
matic of the logic affected by the COM01:0 bit setting. The I/O Registers, I/O bits, and I/O pins in  
the figure are shown in bold. Only the parts of the general I/O port control registers (DDR and  
PORT) that are affected by the COM01:0 bits are shown. When referring to the OC0 state, the  
reference is for the internal OC0 Register, not the OC0 pin.  
Figure 14-4. Compare Match Output Unit, Schematic  
COMn1  
Waveform  
Generator  
COMn0  
FOCn  
D
Q
Q
1
0
OCn  
Pin  
OCn  
D
PORT  
D
Q
DDR  
clkI/O  
The general I/O port function is overridden by the Output Compare (OC0) from the Waveform  
Generator if either of the COM01:0 bits are set. However, the OC0 pin direction (input or output)  
is still controlled by the Data Direction Register (DDR) for the port pin. The Data Direction Regis-  
ter bit for the OC0 pin (DDR_OC0) must be set as output before the OC0 value is visible on the  
pin. The port override function is independent of the Waveform Generation mode.  
The design of the Output Compare pin logic allows initialization of the OC0 state before the out-  
put is enabled. Note that some COM01:0 bit settings are reserved for certain modes of  
operation. See “Register Description” on page 106.  
96  
8160C–AVR–07/09  
 复制成功!