|
S-35399A02 Datasheet, PDF (15/55 Pages) Seiko Instruments Inc – 2-WIRE REAL-TIME CLOCK | |||
|
◁ |
Rev.1.0_00
2-WIRE REAL-TIME CLOCK
S-35399A02
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.
B7
B6
B5
B4
B3
B2
B1
B0
INT1FE INT1ME INT1AE 32kE INT2FE INT2ME INT2AE TEST
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W: Read/Write
Figure 14 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 INT2 pin. Table 10 shows how to select the mode. To use an
alarm 2 interrupt, set alarm interrupt mode, then access the INT2 register and the alarm expansion register 2.
Table 10 Output Modes for INT2 Pin
INT2AE
INT2ME
INT2FE
0
0
0
â*1
0
1
â*1
1
0
â*1
1
1
1
0
0
*1. Donât care (Both of 0 and 1 are acceptable).
INT2 Pin Output Mode
No interrupt
Output of user-set frequency
Per-minute edge interrupt
Minute-periodical interrupt 1 (50% duty)
Alarm 2 interrupt
B4 : 32kE, B5 : INT1AE, B6 : INT1ME, B7 : INT1FE
These bits are used to select the output mode for the INT1 pin. Table 11 shows how to select the mode. To use an
alarm 1 interrupt, set alarm interrupt mode, then access the INT1 register and the alarm expansion register 1.
Table 11 Output Modes for INT1 Pin
32kE
INT1AE
INT1ME
INT1FE
0
0
0
0
0
â*1
0
1
0
â*1
1
0
0
0
1
1
0
1
0
0
0
1
1
1
1
â*1
â*1
â*1
*1. Donât care (Both of 0 and 1 are acceptable).
INT1 Pin Output Mode
No interrupt
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
Seiko Instruments Inc.
15
|
▷ |