![Texas Instruments AM1808 Technical Reference Manual Download Page 1329](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581329.webp)
Registers
1329
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Real-Time Clock (RTC)
27.3.3 Hour Register (HOUR)
NOTE:
Out of reset, the hour register (HOUR) is write-protected. To disable write protection, correct
keys must be written to the KICK
n
R registers (see
).
The hour register (HOUR) sets the hour value of the current time. Hours are stored as binary-coded
decimal (BCD) format. In BCD format, the decimal numbers 0 through 9 are encoded with their binary
equivalent. The HOUR register is shown in
and described in
.
Figure 27-6. Hour Register (HOUR)
31
16
Reserved
R-0
15
8
7
6
5
4
3
0
Reserved
MERIDIEM
Rsvd
HOUR1
HOUR0
R-0
R/W-0
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 27-5. Hour Register (HOUR) Field Descriptions
Bit
Field
Value
Description
31-8
Reserved
0
Reserved.
7
MERIDIEM
Determines whether the hour is ante meridiem (AM) or post meridiem (PM) when 12-hour mode is
enabled.
0
Hour is AM
1
Hour is PM
6
Reserved
0
Reserved.
5-4
HOUR1
0-2h
Most significant digit of hours value. Range for HOUR1:HOUR0 is 00-24.
3-0
HOUR0
0-9h
Least significant digit of hours value. Range for HOUR1:HOUR0 is 00-24.