English
Language : 

PCF8563TS-T Datasheet, PDF (16/50 Pages) NXP Semiconductors – Real-time clock/calendar
NXP Semiconductors
PCF8563
Real-time clock/calendar
8.6.5 Alarm flag
By clearing the alarm enable bit (AE_x) of one or more of the alarm registers, the
corresponding alarm condition(s) are active. When an alarm occurs, AF is set to logic 1.
The asserted AF can be used to generate an interrupt (INT). The AF is cleared using the
interface.
The registers at addresses 09h through 0Ch contain alarm information. When one or
more of these registers is loaded with minute, hour, day or weekday, and its
corresponding AE_x is logic 0, then that information is compared with the current minute,
hour, day, and weekday. When all enabled comparisons first match, the alarm flag (AF in
register Control_2) is set to logic 1.
The generation of interrupts from the alarm function is controlled via bit AIE. If bit AIE is
enabled, the INT pin follows the condition of bit AF. AF will remain set until cleared by the
interface. Once AF has been cleared, it will only be set again when the time increments to
match the alarm condition once more. Alarm registers which have their AE_x bit at logic 1
are ignored.
check now signal
MINUTE ALARM
=
MINUTE TIME
HOUR ALARM
=
HOUR TIME
DAY ALARM
=
DAY TIME
AE_M
AE_H
AE_D
example
AE_M = 1
1
0
set alarm flag AF (1)
WEEKDAY ALARM
=
WEEKDAY TIME
AE_W
013aaa088
(1) Only when all enabled alarm settings are matching.
It’s only on increment to a matched case that the alarm flag is set, see Section 8.6.5.
Fig 10. Alarm function block diagram
PCF8563
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 10 — 3 April 2012
© NXP B.V. 2012. All rights reserved.
16 of 50