| 数据搜索系统,热门电子元器件搜索 |
|
ATmega162 数据表(PDF) 101 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega162 数据表(HTML) 101 Page - ATMEL Corporation |
|
101 / 324 page ![]() 101 2513K–AVR–07/09 ATmega162/V When OC0 is connected to the pin, the function of the COM01:0 bits depends on the WGM01:0 bit setting. Table 48 shows the COM01:0 bit functionality when the WGM01:0 bits are set to a Normal or CTC mode (non-PWM). Table 49 shows the COM01:0 bit functionality when the WGM01:0 bits are set to fast PWM mode. Note: 1. A special case occurs when OCR0 equals TOP and COM01 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 95 for more details. Table 50 shows the COM01:0 bit functionality when the WGM01:0 bits are set to phase correct PWM mode. Note: 1. A special case occurs when OCR0 equals TOP and COM01 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 96 for more details. Table 48. Compare Output Mode, non-PWM Mode COM01 COM00 Description 0 0 Normal port operation, OC0 disconnected. 0 1 Toggle OC0 on Compare Match. 1 0 Clear OC0 on Compare Match. 1 1 Set OC0 on Compare Match. Table 49. Compare Output Mode, fast PWM Mode(1) COM01 COM00 Description 0 0 Normal port operation, OC0 disconnected. 01 Reserved 1 0 Clear OC0 on Compare Match, set OC0 at TOP. 1 1 Set OC0 on Compare Match, clear OC0 at TOP. Table 50. Compare Output Mode, Phase Correct PWM Mode (1) COM01 COM00 Description 0 0 Normal port operation, OC0 disconnected. 01 Reserved 1 0 Clear OC0 on Compare Match when up-counting. Set OC0 on Compare Match when down-counting. 1 1 Set OC0 on Compare Match when up-counting. Clear OC0 on Compare Match when down-counting. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |