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