ADSP-214xx SHARC Processor Hardware Reference 18-15
Real-Time Clock—ADSP-2147x
the value written to
RTC_CLOCK. Wait for the writes to complete on
these registers before using the flags and interrupts associated with
their values.
The following is a list of flags along with the conditions under which they
are valid:
• Seconds (1 Hz) Event flag – Always set on the positive edge of the
1 Hz clock and after shadow registers have updated after waking
from Deep Sleep. This is valid as long as the RTC 1 Hz clock is
running. Use this flag or interrupt to validate the other flags.
• Write Complete – Always valid.
• Write Pending Status – Always valid.
• Minutes Event flag – Valid only after the second field in RTC_STAT
is valid.
• Hours Event flag – Valid only after the minute field in RTC_STAT is
valid.
• 24 Hours Event flag – Valid only after the hour field in RTC_STAT is
valid.
• Stopwatch Event flag – Valid only after the RTC_SWCNT register is
valid.
• Alarm Event flag – Valid only after the RTC_STAT and RTC_ALARM
registers are valid.
• Day Alarm Event flag – Same as Alarm.