![Texas Instruments AM1808 Technical Reference Manual Download Page 1331](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581331.webp)
Registers
1331
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Real-Time Clock (RTC)
27.3.6 Year Register (YEAR)
NOTE:
Out of reset, the year register (YEAR) is write-protected. To disable write protection, correct
keys must be written to the KICK
n
R registers (see
).
The year register (YEAR) sets the year value of the current date. The year is stored as binary-coded
decimal (BCD) format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary
equivalent. The YEAR register is shown in
and described in
.
Figure 27-9. Year Register (YEAR)
31
16
Reserved
R-0
15
8
7
4
3
0
Reserved
YEAR1
YEAR0
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 27-8. Year Register (YEAR) Field Descriptions
Bit
Field
Value
Description
31-8
Reserved
0
Reserved.
7-4
YEAR1
0-9h
Most significant digit of years value. Range for YEAR1:YEAR0 is 00-99.
3-0
YEAR0
0-9h
Least significant digit of years value. Range for YEAR1:YEAR0 is 00-99.
27.3.7 Day of the Week Register (DOTW)
NOTE:
Out of reset, the day of the week register (DOTW) is write-protected. To disable write
protection, correct keys must be written to the KICK
n
R registers (see
).
The day of the week register (DOTW) sets the day of the week value of the current date. The day of the
week is stored as binary-coded decimal (BCD) format. In BCD format, the decimal numbers 0 through 9
are encoded with their binary equivalent. The DOTW register is shown in
and described in
.
Figure 27-10. Day of the Week Register (DOTW)
31
16
Reserved
R-0
15
3
2
0
Reserved
DOTW
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 27-9. Day of the Week Register (DOTW) Field Descriptions
Bit
Field
Value
Description
31-3
Reserved
0
Reserved.
2-0
DOTW
0-6h
Day of the week. Sunday = 0, Saturday = 6h.