RM0440
27.6.28
TIMx alternate function register 2 (TIMx_AF2)(x = 1, 8, 20)
Address offset: 0x064
Reset value: 0x0000 0001
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
BK2C
BK2C
Res.
Res.
MP4P
MP3P
rw
rw
Bits 31:19 Reserved, must be kept at reset value.
Bits 18:16 OCRSEL[2:0]: ocref_clr source selection
Note: These bits can not be modified as long as LOCK level 1 has been programmed (LOCK
Bits 15:14 Reserved, must be kept at reset value.
Bit 13 BK2CMP4P: tim_brk2_cmp4 input polarity
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Bit 12 BK2CMP3P: tim_brk2_cmp3 input polarity
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Bit 11 BK2CMP2P: tim_brk2_cmp2 input polarity
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
27
26
25
Res.
Res.
Res.
11
10
9
BK2C
BK2C
BK2IN
MP2P
MP1P
P
rw
rw
rw
These bits select the ocref_clr input source.
000: tim_ocref_clr0
001: tim_ocref_clr1
...
111: tim_ocref_clr7
Refer to
Section 27.3.2: TIM1/TIM8/TIM20 pins and internal signals
information.
bits in TIMx_BDTR register).
This bit selects the tim_brk2_cmp4 input sensitivity. It must be programmed together with the
BK2P polarity bit.
0: tim_brk2_cmp4 input is active low
1: tim_brk2_cmp4 input is active high
in TIMx_BDTR register).
This bit selects the tim_brk2_cmp3 input sensitivity. It must be programmed together with the
BK2P polarity bit.
0: tim_brk2_cmp3 input is active low
1: tim_brk2_cmp3 input is active high
in TIMx_BDTR register).
This bit selects the tim_brk2_cmp2 input sensitivity. It must be programmed together with the
BK2P polarity bit.
0: tim_brk2_cmp2 input is active low
1: tim_brk2_cmp2 input is active high
in TIMx_BDTR register).
Advanced-control timers (TIM1/TIM8/TIM20)
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
BK2C
BK2C
BK2C
Res.
MP7E
MP6E
MP5E
rw
rw
rw
RM0440 Rev 1
20
19
18
Res.
Res.
OCRSEL[2:0]
rw
4
3
2
BK2C
BK2CMP
BK2CMP
MP4E
3E
2E
rw
rw
rw
for product specific
17
16
rw
rw
1
0
BK2CM
BK2INE
P1E
rw
rw
1175/2083
1181
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?