Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STM32W108HB Datasheet(PDF) 182 Page - STMicroelectronics

Part # STM32W108HB
Description  High-performance, IEEE 802.15.4 wireless system-on-chip with up to 256 Kbytes of embedded Flash memory
PDF  278 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32W108HB Datasheet(HTML) 182 Page - STMicroelectronics

Back Button STM32W108HB Datasheet HTML 178Page - STMicroelectronics STM32W108HB Datasheet HTML 179Page - STMicroelectronics STM32W108HB Datasheet HTML 180Page - STMicroelectronics STM32W108HB Datasheet HTML 181Page - STMicroelectronics STM32W108HB Datasheet HTML 182Page - STMicroelectronics STM32W108HB Datasheet HTML 183Page - STMicroelectronics STM32W108HB Datasheet HTML 184Page - STMicroelectronics STM32W108HB Datasheet HTML 185Page - STMicroelectronics STM32W108HB Datasheet HTML 186Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 182 / 278 page
background image
General-purpose timers
STM32W108HB STM32W108CC STM32W108CB STM32W108CZ
182/278
Doc ID 16252 Rev 14
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 IC1F = 0000. The capture prescaler is not used for
triggering, so it is not configured. The CC1S bits select the input capture source only,
CC1S = 01 in the TIMx_CCMR1 register. Write CC1P = 1 in the TIMx_CCER register to
validate the polarity (and detect low level only).
●
Configure the timer in Gated mode by writing SMS = 101 in the TIMx_SMCR register.
Select TI1 as the input source by writing TS = 101 in the TIMx_SMCR register.
●
Enable the counter by writing CEN = 1 in the TIMx_CR1 register. In Gated mode, the
counter does not start if CEN = 0, regardless of the trigger input level.
The counter starts counting on the internal clock as long as TI1 is low and stops as soon as
TI1 becomes high. The TIE flag in the TIMx_SR register is set when the counter starts and
when it stops.
The delay between the rising edge on TI1 and the actual stop of the counter is due to the
resynchronization circuit on the TI1 input.
Figure 42.
Control circuit in Gated mode
Counter clock = CK_CNT = CK_PSC
Counter register
35 36 37 38
32 33
34
TI1
31
30
CNT_EN
TIE
Clear TIE



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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