www.ti.com
RTC_SS
20.3.5.10 ALARM_HOURS_REG Register (offset = 28h) [reset = 0h]
ALARM_HOURS_REG is shown in Figure 20-70 and described in Table 20-73.
The ALARM_HOURS_REG is used to program the hour value for the alarm interrupt. Hours are stored as
BCD format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent.
Figure 20-70. ALARM_HOURS_REG Register
31 30 29 28 27 26 25 24
Reserved
R-0h
23 22 21 20 19 18 17 16
Reserved
R-0h
15 14 13 12 11 10 9 8
Reserved
R-0h
7 6 5 4 3 2 1 0
ALARM_PM_nAM Reserved ALARM_HOUR1 ALARM_HOUR0
R/W-0h R-0h R/W-0h R/W-0h
LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset
Table 20-73. ALARM_HOURS_REG Register Field Descriptions
Bit Field Type Reset Description
31-8 Reserved R 0h
7 ALARM_PM_nAM R/W 0h
Only used in PM_AM mode (otherwise 0)
0x0 = AM
0x1 = PM
6 Reserved R 0h
5-4 ALARM_HOUR1 R/W 0h
2nd digit of hours, Range is 0 to 2
3-0 ALARM_HOUR0 R/W 0h
1st digit of hours, Range is 0 to 9
3643
SPRUH73H–October 2011–Revised April 2013 Timers
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated