
DS1685/DS1687
11 of 38
generated each hour when the “don’t care” bits are set in the hours byte. Similarly, an alarm is generated
every minute with “don’t care” codes in the hours and minute alarm bytes. The “don’t care” codes in all
three time alarm bytes create an interrupt every second. The three time-alarm bytes can be used with the
date alarm as described in the Wake-Up/Kickstart section. The century counter is discussed later in this
text.
Table 1. TIME, CALENDAR, AND ALARM DATA MODES
DATA MODE RANGE
ADDRESS
LOCATION
FUNCTION
DECIMAL
RANGE
BINARY BCD
00H Seconds 0–59 00–3B 00–59
01H Seconds Alarm 0–59 00–3B 00–59
02H Minutes 0–59 00–3B 00–59
03H Minutes Alarm 0–59 00–3B 00–59
Hours 12-hour Mode 1–12
01–0C AM,
81–8C PM
01–12 AM,
81–92 PM
04H
Hours 24-hour Mode 0–23 00–17 00–23
05H
Hours Alarm 12-hour
Mode
1–12
01–0C AM,
81–8C PM
01–12 AM,
81–92 PM
Hours Alarm 24-hour
Mode
0–23 00–17 00–23
06H Day of Week Sunday = 1 1–7 01–07 01–07
07H Date of Month 1–31 01–1F 01–31
08H Month 1–12 01–0C 01–12
09H Year 0–99 00–63 00–99
BANK 1,
48H
Century 0–99 00–63 00–99
BANK 1,
49H
Date Alarm 1–31 01–1F 01–31
Kommentare zu diesen Handbüchern