prediv was not properly computed and some misalignment's could occur depending of the RTC state at init.
feat: add a parameter to set binary mode
This is valid when the RTC_BINARY_MIX mode exists in the RTC (bitfield in the RTC ICSR register)
Set the RTC mode through a setBinaryMode function to be called before begin.
fix: harden prediv management vs clock config
prediv was not properly computed and some misalignment's could occur depending of the RTC state at init.
This is valid when the RTC_BINARY_MIX mode exists in the RTC (bitfield in the RTC ICSR register) Set the RTC mode through a setBinaryMode function to be called before begin.