欢迎访问ic37.com |
会员登录 免费注册
发布采购

DS1305EN/T&R 参数 Datasheet PDF下载

DS1305EN/T&R图片预览
型号: DS1305EN/T&R
PDF下载: 下载PDF文件 查看货源
内容描述: 闹钟的串行实时时钟 [Serial Alarm Real-Time Clock]
分类和应用: 闹钟时钟
文件页数/大小: 21 页 / 488 K
品牌: DALLAS [ DALLAS SEMICONDUCTOR ]
 浏览型号DS1305EN/T&R的Datasheet PDF文件第3页浏览型号DS1305EN/T&R的Datasheet PDF文件第4页浏览型号DS1305EN/T&R的Datasheet PDF文件第5页浏览型号DS1305EN/T&R的Datasheet PDF文件第6页浏览型号DS1305EN/T&R的Datasheet PDF文件第8页浏览型号DS1305EN/T&R的Datasheet PDF文件第9页浏览型号DS1305EN/T&R的Datasheet PDF文件第10页浏览型号DS1305EN/T&R的Datasheet PDF文件第11页  
DS1305  
During each clock update, the RTC compares the Alarm 0 and Alarm 1 registers with the corresponding  
clock registers. When a match occurs, the corresponding alarm flag bit in the status register is set to a 1. If  
the corresponding alarm interrupt enable bit is enabled, an interrupt output is activated.  
Table 1. TIME-OF-DAY ALARM MASK BITS  
ALARM REGISTER MASK BITS (BIT 7)  
FUNCTION  
SECONDS MINUTES  
HOURS  
DAYS  
1
0
0
0
0
1
1
0
0
0
1
1
1
0
0
1
1
1
1
0
Alarm once per second  
Alarm when seconds match  
Alarm when minutes and seconds match  
Alarm hours, minutes, and seconds match  
Alarm day, hours, minutes and seconds match  
SPECIAL PURPOSE REGISTERS  
The DS1305 has three additional registers (control register, status register, and trickle charger register)  
that control the RTC, interrupts, and trickle charger.  
CONTROL REGISTER (READ 0FH, WRITE 8FH)  
BIT7  
BIT6  
BIT5  
BIT4  
BIT3  
BIT2  
BIT1  
BIT0  
EOSC  
WP  
0
0
0
INTCN  
AIE1  
AIEO  
EOSC (Enable Oscillator) – This bit when set to logic 0 starts the oscillator. When this bit is set to a  
logic 1, the oscillator is stopped and the DS1305 is placed into a low-power standby mode with a current  
drain of less than 100nA when power is supplied by VBAT or VCC2. On initial application of power, this bit  
will be set to a logic 1.  
WP (Write Protect) – Before any write operation to the clock or RAM, this bit must be logic 0. When  
high, the write protect bit prevents a write operation to any register, including bits 0, 1, 2, and 7 of the  
control register. Upon initial power-up, the state of the WP bit is undefined. Therefore, the WP bit should  
be cleared before attempting to write to the device.  
INTCN (Interrupt Control) – This bit controls the relationship between the two time-of-day alarms and  
the interrupt output pins. When the INTCN bit is set to a logic 1, a match between the timekeeping  
registers and the Alarm 0 registers activates the INT0 pin (provided that the alarm is enabled) and a  
match between the timekeeping registers and the Alarm 1 registers activate the INT1 pin (provided that  
the alarm is enabled). When the INTCN bit is set to a logic 0, a match between the timekeeping registers  
and either Alarm 0 or Alarm 1 activate the INT0 pin (provided that the alarms are enabled). INT1 has no  
function when INTCN is set to a logic 0.  
AIE0 (Alarm Interrupt Enable 0) – When set to a logic 1, this bit permits the interrupt 0 request flag  
(IRQF0) bit in the status register to assert INT0 . When the AIE0 bit is set to logic 0, the IRQF0 bit does  
not initiate the INT0 signal.  
AIE1 (Alarm Interrupt Enable 1) – When set to a logic 1, this bit permits the interrupt 1 request flag  
(IRQF1) bit in the status register to assert INT1 (when INTCN = 1) or to assert INT0 (when INTCN = 0).  
When the AIE1 bit is set to logic 0, the IRQF1 bit does not initiate an interrupt signal.  
7 of 21  
 复制成功!