DS1921H_11 MAXIM [Maxim Integrated Products], DS1921H_11 Datasheet - Page 7

no-image

DS1921H_11

Manufacturer Part Number
DS1921H_11
Description
High-Resolution Thermochron iButton
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
RTC and RTC Alarm Register Bitmap
RTC/Calendar
The RTC of the DS1921H/Z can run in either 12-hour or 24-hour mode. Bit 6 of the Hours Register
(address 202h) is defined as the 12- or 24-hour mode select bit. When high, the 12-hour mode is selected.
In the 12-hour mode, bit 5 is the AM/PM bit with logic 1 being PM. In the 24-hour mode, bit 5 is the 20-
hour bit (20 to 23 hours).
To distinguish between the days of the week the DS1921H/Z includes a counter with a range from 1 to 7.
The assignment of counter value to the day of week is arbitrary. Typically, the number 1 is assigned to a
Sunday (U.S. standard) or to a Monday (European standard).
The calendar logic is designed to automatically compensate for leap years. For every year value that is
either 00 or a multiple of 4 the device will add a 29
including) the year 2100.
The DS1921H/Z is Y2K-compliant. Bit 7 (CENT) of the Months Register at address 205h serves as a
century flag. When the Year Register rolls over from 99 to 00 the century flag will toggle. It is
recommended to write the century bit to a 1 when setting the RTC to a time/date between the years 2000
and 2099.
RTC Alarms
The DS1921H/Z also contains a RTC alarm function. The alarm registers are located in registers 207h to
20Ah. The most significant bit of each of the alarm registers is a mask bit. When all of the mask bits are
logic 0, an alarm will occur once per week when the values stored in timekeeping registers 200h to 203h
match the values stored in the time of day alarm registers. Any alarm will set the Timer Alarm Flag
(TAF) in the device's Status Register (address 214h). The bus master may set the Search Conditions in the
Control Register (address 20Eh) to identify devices with timer alarms by means of the Conditional Search
function (see ROM Function Commands).
ADDR
020Ah
0200h
0201h
0202h
0203h
0204h
0205h
0206h
0207h
0208h
0209h
CENT
MM
MH
MD
MS
b7
0
0
0
0
0
12/24
12/24
b6
0
0
0
0
10 Years
10 Seconds Alarm
10 Minutes Alarm
10 Seconds
10 Minutes
AM/PM
10ha.
20h.
A/P
b5
0
0
0
10 Date
10m.
10h.
10h.
alm.
b4
0
0
b3
0
0
7 of 45
th
Single Seconds Alarm
Single Minutes Alarm
of February. This will work correctly up to (but not
Single Hours Alarm
Single Seconds
Single Minutes
Single Months
Single Hours
Single Years
b2
Single Date
Day of Week Alarm
Day of Week
b1
b0

Related parts for DS1921H_11