A SERVICE OF

logo

. . . . .
REAL TIME CLOCK MODULE
Calendar Alarm register
www.digiembedded.com 465
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calendar Alarm register
Address: 9006 0014
The Calendar Alarm register sets the calendar alarm. This register programs a
specific date and month when an alarm should cause an event. You cannot set an
alarm that is more than one year in the future. BCD is binary coded decimal.
Register
Register bit
assignment
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Alarm Enable register
Address: 9006 0018
The Alarm Enable register sets the fields that can trigger an alarm. Setting a bit
enables the corresponding time unit trigger event. Triggering the alarm causes an
event to be generated, as set in the Events Flag register.
If all fields are enabled, an alarm is generated at the time set — the specific month,
date, hour, minute, second, and hundredth-second. If only the minute field is set,
the alarm triggers when that particular minute is reached, and every hour
thereafter.
13 12 11 10 9 8 7 6 5 4 3 2 1 015 14
31 29 28 27 26 25 24 23 22 21 20 19 18 17 1630
Reserved
Reserved D_U M_UD_T M_T Reserved
Bits Access Mnemonic Reset Description
D31:14 N/A Reserved N/A N/A
D13:12 R/W D_T 0x0 Date, tens, BCD digit (0-3)
D11:08 R/W D_U 0x0 Date, units, BCD digit (0-9)
D07 R/W M_T 0x0 Months, tens, CD digit (0-1)
D06:03 R/W M_U 0x0 Months, units, BCD digit (0-9)
D02:00 N/A Reserved N/A N/A