| 전자부품 데이터시트 검색엔진 |
|
RM0312 데이터시트(PDF) 136 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 데이터시트(HTML) 136 Page - STMicroelectronics |
|
136 / 275 page ![]() 16-bit general purpose timer (TIM2/TIM3) RM0312 136/275 DocID022352 Rev 3 The compare flag is set when the counter counts up, when it counts down or both when it counts up and down depending on the CMS bits configuration. The direction bit (DIR) in the TIMx_CR1 register is updated by hardware and is read-only in this mode. Refer to Center- aligned mode (up/down counting) on page 113. Figure 58 shows some center-aligned PWM waveforms in an example where: • The TIMx_ARR=8, • PWM mode is PWM mode 1, • the flag is set (arrow symbol in Figure 58) in three different cases: – only when the counter counts down (CMS=0b01) – only when the counter counts up (CMS=0b10) . – when the counter counts up and down (CMS=0b11) . Figure 58. Center-aligned PWM waveforms (ARR=8) COUNTER REGISTER ‘1’ 0 12 34 5 6 7 8 7 6 ‘0’ OCiREF CCiIF OCiREF CCiIF OCiREF CCiIF OCiREF CCRx=4 CCRx=7 CCRx=8 CCRx=0 54 3 2 1 0 1 CMS=0b01 CMS=0b10 CMS=0b11 CMS=0b10 or 0b11 CMS=0b01 CMS=0b10 CMS=0b11 CCiIF CMS=0b01 CMS=0b10 CMS=0b11 ‘1’ OCiREF CCiIF CCRx>8 CMS=0b01 CMS=0b10 CMS=0b11 |
|
링크 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 |