Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L562/PWR/SR1#0x0
Power status register 1
Wakeup flag 1
Wakeup flag 2
Wakeup flag 3
Wakeup flag 4
Wakeup flag 5
Standby flag
SMPSBYPRDY
EXTSMPSRDY
SMPSHPRDY
https://github.com/cmsis-svd/cmsis-svd-data