Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wb/STM32WB15_CM4/TIM2/AF#0x0
TIM2 alternate function option register 1
External trigger source selection
https://github.com/modm-io/cmsis-svd-stm32