Download Print this page

ST STM32L4+ Series Reference Manual page 1434

Hide thumbs Also See for STM32L4+ Series:

Advertisement

General-purpose timers (TIM15/TIM16/TIM17)
Bit 11 OSSR: Off-state selection for Run mode
This bit is used when MOE=1 on channels that have a complementary output which are
configured as outputs. OSSR is not implemented if no complementary output is implemented
in the timer.
See OC/OCN enable description for more details
enable register (TIM15_CCER) on page
0: When inactive, OC/OCN outputs are disabled (the timer releases the output control which
1: When inactive, OC/OCN outputs are enabled with their inactive level as soon as CCxE=1
Note: This bit can not be modified as soon as the LOCK level 2 has been programmed (LOCK
Bit 10 OSSI: Off-state selection for Idle mode
This bit is used when MOE=0 on channels configured as outputs.
See OC/OCN enable description for more details
enable register (TIM15_CCER) on page
0: When inactive, OC/OCN outputs are disabled (OC/OCN enable output signal=0)
1: When inactive, OC/OCN outputs are forced first with their idle level as soon as CCxE=1 or
Note: This bit can not be modified as soon as the LOCK level 2 has been programmed (LOCK
Bits 9:8 LOCK[1:0]: Lock configuration
These bits offer a write protection against software errors.
00: LOCK OFF - No bit is write protected
01: LOCK Level 1 = DTG bits in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2
10: LOCK Level 2 = LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER
11: LOCK Level 3 = LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in
Note: The LOCK bits can be written only once after the reset. Once the TIMx_BDTR register
Bits 7:0 DTG[7:0]: Dead-time generator setup
This bit-field defines the duration of the dead-time inserted between the complementary
outputs. DT correspond to this duration.
DTG[7:5]=0xx => DT=DTG[7:0]x t
DTG[7:5]=10x => DT=(64+DTG[5:0])xt
DTG[7:5]=110 => DT=(32+DTG[4:0])xt
DTG[7:5]=111 => DT=(32+DTG[4:0])xt
Example if T
0 to 15875 ns by 125 ns steps,
16 µs to 31750 ns by 250 ns steps,
32 µs to 63 µs by 1 µs steps,
64 µs to 126 µs by 2 µs steps
Note: This bit-field can not be modified as long as LOCK level 1, 2 or 3 has been programmed
1434/2301
is taken over by the AFIO logic, which forces a Hi-Z state)
or CCxNE=1 (the output is still controlled by the timer).
bits in TIMx_BDTR register).
CCxNE=1. OC/OCN enable output signal=1)
bits in TIMx_BDTR register).
register and BKE/BKP/AOE bits in TIMx_BDTR register can no longer be written
register, as long as the related channel is configured in output through the CCxS bits) as
well as OSSR and OSSI bits can no longer be written.
TIMx_CCMRx registers, as long as the related channel is configured in output through
the CCxS bits) can no longer be written.
has been written, their content is frozen until the next reset.
=125ns (8MHz), dead-time possible values are:
DTS
(LOCK bits in TIMx_BDTR register).
(Section 39.5.9: TIM15 capture/compare
1427).
(Section 39.5.9: TIM15 capture/compare
1427).
with t
=t
dtg
dtg
DTS
with T
=2xt
dtg
dtg
with T
=8xt
dtg
dtg
with T
=16xt
dtg
dtg
RM0432 Rev 6
DTS
DTS
DTS
RM0432

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?

Subscribe to Our Youtube Channel