English
Language : 

S-35199A01 Datasheet, PDF (27/54 Pages) Seiko Instruments Inc – 3-WIRE REAL-TIME CLOCK
Rev.1.0_00
3-WIRE REAL-TIME CLOCK
S-35199A01
„ 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 alarm expansion register 1 or 2. Refer to “4. INT register 1 and INT register 2” 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 week), H (hour), m (minute)”
Status register 2 setting
• Alarm 1 interrupt
32kE = 0, INT1ME = INT1FE = 0
• Alarm 2 interrupt
None
INT register 1
INT register 2
INT register x alarm enable flag
• AxHE = AxmE = AxWE = "1"
Alarm expansion register x alarm enable flag
• AxYE = AxME = AxDE = "1"
Alarm expansion register 1
Alarm expansion register 2
mx Hx Wx Dx Mx Yx
Comparator
Alarm interrupt
Second Minute Hour Week Day Month Year
Real-time data
Y (year), M (month), D (day), W (day of week)
Real-time data H h (m − 1) m 59 s H h 00m 00 s 01 s
Change by program
Change by program
59 s H h (m + 1) m 00 s
Change by program
INT1AE/INT2AE
*1
Alarm time matches
INT pin
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 31 Alarm Interrupt Output Timing (1/2)
Seiko Instruments Inc.
27