M41T81MY6 STMICROELECTRONICS [STMicroelectronics], M41T81MY6 Datasheet - Page 19

no-image

M41T81MY6

Manufacturer Part Number
M41T81MY6
Description
Serial Access Real-Time Clock with Alarms
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M41T81MY6
Manufacturer:
ST
0
Table 11. Alarm Repeat Modes
Watchdog Timer
The watchdog timer can be used to detect an out-
of-control microprocessor. The user programs the
watchdog timer by setting the desired amount of
time-out into the Watchdog Register, address 09h.
Bits BMB4-BMB0 store a binary multiplier and the
two lower order bits RB1-RB0 select the resolu-
tion, where 00 = 1/16 second, 01 = 1/4 second,
10 = 1 second, and 11 = 4 seconds. The amount
of time-out is then determined to be the multiplica-
tion of the five-bit multiplier value with the resolu-
tion. (For example: writing 00001110 in the
Watchdog Register = 3*1, or 3 seconds). If the
processor does not reset the timer within the spec-
ified period, the M41T81 sets the WDF (Watchdog
Flag) and generates a watchdog interrupt.
RPT5
1
1
1
1
1
0
RPT4
1
1
1
1
0
0
RPT3
1
1
1
0
0
0
RPT2
1
1
0
0
0
0
The watchdog timer can be reset by having the mi-
croprocessor perform a WRITE of the Watchdog
Register. The time-out period then starts over.
Should the watchdog timer time-out, a value of
00h needs to be written to the Watchdog Register
in order to clear the IRQ/FT/OUT/SQW pin. This
will also disable the watchdog function until it is
again programmed correctly. A READ of the Flags
Register will reset the Watchdog Flag (Bit D7;
Register 0Fh).
The watchdog function is automatically disabled
upon power-up and the Watchdog Register is
cleared. If the watchdog function is set, the fre-
quency test function is activated, and the SQWE
Bit is '0,' the watchdog function prevails and the
frequency test function is denied.
RPT1
1
0
0
0
0
0
Once per Second
Once per Minute
Once per Month
Alarm Setting
Once per Hour
Once per Year
Once per Day
M41T81
19/28

Related parts for M41T81MY6