RTC_SS
www.ti.com
20.3.5.3 HOURS_REG Register (offset = 8h) [reset = 0h]
HOURS_REG is shown in Figure 20-63 and described in Table 20-66.
The HOURS_REG is used to program the hours value of the current time. Hours are stored as BCD
format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary equivalent. In 24Hr
time mode if you want to set the hour as 18, then HOUR0 is set as 8 and HOUR1 is set as 1.
Figure 20-63. 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
PM_nAM Reserved HOUR1 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-66. HOURS_REG Register Field Descriptions
Bit Field Type Reset Description
31-8 Reserved R 0h
7 PM_nAM R/W 0h
Only used in PM_AM mode (otherwise 0)
0x0 = AM
0x1 = PM
6 Reserved R 0h
5-4 HOUR1 R/W 0h
2nd digit of hours, Range is 0 to 2
3-0 HOUR0 R/W 0h
1st digit of hours, Range is 0 to 9
3636
Timers SPRUH73H–October 2011–Revised April 2013
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated