Reference
Last revision 2025/12/17
This article offers a comprehensive overview of RTC registers, explaining their binary-coded decimal storage, time settings, and functionality in 12-hour and 24-hour modes, alongside driver, library, and communication protocol insights.
Other Supplementary Information

These RTC (Real time clock) registers are stored as binary-coded decimal BCD format.
Seconds and Minutes: range from 0 to 59;
Hour : can be set 12-hour or 24-hour mode;
day : from 1 to 31;
Month : from 1 to 12;
Year : from 0 to 99;
Day of the Week: from 0 to 6.
If 12_/24 bit of the Hour register is “1”, the RTC uses a 24-hour format. If the 12_/24 bit is “0”, the RTC uses a 12-hour format
Was this article helpful?
