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