Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32W108/TIM1/TIM1_CR2#0x0
control register 2
MMS
TI1S
https://github.com/cmsis-svd/cmsis-svd-data