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

ATMEGA48V-10MMHR 参数 Datasheet PDF下载

ATMEGA48V-10MMHR图片预览
型号: ATMEGA48V-10MMHR
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, AVR RISC CPU, 10MHz, CMOS, PQCC28, 4 X 4 MM, 1 MM HEIGHT, 0.45 MM PITCH, GREEN, PLASTIC, VQFN-28]
分类和应用: 闪存微控制器
文件页数/大小: 376 页 / 4764 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第91页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第92页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第93页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第94页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第96页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第97页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第98页浏览型号ATMEGA48V-10MMHR的Datasheet PDF文件第99页  
ATmega48/88/168  
Figure 14-4. Compare Match Output Unit, Schematic  
COMnx1  
Waveform  
Generator  
COMnx0  
FOCn  
D
Q
1
0
OCnx  
Pin  
OCnx  
D
Q
PORT  
D
Q
DDR  
clkI/O  
The general I/O port function is overridden by the Output Compare (OC0x) from the Waveform  
Generator if either of the COM0x1:0 bits are set. However, the OC0x pin direction (input or out-  
put) is still controlled by the Data Direction Register (DDR) for the port pin. The Data Direction  
Register bit for the OC0x pin (DDR_OC0x) must be set as output before the OC0x value is visi-  
ble 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 OC0x state before the out-  
put is enabled. Note that some COM0x1:0 bit settings are reserved for certain modes of  
operation. See “Register Description” on page 102.  
14.6.1  
Compare Output Mode and Waveform Generation  
The Waveform Generator uses the COM0x1:0 bits differently in Normal, CTC, and PWM modes.  
For all modes, setting the COM0x1:0 = 0 tells the Waveform Generator that no action on the  
OC0x Register is to be performed on the next compare match. For compare output actions in the  
non-PWM modes refer to Table 14-2 on page 102. For fast PWM mode, refer to Table 14-3 on  
page 102, and for phase correct PWM refer to Table 14-4 on page 103.  
A change of the COM0x1:0 bits state will have effect at the first compare match after the bits are  
written. For non-PWM modes, the action can be forced to have immediate effect by using the  
FOC0x strobe bits.  
14.7 Modes of Operation  
The mode of operation, i.e., the behavior of the Timer/Counter and the Output Compare pins, is  
defined by the combination of the Waveform Generation mode (WGM02:0) and Compare Output  
mode (COM0x1:0) bits. The Compare Output mode bits do not affect the counting sequence,  
while the Waveform Generation mode bits do. The COM0x1:0 bits control whether the PWM out-  
put generated should be inverted or not (inverted or non-inverted PWM). For non-PWM modes  
the COM0x1:0 bits control whether the output should be set, cleared, or toggled at a compare  
match (See “Compare Match Output Unit” on page 94.).  
For detailed timing information refer to “Timer/Counter Timing Diagrams” on page 100.  
95  
2545M–AVR–09/07  
 复制成功!