Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32f4/STM32F412/RTC/SHIFTR#0x0
shift control register
Subtract a fraction of a second
Add one second
https://github.com/modm-io/cmsis-svd-stm32