參數(shù)資料
型號(hào): DS1339C-2
英文描述: I2C Serial Real-Time Clock
中文描述: I2C串行實(shí)時(shí)時(shí)鐘
文件頁數(shù): 11/18頁
文件大?。?/td> 279K
代理商: DS1339C-2
DS1339 I
2
C Serial Real-Time Clock
11 of 18
TIME AND DATE OPERATION
The time and date information is obtained by reading the appropriate register bytes. Figure 6 shows the RTC
registers. The time and date are set or initialized by writing the appropriate register bytes. The contents of the time
and date registers are in the BCD format. The DS1339 can be run in either 12-hour or 24-hour mode. Bit 6 of the
hours register is defined as the 12- 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 high being PM. In the 24-hour mode, bit 5 is the second 10-hour bit
(20 to 23 hours). All hours values, including the alarms, must be re-entered whenever the 12/
24
-hour mode bit is
changed. The century bit (bit 7 of the month register) is toggled when the years register overflows from 99 to 00.
The day-of-week register increments at midnight. Values that correspond to the day of week are user-defined, but
must be sequential (i.e., if 1 equals Sunday, then 2 equals Monday and so on). Illogical time and date entries result
in undefined operation.
When reading or writing the time and date registers, secondary (user) buffers are used to prevent errors when the
internal registers update. When reading the time and date registers, the user buffers are synchronized to the
internal registers on any start or stop, and when the address pointer rolls over to zero. The countdown chain is
reset whenever the seconds register is written. Write transfers occurs on the acknowledge pulse from the device.
To avoid rollover issues, once the countdown chain is reset, the remaining time and date registers must be written
within one second. If enabled, the 1Hz square-wave output transitions high 500ms after the seconds data transfer,
provided the oscillator is already running.
ALARMS
The DS1339 contains two time of day/date alarms. Alarm 1 can be set by writing to registers 07h to 0Ah. Alarm 2
can be set by writing to registers 0Bh to 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 each 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 00h to 06h match the values stored in the time of
day/date alarm registers. The alarms can also be programmed to repeat every second, minute, hour, day, or date.
Table 2 shows the possible 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 to 5 of that
register reflects the day of the week or the date of the month. If DY/
DT
is written to a logic 0, the alarm is the result
of a match with date of the month. If DY/
DT
is written to a logic 1, the alarm is the result of a match with day of the
week.
The device checks for an alarm match once per second. When the RTC register values match alarm register
settings, 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. If the BBSQI bit is set to 1, the
INT
output activates while the part is being powered by V
BACKUP
.
The alarm output remains active until the alarm flag is cleared by the user.
相關(guān)PDF資料
PDF描述
DS1345ABL-100 NVRAM (Battery Based)
DS1345ABL-100-IND NVRAM (Battery Based)
DS1345ABL-70 NVRAM (Battery Based)
DS1345ABL-70-IND NVRAM (Battery Based)
DS1345ABP-100 NVRAM (Battery Based)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS1339C-2- 制造商:MAXIM 制造商全稱:Maxim Integrated Products 功能描述:I2C Serial Real-Time Clock
DS1339C-2# 功能描述:實(shí)時(shí)時(shí)鐘 I2C Serial RTC RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時(shí)間格式:HH:MM:SS RTC 存儲(chǔ)容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風(fēng)格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
DS1339C-2+ 制造商:Maxim Integrated Products 功能描述:REAL TIME CLOCK SERL 16SOIC W - Bulk
DS1339C-3 功能描述:實(shí)時(shí)時(shí)鐘 RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時(shí)間格式:HH:MM:SS RTC 存儲(chǔ)容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風(fēng)格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
DS1339C-3- 制造商:MAXIM 制造商全稱:Maxim Integrated Products 功能描述:I2C Serial Real-Time Clock