Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g0/STM32G031/PWR/SR1#0x0
Power status register 1
Wakeup flag 1
Wakeup flag 2
Wakeup flag 3
Wakeup flag 4
Wakeup flag 5
Wakeup flag 6
Standby flag
Wakeup flag internal
https://github.com/modm-io/cmsis-svd-stm32