전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

STM32W108HB 데이터시트(PDF) 103 Page - STMicroelectronics

부품명 STM32W108HB
상세설명  High-performance, IEEE 802.15.4 wireless system-on-chip
PDF  179 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32W108HB 데이터시트(HTML) 103 Page - STMicroelectronics

Back Button STM32W108HB Datasheet HTML 99Page - STMicroelectronics STM32W108HB Datasheet HTML 100Page - STMicroelectronics STM32W108HB Datasheet HTML 101Page - STMicroelectronics STM32W108HB Datasheet HTML 102Page - STMicroelectronics STM32W108HB Datasheet HTML 103Page - STMicroelectronics STM32W108HB Datasheet HTML 104Page - STMicroelectronics STM32W108HB Datasheet HTML 105Page - STMicroelectronics STM32W108HB Datasheet HTML 106Page - STMicroelectronics STM32W108HB Datasheet HTML 107Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 103 / 179 page
background image
STM32W108CB, STM32W108HB
General-purpose timers
Doc ID 16252 Rev 2
103/179
8.1.13
Timers and external trigger synchronization
The timers can be synchronized with an external trigger in several modes: reset mode,
gated mode, and trigger mode.
Slave mode: reset mode
Reset mode reinitializes the counter and its prescaler in response to an event on a trigger
input. Moreover, if the TIM_URS bit in the TIMx_CR1 register is low, an update event is
generated. Then all the buffered registers (TIMx_ARR, TIMx_CCRy) are updated.
In the following example, the up-counter is cleared in response to a rising edge on the TI1
input:
●
Configure the channel 1 to detect rising edges on TI1: Configure the input filter
duration. In this example, no filter is required so TIM_IC1F = 0000. The capture
prescaler is not used for triggering, so it is not configured. The TIM_CC1S bits select
the input capture source only, TIM_CC1S = 01 in the TIMx_CCMR1 register. Write
TIM_CC1P = 0 in the TIMx_CCER register to validate the polarity, and detect rising
edges only.
●
Configure the timer in reset mode by writing TIM_SMS = 100 in the TIMx_SMCR
register. Select TI1 as the input source by writing TIM_TS = 101 in the TIMx_SMCR
register.
●
Start the counter by writing TIM_CEN = 1 in the TIMx_CR1 register.
The counter starts counting on the internal clock, then behaves normally until the TI1 rising
edge. When TI1 rises, the counter is cleared and restarts from 0. In the meantime, the
trigger flag is set (the INT_TIMTIF bit in the INT_TIMxFLAG register) and an interrupt
request can be sent if enabled (depending on the INT_TIMTIF bit in the INT_TIMxCFG
register).
Figure 36 shows this behavior when the auto-reload register TIMx_ARR = 0x36. The delay
between the rising edge on TI1 and the actual reset of the counter is due to the
resynchronization circuit on the TI1 input.
Figure 36.
Control circuit in reset mode
Slave mode: gated mode
In gated mode the counter is enabled depending on the level of a selected input.
In the following example, the up-counter counts only when the TI1 input is low:
●
Configure channel 1 to detect low levels on TI1 Configure the input filter duration. In
this example, no filter is required, so TIM_IC1F = 0000. The capture prescaler is not
used for triggering, so it is not configured. The TIM_CC1S bits select the input capture
source only, TIM_CC1S = 01 in the TIMx_CCMR1 register. Write TIM_CC1P = 1 in the
TIMx_CCER register to validate the polarity (and detect low level only).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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