English
Language : 

S-35392A Datasheet, PDF (14/47 Pages) Seiko Instruments Inc – 2-WIRE REAL-TIME CLOCK
2-WIRE REAL-TIME CLOCK
S-35392A
Rev.1.3_00
4. INT1 register and INT2 register
The INT1 register is to set up the alarm time. The INT2 register is to set up the output of user-set frequency or alarm
interrupt. To switch the output mode, use the status register 2.
The INT1 register works as an alarm-time data register in the alarm 1 interrupt mode selected by users. The INT1 flag (B3
in the status register) displays the alarm time when it matches.
The INT2 register works as an alarm-time data register in the alarm interrupt mode selected by using the status register 2.
In the mode output of user-set frequency, the INT2 register works as a data register to set up the frequency for output
clock. Clock pulse and output of alarm interrupt are output from the INT2 pin. And The INT2 flag (B2 in the status
register) displays the alarm time when it matches.
(1) Alarm interrupt
Users can set the alarm time (the data of day of the week, hour, minute) by using the INT1 and INT2 registers which
are 3-byte data registers. The configuration of register is as well as the data register of day of the week, hour, minute,
in the real-time data register; is expressed by the BCD code. Do not set a nonexistent day. Users are necessary to set
up the alarm-time data according to the 12/24 hour expression that they set by using the status register 1.
INT1 register
INT2 register
W1 W2 W4 0 0 0 0 A1WE
W1 W2 W4 0 0 0 0 A2WE
B7
B0
B7
B0
H1
H2
H4
H8
H10
H20
AM /
PM
A1HE
B7
B0
H1
H2
H4
H8
H10
H20
AM /
PM
A2HE
B7
B0
m1 m2 m4 m8 m10 m20 m40 A1mE
m1 m2 m4 m8 m10 m20 m40 A2mE
B7
B0
B7
B0
Figure 12 INT1 Register and INT2 Register (Alarm-Time Data)
The INT1 register has A1WE, A1HE, A1mE at B0 in each byte. It is possible to make data valid; the data of day of the
week, hour, minute which are in the corresponded byte; by setting these bits to “1”. This is as well in A2WE, A2HE,
A2mE in the INT2 register.
Setting example: alarm time “7:00 pm” in the INT1 register
(a) 12-hour expression (status register 1 B6 = 0)
set up 7:00 PM
Data written to INT1 register
Day of the week −*1
−*1
−*1
−*1
−*1
−*1
−*1
0
Hour 1
1
1
0
0
0
1
1
Minute 0
0
0
0
0
0
0
1
B7
B0
*1. Don’t care (Both of 0 and 1 are acceptable).
(b) 24-hour expression (status register 1 B6 = 1)
set up 19:00 PM
Data written to INT1 register
Day of the week −*1
−*1
−*1
−*1
−*1
−*1
−*1
0
Hour 1
0
0
1
1
0
1*2
1
Minute 0
0
0
0
0
0
0
1
B7
B0
*1. Don’t care (Both of 0 and 1 are acceptable).
*2. Set up the AM / PM flag along with the time setting.
14
Seiko Instruments Inc.