Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G050/TIM1/TIM1_CCR2#0x0
capture/compare register 2
Capture/Compare 2 value
https://github.com/cmsis-svd/cmsis-svd-data