| 전자부품 데이터시트 검색엔진 |
|
ATtiny10 데이터시트(PDF) 74 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATtiny10 데이터시트(HTML) 74 Page - ATMEL Corporation |
|
74 / 168 page ![]() 74 8127C–AVR–10/09 ATtiny4/5/9/10 When OC0A or OC0B is connected to the pin, the function of COM0x1:0 bits depends on the WGM03:0 bits. Table 11-2 shows the COM0x1:0 bit functionality when the WGM03:0 bits are set to a Normal or CTC (non-PWM) Mode. Table 11-3 shows the COM0x1:0 bit functionality when the WGM03:0 bits are set to one of the Fast PWM Modes. Note: 1. A special case occurs when OCR0A/OCR0B equals TOP and COM0A1/COM0B1 is set. In this case the compare match is ignored, but set or clear is done at BOTTOM. See “Fast PWM Mode” on page 63 for more details. Table 11-4 shows the COM0x1:0 bit functionality when the WGM03:0 bits are set to the phase correct or the phase and frequency correct, PWM mode. Note: 1. A special case occurs when OCR0A/OCR0B equals TOP and COM0A1/COM0B1 is set. “Phase Correct PWM Mode” on page 65 for more details. Table 11-2. Compare Output in Non-PWM Modes COM0A1/ COM0B1 COM0A0 COM0B0 Description 0 0 Normal port operation: OC0A/OC0B disconnected 1 Toggle OC0A/OC0B on compare match 1 0 Clear (set low) OC0A/OC0B on compare match 1 Set (high) OC0A/OC0B on compare match Table 11-3. Compare Output in Fast PWM Modes COM0A1/ COM0B1 COM0A0/ COM0B0 Description 0 0 Normal port operation: OC0A/OC0B disconnected 1 WGM03 = 0: Normal port operation, OC0A/OC0B disconnected WGM03 = 1: Toggle OC0A on compare match, OC0B reserved 1 (1) 0 Clear OC0A/OC0B on compare match Set OC0A/OC0B at BOTTOM (non-inverting mode) 1 Set OC0A/OC0B on compare match Clear OC0A/OC0B at BOTTOM (inverting mode) Table 11-4. Compare Output in Phase Correct and Phase & Frequency Correct PWM Modes COM0A1/ COM0B1 COM0A0/ COM0B0 Description 0 0 Normal port operation: OC0A/OC0B disconnected. 1 WGM03 = 0: Normal port operation, OC0A/OC0B disconnected WGM03 = 1: Toggle OC0A on compare match, OC0B reserved 1 (1) 0 Counting up: Clear OC0A/OC0B on compare match Counting down: Set OC0A/OC0B on compare match 1 Counting up: Set OC0A/OC0B on compare match Counting down: Clear OC0A/OC0B on compare match |
|
링크 URL |
| 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 |