Electronic Components Datasheet Search
  English  ▼

X  

PCA8565TS Datasheet(PDF) 14 Page - NXP Semiconductors

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

PCA8565TS Datasheet(HTML) 14 Page - NXP Semiconductors

Back Button PCA8565TS Datasheet HTML 10Page - NXP Semiconductors PCA8565TS Datasheet HTML 11Page - NXP Semiconductors PCA8565TS Datasheet HTML 12Page - NXP Semiconductors PCA8565TS Datasheet HTML 13Page - NXP Semiconductors PCA8565TS Datasheet HTML 14Page - NXP Semiconductors PCA8565TS Datasheet HTML 15Page - NXP Semiconductors PCA8565TS Datasheet HTML 16Page - NXP Semiconductors PCA8565TS Datasheet HTML 17Page - NXP Semiconductors PCA8565TS Datasheet HTML 18Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 39 page
background image
PCA8565_2
© NXP B.V. 2009. All rights reserved.
Product data sheet
Rev. 02 — 16 June 2009
14 of 39
NXP Semiconductors
PCA8565
Real time clock/calendar
Alarm registers which have their bit AE_x at logic 1 are ignored.
Table 23 shows an example for clearing bit AF but leaving bit TF unaffected. 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.
To prevent the timer flags being overwritten while clearing AF, a logical AND is performed
during a write access. Writing a logic 1 will cause the flag to maintain its value, whereas
writing a logic 0 will cause the flag to be reset.
The following table shows what instruction must be sent to clear bit AF. In this example bit
TF is unaffected.
9.7 Timer functions
The 8-bit countdown timer at address 0Fh is controlled by the timer control register at
address 0Eh. The timer control register determines one of 4 source clock frequencies for
the timer (4.096 kHz, 64 Hz, 1 Hz, or 1
⁄
60 Hz) and enables or disables the timer. The timer
counts down from a software-loaded 8-bit binary value. At the end of every countdown,
the timer sets the timer flag (TF). The TF is cleared using the interface. The asserted TF is
used to generate an interrupt (INT). The interrupt is generated as a pulsed signal every
countdown period or as a permanently active signal which follows the condition of TF.
Bit TI_TP is used to control this mode selection. When reading the timer, the actual
countdown value is returned.
Example where only the minute alarm is used and no other interrupts are enabled.
Fig 7.
AF timing
Table 22.
Flag location in register Control_2
Register
Bit
7
6
5
4
3
2
1
0
Control_2
-
-
-
-
AF
TF
-
-
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
-
-
-
-
0
1
-
-
001aaf903
44
45
45
minute alarm
minutes counter
AF
INT when AIE = 1
46



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


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