DS1486/DS1486P
7 of 14
WATCHDOG ALARM REGISTERS
Registers C and D contain the time for the Watchdog Alarm. The two registers contain a time count from
00.01 to 99.99 seconds in BCD. The value written into the Watchdog Alarm Registers can be written or
read in any order. Any access to Register C or D will cause the Watchdog Alarm to reinitialize and clears
the Watchdog Flag bit and the Watchdog Interrupt Output. When a new value is entered or the Watchdog
Registers are read, the Watchdog Timer will start counting down from the entered value to 0. When 0 is
reached, the Watchdog Interrupt Output will go to the active state. The Watchdog Timer Countdown is
interrupted and reinitialized back to the entered value every time either of the registers is accessed. In this
manner, controlled periodic accesses to the Watchdog Timer can prevent the Watchdog Alarm from
going to an active level. If access does not occur, countdown alarm will be repetitive. The Watchdog
Alarm Registers always read the entered value. The actual countdown register is internal and is not
readable. Writing registers C and D to 0 will disable the Watchdog Alarm feature.
DS1486/DS1486P
8 of 14
Figure 2. RAMified Timekeeper Registers
Figure 3. Time-of-Day Alarm Mask Bits
REGISTER
(3) MINUTES (5) HOURS (7) DAYS
ALARM RATE
1 1 1 Alarm once per minute
0 1 1 Alarm when minutes match
0 0 1 Alarm when hours and minutes match
0 0 0 Alarm when hours, minutes, and days match
Note: Any other bit combinations of mask bit settings produce illogical operation.
DS1486/DS1486P
9 of 14
COMMAND REGISTER (0Bh)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
TE IPSW IBH/LO PU/LVL WAM TDM WAF TDF
Bit 7: Transfer Enable (TE). This bit when set to a logic 0 will disable the transfer of data between
internal and external clock registers. The contents in the external clock registers are now frozen and reads
or writes will not be affected with updates. This bit must be set to a logic 1 to allow updates.
Bit 6: Interrupt Switch (IPSW). When set to a logic 1, INTA is the Time-of-Day Alarm and INTB
(INTB) is the Watchdog Alarm. When set to logic 0, this bit reverses the output pins. INTA is now the
Watchdog Alarm output and INTB (INTB) is the Time-of-Day Alarm output. The INTA/SQW output pin
shares both the interrupt A and square-wave output function. INTA and the square wave function should
never be simultaneously enabled or a conflict may occur (32-pin DIP module only).
Bit 5: Interrupt B Sink or Source Current (IBH/LO). When this bit is set to a logic 1 and V
CC
is
applied, INTB (INTB) will source current (see DC characteristics IOH). When this bit is set to a logic 0,
INTB will sink current (see I
OL
in the DC Characteristics).
Bit 4: Interrupt Pulse Mode or Level Mode (PU/LVL). This bit determines whether both interrupts
will output a pulse or level signal. When set to a logic 0, INTA and INTB (INTB) will be in the level
mode. When this bit is set to a logic 1, the pulse mode is selected and INTA will sink current for a
minimum of 3ms and then release. INTB (INTB) will either sink or source current, depending on the
condition of Bit 5, for a minimum of 3ms and then release. INTB will only source current when there is a
voltage present on V
CC
.
Bit 3: Watchdog Alarm Mask (WAM). When this bit is set to a logic 0, the Watchdog Interrupt output
will be activated. The activated state is determined by bits 1, 4, 5, and 6 of the Command Register. When
this bit is set to a logic 1, the Watchdog interrupt output is deactivated.
Bit 2: Time-of-Day Alarm Mask (TDM). When this bit is set to a logic 0, the Time-of-Day Alarm
Interrupt output will be activated. The activated state is determined by bits 0, 4, 5, and 6 of the Command
Register. When this bit is set to a logic 1, the Time-of-Day Alarm interrupt output is deactivated.
Bit 1: Watchdog Alarm Flag (WAF). This bit is set to a logic 1 when a watchdog alarm interrupt
occurs. This bit is read only. The bit is reset when any of the Watchdog Alarm registers are accessed.
When the interrupt is in the pulse mode (see bit 4 definition), this flag will be in the logic 1 state only
during the time the interrupt is active.
Bit 0: Time-of-Day Flag (TDF). This is a read-only bit. This bit is set to a logic 1 when a Time-of-Day
alarm has occurred. The time the alarm occurred can be determined by reading the Time-of-Day Alarm
registers. This bit is reset to a logic 0 state when any of the Time-of-Day Alarm registers are accessed.
When the interrupt is in the pulse mode (see bit 4 definition), this flag will be in the logic 1 state only
during the time the interrupt is active.

DS1486-120+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet