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