Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l4/STM32L412/RTC/SR#0x0
RTC status register
Alarm A flag
Alarm B flag
Wakeup timer flag
Timestamp flag
Timestamp overflow flag
Internal timestamp flag
https://github.com/modm-io/cmsis-svd-stm32