Calendar alarm register, Alarm enable register, Calendar alarm register alarm enable register – Digi NS9215 User Manual
Page 465

. . . . .
R E A L T I M E C L O C K M O D U L E
Calendar Alarm register
www.digiembedded.com
465
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C a l e n d a r A l a r m r e g i s t e r
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
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A l a r m E n a b l e r e g i s t e r
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
0
15
14
31
29
28
27
26
25
24
23
22
21
20
19
18
17
16
30
Reserved
Reserved
D_U
M_U
D_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