DS1921 DALLAS [Dallas Semiconductor], DS1921 Datasheet - Page 7

no-image

DS1921

Manufacturer Part Number
DS1921
Description
High-Resolution Thermochron iButton
Manufacturer
DALLAS [Dallas Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1921-A
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1921G#F50
Manufacturer:
PANASONIC
Quantity:
9 000
Part Number:
DS1921G+
Manufacturer:
MAXIM
Quantity:
710
Part Number:
DS1921G+
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1921G-F5#
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1921G-F5/A14
Manufacturer:
IRISO
Quantity:
5 993
Part Number:
DS1921K#
Manufacturer:
Maxim
Quantity:
57
Part Number:
DS1921L-F52/A0D
Manufacturer:
DALLAS
Quantity:
6 482
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 recom-
mended 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
MS
MH
MD
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 44
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
DS1921H/Z

Related parts for DS1921