English
Language : 

DS1375 Datasheet, PDF (8/13 Pages) Dallas Semiconductor – 2-Wire Digital Input RTC with Alarm
I2C Digital Input RTC with Alarm
Alarms
The DS1375 contains two time-of-day/date alarms.
Alarm 1 can be set by writing to registers 07h–0Ah.
Alarm 2 can be set by writing to registers 0Bh–0Dh.
The alarms can be programmed (by the alarm enable
and INTCN bits of the control register) to activate the
SQW/INT output on an alarm match condition. Bit 7 of
the time-of-day/date alarm registers are mask bits
(Table 2). When all the mask bits for each alarm are
logic 0, an alarm only occurs when the values in the
timekeeping registers match the corresponding values
stored in the time-of-day/date alarm registers. The
alarms can also be programmed to repeat every sec-
ond, minute, hour, day, or date. Table 2 shows the pos-
sible settings. Configurations not listed in the table
result in illogical operation.
The DY/DT bits (bit 6 of the alarm day/date registers)
control whether the alarm value stored in bits 0–5 of
that register reflects the day of the week or the date of
the month. If DY/DT is written to logic 0, the alarm is the
result of a match with date of the month. If DY/DT is
written to logic 1, the alarm is the result of a match with
day of the week.
When the RTC register values match alarm register set-
tings, the corresponding alarm flag A1F or A2F bit is
set to logic 1. If the corresponding alarm interrupt
enable A1IE or A2IE is also set to logic 1, and the
INTCN bit is set to logic 1, the alarm condition activates
the SQW/INT signal. The match is tested on the once-
per-second update of the time and date registers.
Special Purpose Registers
The DS1375 has two additional registers (control and
status) that control the RTC, alarms, and square-wave
output.
Table 2. Alarm Mask Bits
DY/DT
ALARM 1 REGISTER
MASK BITS (BIT 7)
A1M A1M A1M A1M
ALARM RATE
X
1
1
1
1
Alarm once per
second
X
1
1
1
0
Alarm when seconds
match
X
1
1
0
0
Alarm when minutes
and seconds match
Alarm when hours,
X
1
0
0
0 minutes, and
seconds match
Alarm when date,
0
0
0
0
0 hours, minutes, and
seconds match
Alarm when day,
1
0
0
0
0 hours, minutes, and
seconds match
DY/DT
ALARM 2
REGISTER MASK
BITS (BIT 7)
A2M A2M A2M
ALARM RATE
X
1
1
1
Alarm once per minute
(00 seconds of every min)
X
1
1
0 Alarm when minutes match
X
1
0
0
Alarm when hours and
minutes match
0
0
0
0
Alarm when date, hours, and
minutes match
1
0
0
0
Alarm when day, hours, and
minutes match
8 _____________________________________________________________________