| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ATmega64A bảng dữ liệu(PDF) 159 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega64A bảng dữ liệu(HTML) 159 Page - ATMEL Corporation |
|
159 / 392 page ![]() 159 8160C–AVR–07/09 ATmega64A Table 17-4 shows the COM21:0 bit functionality when the WGM21:0 bits are set to fast PWM mode. 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 BOTTOM. See “Fast PWM Mode” on page 152 for more details. Table 17-5 shows the COM21:0 bit functionality when the WGM21:0 bits are set to phase cor- rect PWM mode. 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 154 for more details. • Bit 2:0 – CS22:0: Clock Select The three Clock Select bits select the clock source to be used by the Timer/Counter. If external pin modes are used for the Timer/Counter2, transitions on the T2 pin will clock the counter even if the pin is configured as an output. This feature allows software control of the counting. Table 17-4. Compare Output Mode, Fast PWM Mode(1) COM21 COM20 Description 0 0 Normal port operation, OC2 disconnected. 01 Reserved 1 0 Clear OC2 on Compare Match, set OC2 at BOTTOM, (non-inverting mode). 1 1 Set OC2 on Compare Match, clear OC2 at BOTTOM, (inverting mode). Table 17-5. Compare Output Mode, Phase Correct PWM Mode (1) COM21 COM20 Description 0 0 Normal port operation, OC2 disconnected. 01 Reserved 1 0 Clear OC2 on Compare Match when up-counting. Set OC2 on Compare Match when downcounting. 1 1 Set OC2 on Compare Match when up-counting. Clear OC2 on Compare Match when downcounting. Table 17-6. Clock Select Bit Description CS22 CS21 CS20 Description 0 0 0 No clock source (Timer/counter stopped). 00 1 clkI/O/(No prescaling) 01 0 clkI/O/8 (From prescaler) 01 1 clkI/O/64 (From prescaler) 10 0 clkI/O/256 (From prescaler) 10 1 clkI/O/1024 (From prescaler) 1 1 0 External clock source on T2 pin. Clock on falling edge. 1 1 1 External clock source on T2 pin. Clock on rising edge. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |