Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STM32W108HB Datasheet(PDF) 173 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) 173 Page - STMicroelectronics

Back Button STM32W108HB Datasheet HTML 169Page - STMicroelectronics STM32W108HB Datasheet HTML 170Page - STMicroelectronics STM32W108HB Datasheet HTML 171Page - STMicroelectronics STM32W108HB Datasheet HTML 172Page - STMicroelectronics STM32W108HB Datasheet HTML 173Page - STMicroelectronics STM32W108HB Datasheet HTML 174Page - STMicroelectronics STM32W108HB Datasheet HTML 175Page - STMicroelectronics STM32W108HB Datasheet HTML 176Page - STMicroelectronics STM32W108HB Datasheet HTML 177Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 173 / 278 page
background image
STM32W108HB STM32W108CC STM32W108CB STM32W108CZ
General-purpose timers
Doc ID 16252 Rev 14
173/278
To control the output waveform, software can update the TIMx_CCRy register at any time,
provided that the buffer register is not enabled (OCyPE = 0). Otherwise TIMx_CCRy shadow
register is updated only at the next update event. An example is given in Figure 35.
Figure 35.
Output compare mode, toggle on OC1
10.1.9
PWM mode
Pulse width modulation mode allows you to generate a signal with a frequency determined
by the value of the TIMx_ARR register, and a duty cycle determined by the value of the
TIMx_CCRy register.
PWM mode can be selected independently on each channel (one PWM per OCy output) by
writing 110 (PWM mode 1) or 111 (PWM mode 2) in the OCyM bits in the TIMx_CCMR1
register. The corresponding buffer register must be enabled by setting the OCyPE bit in the
TIMx_CCMR1 register. Finally, in up-counting or center-aligned mode the auto-reload buffer
register must be enabled by setting the ARPE bit in the TIMx_CR1 register.
Because the buffer registers are only transferred to the shadow registers when an update
event occurs, before starting the counter initialize all the registers by setting the UG bit in the
TIMx_EGR register.
OCy polarity is software programmable using the CCyP bit in the TIMx_CCER register. It
can be programmed as active high or active low. OCy output is enabled by the CCyE bit in
the TIMx_CCER register. Refer to the TIMx_CCER register description in the Registers
section for more details.
In PWM mode (1 or 2), TIMx_CNT and TIMx_CCRy are always compared to determine
whether TIMx_CCRy
≤TIMx_CNT or TIMx_CNT ≤TIMx_CCRy,depending on the direction of
the counter. The OCyREF signal is asserted only:
●
When the result of the comparison changes, or
●
When the output compare mode (OCyM bits in the TIMx_CCMR1 register) switches
from the "frozen" configuration (no comparison, OCyM = 000) to one of the PWM
modes (OCyM = 110 or 111).
OC1REF=OC1
TIMx_CNT
B200
B201
0039
TIMx_CCR1
003A
Write B201h in the TIMx_CCR1 register
Match detected on TIMx_CCR1
Interrupt generated if enabled
003B
B201
003A



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