Datasheet
Status Register (0Fh)
ThecontrolregistercontrolstheoperationoftheSQW/INT pin and provides oscillator status.
Bit 7: Oscillator Stop Flag (OSF). A logic 1 in this bit indicates that the oscillator has stopped or was stopped for some
time period and can be used to judge the validity of the clock and calendar data. This bit is edge triggered, and is set to
logic 1 when the internal circuitry senses the oscillator has transitioned from a normal run state to a stopped condition.
ThefollowingareexamplesofconditionsthatmaycausetheOSFbittobeset:
The first time power is applied.
ThevoltagepresentonV
CC
andV
BAT
are insufficient to support oscillation.
The EOSC bit is set to 1, disabling the oscillator.
Externalinfluencesonthecrystal(i.e.,noise,leakage,etc.).
Thisbitremainsatlogic1untilwrittentologic0.Thisbitcanonlybewrittentologic0.AttemptingtowriteOSFtologic
1 leaves the value unchanged.
Bit 1: Alarm 2 Flag (A2F).
Alogic1intheAlarm2FlagbitindicatesthatthetimematchedtheAlarm2registers.Ifthe
A2IEbitisalogic1andtheINTCNbitissettoalogic1,theSQW/INTpinisalsoasserted.A2Fisclearedwhenwritten
tologic0.Thisbitcanonlybewrittentologic0.Attemptingtowritetologic1leavesthevalueunchanged.
Bit 0: Alarm 1 Flag (A1F).Alogic1intheAlarm1FlagbitindicatesthatthetimematchedtheAlarm1registers.Ifthe
A1IEbitisalogic1andtheINTCNbitissettoalogic1,theSQW/INTpinisalsoasserted.A1Fisclearedwhenwritten
tologic0.Thisbitcanonlybewrittentologic0.Attemptingtowritetologic1leavesthevalueunchanged.
Bit # BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
Name OSF 0 0 0 0 0 A2F A1F
POR 1 0 0 0 0 0 0 0
DS1339B Low-Current, I
2
C, Serial Real-Time Clock
For High-ESR Crystals
www.maximintegrated.com
MaximIntegrated
│
13










