STM32W108CBU6 STMICROELECTRONICS [STMicroelectronics], STM32W108CBU6 Datasheet - Page 83

no-image

STM32W108CBU6

Manufacturer Part Number
STM32W108CBU6
Description
High-performance, IEEE 802.15.4 wireless system-on-chip
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STM32W108CBU6
Manufacturer:
ST
Quantity:
20 000
Part Number:
STM32W108CBU61
Manufacturer:
ST
0
Part Number:
STM32W108CBU61TR
Manufacturer:
ST
0
Part Number:
STM32W108CBU63
Manufacturer:
ST
0
Part Number:
STM32W108CBU63TR
Manufacturer:
ST
0
Part Number:
STM32W108CBU63TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
STM32W108CBU64
Manufacturer:
ST
Quantity:
2 330
Part Number:
STM32W108CBU64
Manufacturer:
ST
0
Part Number:
STM32W108CBU64TR
Manufacturer:
IDT
Quantity:
5 803
Part Number:
STM32W108CBU64TR
Manufacturer:
ST
Quantity:
20 000
STM32W108CB, STM32W108HB
Note:
8.1.2
When the STM32W108 enters debug mode and the ARM® Cortex-M3 core is halted, the
counters continue to run normally.
Prescaler
The prescaler can divide the counter clock frequency by power of two from 1 through 32768.
It is based on a 16-bit counter controlled through the 4-bit TIM_PSCEXP bit field in the
TIMx_PSC register. The factor by which the counter is divided is two raised to the power
TIM_PSCEXP (2TIM_PSCEXP).
It can be changed on the fly as this control register is buffered. The new prescaler ratio is
used starting at the next update event.
Figure 11
the fly.
Figure 11. Counter timing diagram with prescaler division change from 1 to 4
Counter modes
Up-counting mode
In up-counting mode, the counter counts from 0 to the auto-reload value (contents of the
TIMx_ARR register), then restarts from 0 and generates a counter overflow event.
An update event can be generated at each counter overflow, by setting the TIM_UG bit in
the TIMx_EGR register, or by using the slave mode controller.
Software can disable the update event by setting the TIM_UDIS bit in the TIMx_CR1
register, to avoid updating the shadow registers while writing new values in the buffer
registers. No update event will occur until the TIM_UDIS bit is written to 0. Both the counter
and the prescalar counter restart from 0, but the prescale rate does not change. In addition,
if the TIM_URS bit in the TIMx_CR1 register is set, setting the TIM_UG bit generates an
update event but without setting the INT_TIMUIF flag. Thus no interrupt request is sent. This
avoids generating both update and capture interrupts when clearing the counter on the
capture event.
gives an example of the counter behavior when the prescaler ratio is changed on
Doc ID 16252 Rev 2
General-purpose timers
83/179

Related parts for STM32W108CBU6