Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

STM32W108CB Scheda tecnica(PDF) 174 Page - STMicroelectronics

Il numero della parte STM32W108CB
Spiegazioni elettronici  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
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32W108CB Scheda tecnica(HTML) 174 Page - STMicroelectronics

Back Button STM32W108CB Datasheet HTML 170Page - STMicroelectronics STM32W108CB Datasheet HTML 171Page - STMicroelectronics STM32W108CB Datasheet HTML 172Page - STMicroelectronics STM32W108CB Datasheet HTML 173Page - STMicroelectronics STM32W108CB Datasheet HTML 174Page - STMicroelectronics STM32W108CB Datasheet HTML 175Page - STMicroelectronics STM32W108CB Datasheet HTML 176Page - STMicroelectronics STM32W108CB Datasheet HTML 177Page - STMicroelectronics STM32W108CB Datasheet HTML 178Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 174 / 278 page
background image
General-purpose timers
STM32W108HB STM32W108CC STM32W108CB STM32W108CZ
174/278
Doc ID 16252 Rev 14
This allows software to force a PWM output to a particular state while the timer is running.
The timer is able to generate PWM in edge-aligned mode or center-aligned mode
depending on the CMS bits in the TIMx_CR1 register.
PWM edge-aligned mode: up-counting configuration
Up-counting is active when the DIR bit in the TIMx_CR1 register is low. Refer to Up-counting
mode on page 159.
The following example uses PWM mode 1. The reference PWM signal OCyREF is high as
long as TIMx_CNT < TIMx_CCRy, otherwise it becomes low. If the compare value in
TIMx_CCRy is greater than the auto-reload value in TIMx_ARR, then OCyREF is held at 1.
If the compare value is 0, then OCyREF is held at 0. Figure 36 shows some edge-aligned
PWM waveforms in an example, where TIMx_ARR = 8.
Figure 36.
Edge-aligned PWM waveforms (ARR = 8)
PWM edge-aligned mode: down-counting configuration
Down-counting is active when the DIR bit in the TIMx_CR1 register is high. Refer to Down-
counting mode on page 161 for more information.
In PWM mode 1, the reference signal OCyREF is low as long as TIMx_CNT > TIMx_CCRy,
otherwise it becomes high. If the compare value in TIMx_CCRy is greater than the auto-
reload value in TIMx_ARR, then OCyREF is held at 1. Zero-percent PWM is not possible in
this mode.
PWM center-aligned mode
Center-aligned mode is active except when the CMS bits in the TIMx_CR1 register are 00
(all configurations where CMS is non-zero have the same effect on the OCyREF/OCy
signals). The compare flag is set when the counter counts up, when it counts down, or when
it counts up and down, depending on the CMS bits configuration. The direction bit (DIR) in
the TIMx_CR1 register is updated by hardware and must not be changed by software. Refer
to Center-aligned mode (up/down counting) on page 162 for more information.
Counter register
‘1
0
12
34
5
6
7
8
0
1
‘0
OCxREF
CCyIE
OCxREF
CCyIE
OCxREF
OCxREF
TIMx_CCRy=4
TIMx_CCRy=8
CCyIE
CCyIE
TIMx_CCRy>8
TIMx_CCRy=0



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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