欢迎访问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文件第112页浏览型号ATMEGA8-16AI的Datasheet PDF文件第113页浏览型号ATMEGA8-16AI的Datasheet PDF文件第114页浏览型号ATMEGA8-16AI的Datasheet PDF文件第115页浏览型号ATMEGA8-16AI的Datasheet PDF文件第117页浏览型号ATMEGA8-16AI的Datasheet PDF文件第118页浏览型号ATMEGA8-16AI的Datasheet PDF文件第119页浏览型号ATMEGA8-16AI的Datasheet PDF文件第120页  
Table 43. Compare Output Mode, Non-PWM Mode  
COM21  
COM20  
Description  
0
0
1
1
0
1
0
1
Normal port operation, OC2 disconnected.  
Toggle OC2 on Compare Match  
Clear OC2 on Compare Match  
Set OC2 on Compare Match  
Table 44 shows the COM21:0 bit functionality when the WGM21:0 bits are set to fast  
PWM mode.  
Table 44. Compare Output Mode, Fast PWM Mode(1)  
COM21  
COM20  
Description  
0
0
1
1
0
1
0
1
Normal port operation, OC2 disconnected.  
Reserved  
Clear OC2 on Compare Match, set OC2 at TOP  
Set OC2 on Compare Match, clear OC2 at TOP  
Note:  
1. A special case occurs when OCR2 equals TOP and COM21 is set. In this case, the  
Compare Match is ignored, but the set or clear is done at TOP. See “Fast PWM  
Mode” on page 110 for more details.  
Table 45 shows the COM21:0 bit functionality when the WGM21:0 bits are set to phase  
correct PWM mode.  
Table 45. Compare Output Mode, Phase Correct PWM Mode(1)  
COM21 COM20 Description  
0
0
0
1
Normal port operation, OC2 disconnected.  
Reserved  
Clear OC2 on Compare Match when up-counting. Set OC2 on Compare  
Match when downcounting.  
1
1
0
1
Set OC2 on Compare Match when up-counting. Clear OC2 on Compare  
Match when downcounting.  
Note:  
1. A special case occurs when OCR2 equals TOP and COM21 is set. In this case, the  
Compare Match is ignored, but the set or clear is done at TOP. See “Phase Correct  
PWM Mode” on page 111 for more details.  
116  
ATmega8(L)  
2486M–AVR–12/03  
 复制成功!