| 전자부품 데이터시트 검색엔진 |
|
AN4013 데이터시트(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4013 데이터시트(HTML) 20 Page - STMicroelectronics |
|
20 / 37 page ![]() General-purpose timer modes AN4013 20/37 DocID022500 Rev 4 The following figure presents an example of the Retriggerable OPM mode Figure 3. Retriggerable OPM mode To configure the timer in this mode: 1. Configure the input pin and mode: a) Select the TIxFPx trigger to be used by writing CCxS bits in CCMRx register. b) Select the polarity of the input pin by writing CCxP and CCxNP bits in CCER register. c) Configure the TIxFPx trigger for the slave mode trigger by writing TS bits in SMCR register. d) Select the Combined Reset + trigger mode for the slave mode by writing SMS = 1000 in SMCR register. 2. Configure the output pin and mode: a) Select the output polarity by writing CCyP bit in CCER register. b) Select the output compare mode by writing OCyM bits in CCMRy register (Retriggerable OPM mode 1 or Retriggerable OPM mode 2). c) Set the Pulse length value by writing in CCRy register if the counter is down- counting or by writing in the ARR if the counter is up-counting. For more details on using the timer in this mode, refer to the examples provided in the STM32F30x standard peripheral libraries, in the /Project/STM32F30x_StdPeriph_Examples/ TIM/Retriggerable OPM folder. |
|
링크 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 |