参数资料
型号: DS1685S-5
厂商: DALLAS SEMICONDUCTOR
元件分类: Timer or RTC
英文描述: 1 TIMER(S), REAL TIME CLOCK, PDSO24
封装: SOIC-24
文件页数: 37/39页
文件大小: 290K
代理商: DS1685S-5
DS1685/DS1687
7 of 39
RTC ADDRESS MAP
The address map for the RTC registers of the DS1685/DS1687 is shown in Figure 2. The address map
consists of the 14 clock/calendar registers. Ten registers contain the time, calendar, and alarm data, and
four bytes are used for control and status. All registers can be directly written or read except for the
following:
1. Registers C and D are read-only.
2. Bit 7 of Register A is read-only.
3. The high order bit of the seconds byte is read-only.
DS1685 REAL TIME CLOCK ADDRESS MAP Figure 2
0
00H
0
SECONDS
1
SECONDS ALARM
13
CLOCK/
CALENDAR
14 BYTES
0DH
2
MINUTES
14
0EH
3
MINUTES ALARM
63
50 BYTES
USER RAM
03FH
4
HOURS
64
040H
5
HOURS ALARM
6
DAY OF THE WEEK
7
DAY OF THE MONTH
8
MONTH
9
YEAR
BANK0,
BANK 1
REGISTERS,
RAM
10
REGISTER A
11
REGISTER B
12
REGISTER C
127
07FH
13
REGISTER D
BINARY
OR
BCD
INP
U
TS
TIME, CALENDAR AND ALARM LOCATIONS
The time and calendar information is obtained by reading the appropriate register bytes shown in Table 1.
The time, calendar, and alarm are set or initialized by writing the appropriate register bytes. The contents
of the time, calendar, and alarm registers can be either Binary or Binary-Coded Decimal (BCD) format.
Table 1 shows the binary and BCD formats of the ten time, calendar, and alarm locations that reside in
both bank 0 and in bank 1, plus the two extended registers that reside in bank 1 only (bank 0 and bank 1
switching will be explained later in this text).
Before writing the internal time, calendar, and alarm registers, the SET bit in Register B should be written
to a logic 1 to prevent updates from occurring while access is being attempted. Also at this time, the data
format (binary or BCD), should be set via the data mode bit (DM) of Register B. All time, calendar, and
alarm registers must use the same data mode. The set bit in Register B should be cleared after the data
mode bit has been written to allow the real-time clock to update the time and calendar bytes.
Once initialized, the real-time clock makes all updates in the selected mode. The data mode cannot be
changed without reinitializing the ten data bytes. The 24/12 bit cannot be changed without reinitializing
the hour locations. When the 12-hour format is selected, the high order bit of the hours byte represents
PM when it is a logic 1. The time, calendar, and alarm bytes are always accessible because they are
相关PDF资料
PDF描述
DS1685EN-3 1 TIMER(S), REAL TIME CLOCK, PDSO24
DS1685E-3 1 TIMER(S), REAL TIME CLOCK, PDSO24
DS1685EN-5 1 TIMER(S), REAL TIME CLOCK, PDSO24
DS1685-5 1 TIMER(S), REAL TIME CLOCK, PDIP24
DS1685SN-3 1 TIMER(S), REAL TIME CLOCK, PDSO24
相关代理商/技术参数
参数描述
DS1685S-5/T&R 功能描述:实时时钟 RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 总线接口:I2C 日期格式:DW:DM:M:Y 时间格式:HH:MM:SS RTC 存储容量:64 B 电源电压-最大:5.5 V 电源电压-最小:1.8 V 最大工作温度:+ 85 C 最小工作温度: 安装风格:Through Hole 封装 / 箱体:PDIP-8 封装:Tube
DS1685S-5/TR 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:3V/5V Real-Time Clocks
DS1685S-5_12 制造商:MAXIM 制造商全称:Maxim Integrated Products 功能描述:3V/5V Real-Time Clocks
DS1685S-5+ 功能描述:实时时钟 3V/5V RTC RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 总线接口:I2C 日期格式:DW:DM:M:Y 时间格式:HH:MM:SS RTC 存储容量:64 B 电源电压-最大:5.5 V 电源电压-最小:1.8 V 最大工作温度:+ 85 C 最小工作温度: 安装风格:Through Hole 封装 / 箱体:PDIP-8 封装:Tube
DS1685S-5+T& 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:3V/5V Real-Time Clocks