English
Language : 

DS1689_05 Datasheet, PDF (9/36 Pages) Dallas Semiconductor – 3V/5V Serialized Real-Time Clocks with NV RAM Control
DS1689/DS1693
minute with “don’t care” codes in the hours and minute alarm bytes. The “don’t care” codes in all three
alarm bytes create an interrupt every second. The three alarm bytes may be used in conjunction with the
date alarm as described in the Wakeup/Kickstart section. The century counter will be discussed later in
this text.
Table 1. Time, Calendar, and Alarm Data Modes
ADDRESS
LOCATION
FUNCTION
DECIMAL
RANGE
00H
Seconds
0-59
01H
Seconds Alarm
0-59
02H
Minutes
0-59
03H
Minutes Alarm
0-59
04H
Hours 12-hr Mode
1-12
Hours 24-hr Mode
0-23
05H
Hours Alarm 12-hr
Mode
1-12
Hours Alarm 24-hr
Mode
0-23
06H
Day of Week
Sunday=1
1-7
07H
Date of Month
1-31
08H
Month
1-12
09H
Year
0-99
BANK1, 48H
Century
0-99
BANK 1, 49H Date Alarm
1-31
RANGE
BINARY DATA
BCD DATA
MODE
MODE
00-3B
00-59
00-3B
00-59
00-3B
00-59
00-3B
00-59
01-0C AM, 81-8C PM 01-12 AM, 81-92 PM
00-17
00-23
01-0C AM, 81-8C PM 01-12 AM, 81-92 PM
00-17
00-23
01-07
01-1F
01-0C
00-63
00-63
01-1F
01-07
01-31
01-12
00-99
00-99
01-31
CONTROL REGISTERS
The four control registers; A, B, C, and D reside in both bank 0 and bank 1. These registers are accessible
at all times, even during the update cycle.
NONVOLATILE RAM—RTC
The 114 general-purpose nonvolatile RAM bytes are not dedicated to any special function within the
DS1689/DS1693. They can be used by the application program as nonvolatile memory and are fully
available during the update cycle. This memory is directly accessible when bank 0 is selected.
INTERRUPT CONTROL
The DS1689/DS1693 include six separate, fully automatic sources of interrupt for a processor:
1. Alarm interrupt
2. Periodic interrupt
3. Update-ended interrupt
4. Wake-up interrupt
5. Kickstart interrupt
6. RAM clear interrupt
The conditions, which generate each of these independent interrupt conditions, are described in greater
detail elsewhere in this data sheet. This section describes the overall control of the interrupts.
9 of 36