3-WIRE REAL-TIME CLOCK
S-35190A
Rev.2.4_00
INT Pin Output Mode
These are selectable for the INT pin output mode;
Alarm 1 interrupt, alarm 2 interrupt, the output of user-set frequency, per-minute edge interrupt output, minute-periodical
interrupt output 1 and 2, 32.768 kHz output.
In alarm 1 interrupt/output of frequency; set data in the INT register 1. In alarm 2 interrupt, set data in the INT register 2. 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 INT register 1 or 2. Alarm 2 interrupt is dependent from other
modes. Regardless of other settings of mode if alarm 2 interrupt was generated, be careful that “L” is output from the INT
pin. In 32.768 kHz output/per-minute edge interrupt output/minute-periodical interrupt output, it is unnecessary to set data
in the INT register 1 or 2 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 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 INT register 1 or 2, set the data of year, month,
day in the INT register 1 or 2. Refer to “4. INT register 1 and INT register 2” in “ Configuration of Register”.
Alarm setting of W (day of the week), H (hour), m (minute)”
Status register 2 setting
INT register x alarm enable flag
• AxHE = AxmE = AxWE = “1”
• Alarm 1 interrupt
32kE
=
0, INT1ME
=
INT1FE = 0
• Alarm 2 interrupt
None
INT register 1
INT register 2
mx
Hx
Wx
Alarm interrupt
Comparator
Day of
Second Minute Hour
Real-time data
Day Month Year
the week
W (day of the week)
H h (m − 1) m 59s
H h m m 00 s 01 s
59 s
H h (m + 1) m 00
Real-time data
Change by program
Change by program Change by program
s
INT1AE/INT2AE
INT pin
*1
Alarm time matches
OFF
Period when alarm time matches
*1. If users clear INT1AE/INT2AE once; “L” is not output from the INT pin by setting INT1AE/INT2AE enable again, within
a period when the alarm time matches real-time data.
Figure 26 Alarm Interrupt Output Timing (1/2)
22
Seiko Instruments Inc.