RTC Clock on GPIO_Input PC13
I'm currantly working on STM32G4 series and I had a problem. I initiate PC13 pin as GPIO_INPUT to read state from button. But It is possible to config this pin(PC13) such as RTC_OUT1. I config my RTC clock on Activate Clock Source to write and read actually time. When I write time to RTC I receive a clock source (1Hz) on pin PC13 and it is impossible to change it. I must turn off the device and wait a few seconds after that. I'm looked for what happend and I found that ST library(rtc library) modify registers on that way.

I'm never modify registers, so I'm confused that is it mistake on library or I do something wrong?
* I'm config RTC from LSE (32.768kHz) frequency.
