Registers
1335
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Real-Time Clock (RTC)
27.3.12 Alarm Month Register (ALARMMONTH)
NOTE:
Out of reset, the alarm month register (ALARMMONTH) is write-protected. To disable write
protection, correct keys must be written to the KICK
n
R registers (see
).
The alarm month register (ALARMMONTH) sets the month in the year value for the alarm interrupt. The
month is stored as binary-coded decimal (BCD) format. In BCD format, the decimal numbers 0 through 9
are encoded with their binary equivalent. The ALARMMONTH register is shown in
and
described in
Figure 27-15. Alarm Month Register (ALARMMONTH)
31
16
Reserved
R-0
15
5
4
3
0
Reserved
MONTH1
MONTH0
R-0
R/W-0
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 27-14. Alarm Month Register (ALARMMONTH) Field Descriptions
Bit
Field
Value
Description
31-5
Reserved
0
Reserved.
4
MONTH1
0-1h
Most significant digit of months value. For MONTH1:MONTH0, JAN = 01 and DEC = 12.
3-0
MONTH0
0-9h
Least significant digit of months value. For MONTH1:MONTH0, JAN = 01 and DEC = 12.
27.3.13 Alarm Year Register (ALARMYEAR)
NOTE:
Out of reset, the alarm year register (ALARMYEAR) is write-protected. To disable write
protection, correct keys must be written to the KICK
n
R registers (see
).
The alarm year register (ALARMYEAR) sets the year for the alarm interrupt. 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 ALARMYEAR register is shown in
and described in
Figure 27-16. Alarm Year Register (ALARMYEAR)
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-15. Alarm Years Register (ALARMYEARS) 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.