Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wb0/STM32WB05/TIM17/OR1#0x0
OR1 register
TI1_RMP[1:0]: Timer 17 input 1 connection
This bit is set and cleared by software.
00: TIM17 TI1 is connected to GPIO
01: TIM17 TI1 is connected to LCO
1x: TIM17 TI1 is connected to MCO
https://github.com/modm-io/cmsis-svd-stm32