Advanced-control timer (TIM1)
Bit 2 BKCMP2E: BRK COMP2 enable
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Bit 1 BKCMP1E: BRK COMP1 enable
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Bit 0 BKINE: BRK BKIN input enable
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Note:
Refer to
overview.
25.4.28
TIM1 Alternate function register 2 (TIM1_AF2)
Address offset: 0x64
Reset value: 0x0000 0001
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
Res.
Res.
Res.
Res.
Bits 31:12 Reserved, must be kept at reset value.
Bit 11 BK2CMP2P: BRK2 COMP2 input polarity
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
816/1450
This bit enables the COMP2 for the timer's BRK input. COMP2 output is 'ORed' with the
other BRK sources.
0: COMP2 input disabled
1: COMP2 input enabled
in TIMx_BDTR register).
This bit enables the COMP1 for the timer's BRK input. COMP1 output is 'ORed' with the
other BRK sources.
0: COMP1 input disabled
1: COMP1 input enabled
in TIMx_BDTR register).
This bit enables the BKIN alternate function input for the timer's BRK input. BKIN input is
'ORed' with the other BRK sources.
0: BKIN input disabled
1: BKIN input enabled
in TIMx_BDTR register).
Figure 150: TIM1 ETR input circuitry
27
26
25
Res.
Res.
Res.
11
10
9
BK2
BK2
BK2
CMP2
CMP1
INP
P
P
rw
rw
rw
This bit selects the COMP2 input sensitivity. It must be programmed together with the BK2P
polarity bit.
0: COMP2 input polarity is not inverted (active low if BK2P=0, active high if BK2P=1)
1: COMP2 input polarity is inverted (active high if BK2P=0, active low if BK2P=1)
in TIMx_BDTR register).
and to
Figure 171: Break and Break2 circuitry
24
23
22
21
Res.
Res.
Res.
Res.
8
7
6
5
Res.
Res.
Res.
Res.
RM0453 Rev 5
20
19
18
Res.
Res.
Res.
4
3
2
BK2
Res.
Res.
CMP2E
CMP1E
rw
RM0453
17
16
Res.
Res.
1
0
BK2
BK2INE
rw
rw
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?