2-WIRE REAL-TIME CLOCK
S-35390A
Rev.2.4_00
3. Status register 2
Status register 2 is a 1-byte register that is used to display and set various modes. The bit configuration is shown below.
B6
B5
B4
B3
B2
B1
B0
B7
INT1FE
R/W
INT1ME
R/W
INT1AE
R/W
32kE
R/W
INT2FE
R/W
INT2ME
R/W
INT2AE
R/W
TEST
R/W
R/W: Read/Write
Figure 13 Status Register 2
B0 : TEST
This is a test flag for SII. Be sure to set this flag to “0” in use. If this flag is set to “1”, be sure to initialize to set “0”.
B1 : INT2AE, B2 : INT2ME, B3 : INT2FE
These bits are used to select the output mode for the
pin. Table 10 shows how to select the mode. To use an
INT2
alarm 2 interrupt, set alarm interrupt mode, then access the INT2 register.
Table 10 Output Modes for INT2 Pin
INT2AE
0
INT2ME
INT2FE
INT2 Pin Output Mode
0
0
1
1
0
0
1
0
1
0
No interrupt
*1
−
Output of user-set frequency
Per-minute edge interrupt
Minute-periodical interrupt 1 (50% duty)
Alarm 2 interrupt
*1
−
*1
−
1
*1. Don’t care (Both of 0 and 1 are acceptable).
B4 : 32kE, B5 : INT1AE, B6 : INT1ME, B7 : INT1FE
These bits are used to select the output mode for the
pin. Table 11 shows how to select the mode. To use
INT1
alarm 1 interrupt, access the INT1 register after setting the alarm interrupt mode.
Table 11 Output Modes for
Pin
INT1
32kE
INT1AE
0
INT1ME
INT1FE
Pin Output Mode
INT1
0
0
0
0
0
0
1
0
0
1
1
0
1
0
1
0
1
0
1
No interrupt
*1
−
−
Output of user-set frequency
Per-minute edge interrupt
Minute-periodical interrupt 1 (50% duty)
Alarm 1 interrupt
Minute-periodical interrupt 2
32.768 kHz output
*1
0
1
1
*1
*1
*1
−
−
−
*1. Don’t care (Both of 0 and 1 are acceptable).
Seiko Instruments Inc.
13