Reference
Last revision 2026/01/07
This article provides an in-depth exploration of RTC (Real Time Clock) registers, detailing their binary-coded decimal format and configurations for seconds, minutes, hour modes, days, months, and years to ensure accurate timekeeping.
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?
