
26
FN8233.9
November 30, 2010
.
Alarm Operation Examples
Following, are examples of both Single Event and periodic
Interrupt Mode alarms.
EXAMPLE 1
Alarm 0 set with single interrupt (IM = ”0”)
A single alarm will occur on January 1 at 11:30am.
A. Set Alarm 0 registers as follows:
B. Also the AL0E bit must be set as follows:
After these registers are set, an alarm will be generated when
the RTC advances to exactly 11:30am on January 1 (after
seconds changes from 59 to 00) by setting the AL0 bit in the
status register to “1” and also bringing the IRQ/FOUT output
low.
VRESET(2.63V)
RESET
VTRIP
VDD
tPURST
(2.2V)
IBAT
(BATTERY BACKUP MODE)
(VDD POWER, VBAT NOT CONNECTED)
FIGURE 29. EXAMPLE RESET OPERATION IN MODE A OR C
VBAT(3.0V)
I2C-BUS ACTIVE
VRESET (2.63V)
RESET
VTRIP
VDD
(2.2V)
IBAT
(BATTERY BACKUP MODE)
FIGURE 30. RESET OPERATION IN MODE D
VBAT (3.0V)
I2C-BUS ACTIVE
tPURST
ALARM0
REGISTER
BIT
DESCRIPTION
76
543210
HEX
SCA0
00
000000
00h
Seconds disabled
MNA0
10
110000
B0h Minutes set to 30,
enabled
HRA0
1
0
010001
91h
Hours set to 11,
enabled
DTA0
10
000001
81h
Date set to 1,
enabled
MOA0
1
0000001
81h
Month set to 1,
enabled
DWA0
0
0000000
00h
Day of week
disabled
CONTROL
REGISTER
BIT
DESCRIPTION
765
43210
HEX
INT
001
00000
x0hEnable Alarm
ALARM0
REGISTER
BIT
DESCRIPTION
7
6543210
HEX
ISL12028, ISL12028A