Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G031/TAMP/CR2#0x0
control register 2
TAMP1NOER
TAMP2NOER
TAMP1MSK
TAMP2MSK
TAMP1TRG
TAMP2TRG
https://github.com/cmsis-svd/cmsis-svd-data