Chapter 12
Real Time Clock (RTC)
Control Registers XII - 13
Day Setting Register (RTCDD: 0x03EE4)
Month Setting Register (RTCMOD: 0x03EE5)
Year Setting Register (RTCYD: 0x03EE6)
bp 76543210
Bit name - - DD5-0
At reset00000001
Access R R R/W R/W R/W R/W R/W R/W
bp Bit name Description
7 to 6 - Always read as 0.
5 to 0 DD5 to 0
"Day" setting
Set a value within the range of "01" to "31" using the BCD format.
* The value is incremented by one from "01" to "31" per day.
* The value which doesn’t exist must not be set.
bp 76543210
Bit name - - - MOD4-0
At reset00000001
Access R R R R/W R/W R/W R/W R/W
bp Bit name Description
7 to 5 - Always read as 0.
4 to 0 MOD4 to 0
"Month" setting
Set a value within the range of "01" to "12" using the BCD format.
* The value is incremented by one from "01" to "12" per day.
* The value which doesn’t exist must not be set.
bp 76543210
Bit name YD7-0
At reset00000000
Access R/W R/W R/W R/W R/W R/W R/W R/W
bp Bit name Description
7 to 0 YD7 to 0
"Year" setting
Set a value within the range of "00" to "99" using the BCD format.
* The value is incremented by one from "00" to "99" per day.
* The value which doesn’t exist must not be set.
* The Year ending in "00" or divisible by 4 is set as a leap year automatically.