General-purpose timers (TIM15/TIM16/TIM17)
Bits 3:0 TI1SEL[3:0]: selects TI1[0] to TI1[15] input
0000: TIM16_CH1 input
0001: LSI
0010: LSE
0011: RTC wakeup
0100: MCO2
Others: Reserved
1.
Available on STM32G0B1xx and STM32G0C1xx salestypes only, reserved otherwise.
25.6.19
TIM17 alternate function register 1 (TIM17_AF1)
Address offset: 0x60
Reset value: 0x0000 0001
31
30
29
Res.
Res.
Res.
Res.
15
14
13
BKCM
Res.
Res.
Res.
P3P
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 BKCMP3P: BRK COMP3 input polarity
This bit selects the COMP3 input sensitivity. It must be programmed together with the BKP
polarity bit.
0: COMP3 input is active low
1: COMP3 input is active high
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Note: This bit is available on STM32G0B1xx and STM32G0C1xx salestypes only, reserved
Bit 11 BKCMP2P: BRK COMP2 input polarity
This bit selects the COMP2 input sensitivity. It must be programmed together with the BKP
polarity bit.
0: COMP2 input is active low
1: COMP2 input is active high
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
Bit 10 BKCMP1P: BRK COMP1 input polarity
This bit selects the COMP1 input sensitivity. It must be programmed together with the BKP
polarity bit.
0: COMP1 input is active low
1: COMP1 input is active high
Note: This bit can not be modified as long as LOCK level 1 has been programmed (LOCK bits
826/1390
(1)
28
27
26
25
Res.
Res.
Res.
12
11
10
9
BKCM
BKCM
BKINP
P2P
P1P
rw
rw
rw
rw
in TIMx_BDTR register).
otherwise.
in TIMx_BDTR register).
in TIMx_BDTR register).
24
23
22
Res.
Res.
Res.
8
7
6
Res.
Res.
Res.
RM0444 Rev 5
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
BKCM
BKCM
Res.
Res.
P3E
P2E
rw
rw
RM0444
17
16
Res.
Res.
1
0
BKCM
BKINE
P1E
rw
rw
Need help?
Do you have a question about the STM32G0 1 Series and is the answer not in the manual?
Questions and answers