ML2002 Preliminary
ꢀ Alarm function modes
By clearing the MSB of one or more of the alarm registers (bit AE = enable), the corresponding alarm
conditions will be active. In this way an alarm can be generated from once per minute up to once per
week. The alarm condition sets the Alarm Flag (AF). The asserted AF can be used to generate an interrupt
(INT). When one or more of these registers are loaded with a valid minute, hour, day, or weekday and its
corresponding bit Alarm Enable (AE) is logic 0, then that information will be compared with the current
minute, hour, day and weekday. When all enabled comparisons first match, the Alarm Flag (AF) is set.
Alarm Flag will be cleared when the comparison fails to match or the user disable the alarm register that
AE bit at logic 1.
ꢂ Minutes alarm register Address (08H)
Bit
7
Symbol
AE
Value
0
1
00 to 59
Description
Minute alarm is enabled
Minute alarm is disabled
Minutes value coded in BCD format.
6 to 0
Alarm minutes
ꢂ Houralarm register Address (09H)
Bit
7
Symbol
AE
Value
0
1
00 to 23
Description
Hour alarm is enabled
Hour alarm is disabled
Hours value coded in BCD format.
6 to 0
Alarm hours
ꢂ Day alarm register Address (0AH)
Bit
7
Symbol
AE
Value
0
1
01 to 31
Description
Day alarm is enabled
Day alarm is disabled
Days value coded in BCD format.
5to 0
Alarm days
ꢂ Weekdayalarm register Address (0BH)
Bit
7
Symbol
AE
Value
0
1
00 to 06
Description
Weekday alarm is enabled
Weekday alarm is disabled
Hours value coded in BCD format.
2 to 0
Alarm weekdays
P22/29
Preliminary, April 2007