
2-WIRE REAL-TIME CLOCK
Rev.2.0_00
S-35399A03
Seiko Instruments Inc.
23
1
INT ,
2
INT
Pin Output Modes
These are selectable for the output mode for
1
INT and
2
INT
pins;
Alarm interrupt, the output of user-set frequency, per-minute edge interrupt output, minute-periodical interrupt output 1. In
the
1
INT
pin output mode, in addition to the above modes, minute-periodical interrupt output 2 and 32.768 kHz output are
also selectable.
To swith the output mode, use the status register 2. Refer to “3. status register 2” in “ Configuration of Register”.
When switching the output mode, be careful of the output status of the pin. Especially, when using alarm interrupt/output of
frequency, switch the output mode after setting “00h” in the INT1/INT2 register. In 32.768 kHz output/per-minute edge
interrupt output/minute-periodical interrupt output, it is unnecessary to set data in the INT1/INT2 register for users.
Refer to the followings regarding each operation of output modes.
1. Alarm interrupt output
Alarm interrupt output is the function to output “L” from the
1
INT /
2
INT
pin, at the alarm time which is set by user has
come. If setting the pin output to “H”, turn off the alarm function by setting “0” in INT1AE/INT2AE in the status register 2.
To set the alarm time, set the data of day of the week, hour, minute in the INT1/INT2 register, set the data of year, month,
day in the alarm expansion register 1 or 2. Refer to “4. INT1 register and INT2 register” and “9. Alarm expansion
register 1 and alarm expansion register 2”
in “ Configuration of Register”.
Alarm setting of “Y (year), M (month), D (day), W (day of the week), H (hour), m (minute)”
OFF
*1
mx
Comparator
Hx
Wx
Dx
Mx
Yx
01 s
59 s
INT1AE/INT2AE
INT1 pin/INT2 pin
INTx register alarm enable flag
AxHE = AxmE = AxWE = "1"
Alarm expansion register x alarm enable flag
AxYE = AxME = AxDE = "1"
Change by program
Alarm time matches
Period when alarm time matches
Change by program
H h 00m 00 s
H h (m
1) m 59 s
Real-time data
H h (m + 1) m 00 s
Change by program
Status register 2 setting
INT1 pin output mode
32kE = 0, INT1ME = INT1FE = 0
INT2 pin output mode
INT2ME = INT2FE = 0
Alarm interrupt
Second
Real-time data
Minute
Y (year), M (month), D (day), W (day of the week)
Alarm expansion register 1
Alarm expansion register 2
Year
Hour Week
Day Month
INT1 register
INT2 register
*1.
If users clear INT1AE/INT2AE once; “L” is not output from the
1
INT
/
2
INT
pin by setting INT1AE/INT2AE enable again,
within a period when the alarm time matches real-time data.
Figure 24 Alarm Interrupt Output Timing (1/2)