| 전자부품 데이터시트 검색엔진 |
|
STM32W108HB 데이터시트(PDF) 91 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32W108HB 데이터시트(HTML) 91 Page - STMicroelectronics |
|
91 / 179 page ![]() STM32W108CB, STM32W108HB General-purpose timers Doc ID 16252 Rev 2 91/179 Figure 24 gives an overview of the external trigger input block. Figure 24. External trigger input block For example, to configure the up-counter to count each 2 rising edges on ETR, use the following procedure: ● As no filter is needed in this example, write TIM_ETF = 0000 in the TIMx_SMCR register. ● Set the prescaler by writing TIM_ETPS = 01 in the TIMx_SMCR register. ● Select rising edge detection on ETR by writing TIM_ETP = 0 in the TIMx_SMCR register. ● Enable external clock mode 2 by writing TIM_ECE = 1 in the TIMx_SMCR register. ● Enable the counter by writing TIM_CEN = 1 in the TIMx_CR1 register. The counter counts once each 2 ETR rising edges. The delay between the rising edge on ETR and the actual clock of the counter is due to the resynchronization circuit on the ETRP signal. Figure 25. Control circuit in external clock mode 2 8.1.4 Capture/compare channels Each capture/compare channel is built around a capture/compare register including a shadow register, an input stage for capture with digital filter, multiplexing and prescaler, and an output stage with comparator and output control. |
|
링크 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 |