Electronic Components Datasheet Search
  English  ▼

X  

PCF2123 Datasheet(PDF) 24 Page - NXP Semiconductors

Part # PCF2123
Description  SPI Real time clock/calendar
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

PCF2123 Datasheet(HTML) 24 Page - NXP Semiconductors

Back Button PCF2123 Datasheet HTML 20Page - NXP Semiconductors PCF2123 Datasheet HTML 21Page - NXP Semiconductors PCF2123 Datasheet HTML 22Page - NXP Semiconductors PCF2123 Datasheet HTML 23Page - NXP Semiconductors PCF2123 Datasheet HTML 24Page - NXP Semiconductors PCF2123 Datasheet HTML 25Page - NXP Semiconductors PCF2123 Datasheet HTML 26Page - NXP Semiconductors PCF2123 Datasheet HTML 27Page - NXP Semiconductors PCF2123 Datasheet HTML 28Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 54 page
background image
PCF2123_1
© NXP B.V. 2008. All rights reserved.
Product data sheet
Rev. 01 — 19 November 2008
24 of 54
NXP Semiconductors
PCF2123
SPI Real time clock/calendar
9.8.3 Timer flags
When a minute or second interrupt occurs, bit MSF is set to logic 1. Similarly, at the end of
a timer countdown or alarm event, bit TF or AF are set to logic 1. These bits maintain their
value until overwritten by software. If both countdown timer and minute or second
interrupts are required in the application, the source of the interrupt can be determined by
reading these bits. To prevent one flag being overwritten while clearing another a logical
AND is performed during a write access. Writing a logic 1 will cause the flag to maintain its
value, whilst writing a logic 0 will cause the flag to be reset.
Three examples are given for clearing the flags. Clearing the flags is made 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.
Table 31, Table 32 and Table 33 show what instruction must be sent to clear the
appropriate flag.
Clearing the alarm flag (bit AF) operates in exactly the same way, see Section 9.7.1.
9.9 Interrupt output
An active LOW interrupt signal is available at pin INT. Operation is controlled via the bits
of register Control_2. Interrupts may be sourced from four places: second and minute
timer, countdown timer, alarm function or offset function.
With bit TI_TP, the timer generated interrupts can be configured to either generate a pulse
or to follow the status of the interrupt flags (bits TF and MSF). Correction interrupt pulses
are always 1
⁄
128 second long. Alarm interrupts always follow the condition of AF.
Table 30.
Flag location in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
MSF
-
AF
TF
-
-
Table 31.
Example to clear only TF (bit 2) in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
1
-
1
0
-
-
Table 32.
Example to clear only MSF (bit 5) in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
0
-
1
1
-
-
Table 33.
Example to clear both TF and MSF (bit 2 and bit 5) in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
0
-
1
0
-
-



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com