Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G0B0/TIM3/OR1#0x0
OCREF_CLR=B_0x0
TIM option register
Ocref_clr source selection This bit selects the ocref_clr input source.
0 (B_0x0): COMP1 output is connected to the OCREF_CLR input
1 (B_0x1): COMP2 output is connected to the OCREF_CLR input
https://github.com/cmsis-svd/cmsis-svd-data