Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button STM32W108HB Datasheet HTML 153Page - STMicroelectronics STM32W108HB Datasheet HTML 154Page - STMicroelectronics STM32W108HB Datasheet HTML 155Page - STMicroelectronics STM32W108HB Datasheet HTML 156Page - STMicroelectronics STM32W108HB Datasheet HTML 157Page - STMicroelectronics STM32W108HB Datasheet HTML 158Page - STMicroelectronics STM32W108HB Datasheet HTML 159Page - STMicroelectronics STM32W108HB Datasheet HTML 160Page - STMicroelectronics STM32W108HB Datasheet HTML 161Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 157 / 278 page
background image
STM32W108HB STM32W108CC STM32W108CB STM32W108CZ
General-purpose timers
Doc ID 16252 Rev 14
157/278
10.1
Functional description
The timers can optionally use GPIOs in the PA and PB ports for external inputs or outputs.
As with all STM32W108 digital inputs, a GPIO used as a timer input can be shared with
other uses of the same pin. Available timer inputs include an external timer clock, a clock
mask, and four input channels. Any GPIO used as a timer output must be configured as an
alternate output and is controlled only by the timer.
Many of the GPIOs that can be assigned as timer outputs can also be used by another on-
chip peripheral such as a serial controller. Use as a timer output takes precedence over
another peripheral function, as long as the channel is configured as an output in the
TIMx_CCMR1 register and is enabled in the TIMx_CCER register.
The GPIOs that can be used by Timer 1 are fixed, but the GPIOs that can be used as Timer
2 channels can be mapped to either of two pins, as shown in Table 32. The Timer 2 Option
Register (TIM2_OR) has four single bit fields (REMAPCy) that control whether a Timer 2
channel is mapped to its default GPIO in port PA, or remapped to a GPIO in PB.
Table 32 specifies the pins that may be assigned to Timer 1 and Timer 2 functions.
Timer 1
Timer 2
(REMAPCy = 0)
Timer 2
(REMAPCy = 1)
The TIMxCLK and TIMxMSK inputs can be used only in the external clock modes: refer to
the External Clock Source Mode 1 and External Clock Source Mode 2 sections for details
concerning their use.
10.1.1
Time-base unit
The main block of the general purpose timer is a 16-bit counter with its related auto-reload
register. The counter can count up, down, or alternate up and down. The counter clock can
be divided by a prescaler.
The counter, the auto-reload register, and the prescaler register can be written to or read by
software. This is true even when the counter is running.
The time-base unit includes:
●
Counter register (TIMx_CNT)
●
Prescaler register (TIMx_PSC)
●
Auto-reload register (TIMx_ARR)
Some timer registers cannot be directly accessed by software, which instead reads and
writes a "buffer register". The internal registers actually used for timer operations are called
"shadow registers".
Table 32.
Timer GPIO use
Signal (direction)
TIMxC1
(in or out)
TIMxC2
(in or out)
TIMxC3
(in or out)
TIMxC4
(in or out)
TIMxCLK
(in)
TIMxMSK
(in)
PB6
PB7
PA6
PA7
PB0
PB5
PA0
PA3
PA1
PA2
PB5
PB0
PB1
PB2
PB3
PB4
PB5
PB0



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