DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PCF2123U/10AA/1 Просмотр технического описания (PDF) - NXP Semiconductors.

Номер в каталоге
Компоненты Описание
производитель
PCF2123U/10AA/1
NXP
NXP Semiconductors. NXP
PCF2123U/10AA/1 Datasheet PDF : 64 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
NXP Semiconductors
PCF2123
SPI Real time clock/calendar
The generation of interrupts from the alarm function is controlled via bit AIE (register
Control_2, see Table 8). 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 logic 1 are ignored.
Generation of interrupts from the alarm function is described in Section 8.7.3.
minutes counter 44
45
46
minute alarm 45
AF
INT when AIE = 1
001aaf903
Example where only the minute alarm is used and no other interrupts are enabled.
Fig 13. Alarm flag timing
Figure 13, Table 23, and Table 24 show an example for clearing bit AF, but leaving bit
MSF and bit TF unaffected. The flags are cleared by a write command, therefore bits 7, 6,
4, 1 and 0 must be written with their previous values. Repeatedly re-writing these bits has
no influence on the functional behavior.
To prevent the timer flags being overwritten while clearing bit AF, logic AND is performed
during a write access. A flag is cleared by writing logic 0 whilst a flag is not cleared by
writing logic 1. Writing logic 1 will result in the flag value remaining unchanged.
Table 23. Flag location in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
MSF -
AF
TF
-
-
Table 24 shows what instruction must be sent to clear bit AF. In this example, bit MSF and
bit TF are unaffected.
Table 24. Example to clear only AF (bit 3) in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
1
-
0
1
-
-
PCF2123
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 6 — 15 July 2013
© NXP B.V. 2013. All rights reserved.
19 of 64

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]