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

PCF212311 데이터 시트보기 (PDF) - NXP Semiconductors.

부품명
상세내역
제조사
PCF212311
NXP
NXP Semiconductors. NXP
PCF212311 Datasheet PDF : 63 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 7). 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 22, and Table 23 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 22. Flag location in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
MSF -
AF
TF
-
-
Table 23 shows what instruction must be sent to clear bit AF. In this example, bit MSF and
bit TF are unaffected.
Table 23. 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. 5 — 27 April 2011
© NXP B.V. 2011. All rights reserved.
19 of 63

Share Link: 

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