| データシートサーチシステム |
|
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 |