Tests STM Studio Ide and microcontroller from the stm32G474 series. The debugger incorrectly reads the ADC12_COMMON register values. When I read the registers into the variable, everything is ok, it's correctly set. I attach a photo.
Yes, I found this problem too, with STM32G474 in keil, I figured that the register in peripheral debug window was cofigured with wrong base address 0x50000200, but the actual value is 0x50000300, I think it's a bug in keil package which ST offered to MDK. Hope solved this problem.
I upload these files in zip package, you can download and cover your same file in keil, my path is: C:\Keil_v5\ARM\PACK\Keil\STM32G4xx_DFP\1.1.0\CMSIS. Hope it could help you.