General-purpose timers (TIM15/TIM16/TIM17)
RM0365
687/1080
DocID025202 Rev 7
22.6.13 TIM16/TIM17 break and dead-time register (TIMx_BDTR)
Address offset: 0x44
Reset value: 0x0000 0000
Note:
As the AOE, BKP, BKE, OSSI, OSSR and DTG[7:0] bits may be write-locked depending on
the LOCK configuration, it may be necessary to configure all of them during the first write
access to the TIMx_BDTR register.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MOE
AOE
BKP
BKE
OSSR
OSSI
LOCK[1:0]
DTG[7:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits 31:16 Reserved, must be kept at reset value.
Bit 15
MOE
: Main output enable
This bit is cleared asynchronously by hardware as soon as the break input is active. It is set
by software or automatically depending on the AOE bit. It is acting only on the channels
which are configured in output.
0: OC and OCN outputs are disabled or forced to idle state depending on the OSSI bit.
1: OC and OCN outputs are enabled if their respective enable bits are set (CCxE, CCxNE in
TIMx_CCER register)
See OC/OCN enable description for more details (
Section 22.5.8: TIM15 capture/compare
enable register (TIM15_CCER) on page 665
).
Bit 14
AOE
: Automatic output enable
0: MOE can be set only by software
1: MOE can be set by software or automatically at the next update event (if the break input is
not be active)
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
in TIMx_BDTR register).
Bit 13
BKP
: Break polarity
0: Break input BRK is active low
1: Break input BRK is active high
Note:
1.
This bit can not be modified as long as LOCK level 1 has been programmed (LOCK
bits in TIMx_BDTR register).
2.
Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.
Bit 12
BKE
: Break enable
0: Break inputs (BRK and CCS clock failure event) disabled
1; Break inputs (BRK and CCS clock failure event) enabled
Note:
1.
This bit cannot be modified when LOCK level 1 has been programmed (LOCK bits in
TIMx_BDTR register).
2.
Any write operation to this bit takes a delay of 1 APB clock cycle to become effective.