DS1670 Maxim, DS1670 Datasheet - Page 5

no-image

DS1670

Manufacturer Part Number
DS1670
Description
The DS1670 portable system controller is a circuit that incorporates many of the functions necessary for low-power portable products integrated into one chip
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1670E+
Manufacturer:
Maxim
Quantity:
178
Part Number:
DS1670E+
Manufacturer:
Maxim
Quantity:
71
Part Number:
DS1670E+TR
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1670E-A2
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1670S
Manufacturer:
DALLAS
Quantity:
9
Part Number:
DS1670S
Quantity:
51 000
Part Number:
DS1670S
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1670S+
Manufacturer:
Nuvoton
Quantity:
138
CLOCK, CALENDAR, AND ALARM
The time and calendar information is accessed by reading/writing the appropriate register bytes. Note that
some bits are set to 0. These bits will always read 0 regardless of how they are written. Also note that
registers 0 Fh to 7 Fh are reserved. These registers will always read 0 regardless of how they are written.
The contents of the time, calendar, and alarm registers are in the Binary-Coded Decimal (BCD) format.
The DS1670 can run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the
12-hour 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 second 10-hour bit (20-23
hours).
The DS1670 also contains a time of day alarm. The alarm registers are located in registers 07h to 0 Ah.
Bit 7 of each of the alarm registers are mask bits (see Table 1). When all of the mask bits are logic 0, an
alarm will occur once per week when the values stored in timekeeping registers 00h to 03h match the
values stored in the time of day alarm registers. An alarm will be generated every day when mask bit of
the day alarm register is set to 1. An alarm will be generated every hour when the day and hour alarm
mask bits are set to 1. Similarly, an alarm will be generated every minute when the day, hour, and minute
alarm mask bits are set to 1. When day, hour, minute, and seconds alarm mask bits are set to 1, an alarm
will occur every second.
TIME OF DAY ALARM BITS Table 1
SPECIAL PURPOSE REGISTERS
The DS1670 has two additional registers (control register and status register) that control the real-time
clock and interrupts.
CONTROL REGISTER
logic 1, the oscillator is stopped and the DS1670 is placed into a low-power standby mode with a current
drain of less than 200nA when in battery-backup mode. When the DS1670 is powered by V
oscillator is always on regardless of the status of the
incremented only when
WP (Write Protect). Before any write operation to the real time clock or any other registers, this bit
must be logic 0. When high, the write-protect bit prevents a write operation to any register.
EOSC
SECONDS
BIT 7
EOSC
ALARM REGISTER MASK BITS (BIT 7)
1
0
0
0
0
(Enable Oscillator). This bit when set to logic 0 will start the oscillator. When this bit is set to a
WP
BIT 6
MINUTES
AIS1
BIT 5
1
1
0
0
0
EOSC
AIS0
BIT 4
HOURS
is a logic 0.
1
1
1
0
0
BIT 3
0
DAYS
1
1
1
1
0
BIT 2
0
5 of 16
Alarm once per second.
Alarm when seconds match.
Alarm when minutes and seconds match
Alarm when hours, minutes and seconds match.
Alarm when day, hours, minutes and seconds.
BIT 1
0
EOSC
BIT 0
AIE
bit; however, the real-time clock is
DESCRIPTION
CC
DS1670
, the

Related parts for DS1670