General-purpose timers (TIM15/TIM16/TIM17) RM0444
826/1390 RM0444 Rev 5
25.6.19 TIM17 alternate function register 1 (TIM17_AF1)
Address offset: 0x60
Reset value: 0x0000 0001
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
(1)
Others: Reserved
1. Available on STM32G0B1xx and STM32G0C1xx salestypes only, reserved otherwise.
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.
1514131211109876543210
Res. Res. Res.
BKCM
P3P
BKCM
P2P
BKCM
P1P
BKINP Res. Res. Res. Res. Res.
BKCM
P3E
BKCM
P2E
BKCM
P1E
BKINE
rw rw rw rw rw rw rw rw
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
in TIMx_BDTR register).
Note: This bit is available on STM32G0B1xx and STM32G0C1xx salestypes only, reserved
otherwise.
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
in TIMx_BDTR register).
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
in TIMx_BDTR register).