Question
When to use RTC_FORMAT_BIN and when to use RTC_FORMAT_BCD ?
Posted on December 06, 2016 at 11:44
Hi,
I'am working on STM32L486RG MCU and I'am using RTC to get the real time value.
I know that ST provides 2 RTC format for the time : the RTC_FORMAT_BIN and RTC_FORMAT_BCD ( as defined in the HAL ). I know the difference between the 2 representations but I don't know exactly when it's useful to use the BCD format
and when to use the Binary format ?
I kindly need your help .
Thanks.
