|
S-35392A Datasheet, PDF (13/47 Pages) Seiko Instruments Inc – 2-WIRE REAL-TIME CLOCK | |||
|
◁ |
Rev.1.3_00
2-WIRE REAL-TIME CLOCK
S-35392A
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
SC2
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 11 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
alarm 2 interrupt, access the INT2 register after setting the alarm interrupt mode.
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 : SC2
This is an SRAM type register that can be freely set by users.
B5 : INT1AE, B6 : INT1ME, B7 : INT1FE
To use the alarm 1 function, access the INT register 1 after setting INT1AE = â1â, INT1ME = â0â, and INT1FE = â0â.
In other settings than this, these flags are disable for setting the alarm time (free registers).
Seiko Instruments Inc.
13
|
▷ |