| Electronic Components Datasheet Search |
|
PCA2125TS Datasheet(PDF) 14 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCA2125TS Datasheet(HTML) 14 Page - NXP Semiconductors |
|
14 / 40 page ![]() PCA2125_00 © NXP B.V. 2007. All rights reserved. Preliminary data sheet Rev. 00.11 — 30 January 2007 14 of 40 NXP Semiconductors PCA2125 SPI Real time clock / calendar Generation of interrupts from the alarm function is described under the interrupt section, Section 6.7.3. 6.5.1 Alarm flag When all enabled comparisons first match, the Alarm Flag (AF) is set. AF will remain set until cleared by software. 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 bit AEn at logic 1 are ignored. Figure 9 shows an example for clearing AF but leaving MSF and 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 logic AND is performed during a write access. Writing a ‘1’ will cause the flag to maintain it’s value, whilst writing a ‘0’ will cause the flag to be reset. The following tables show what instruction must be sent to clear the AF. In this example, MSF and TF are unaffected. Example where only the minute alarm is used and no other interrupts are enabled. Fig 9. AF timing Table 23: Flag location in control 2 Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Control 2 - -MSF -AF TF - - Table 24: Example to clear only TF (bit 2) Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Control 2 - -1 -0 1 - - 001aaf903 44 45 45 minute alarm minutes counter AF INT when AIE = 1 46 |
|
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 |
| 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 |