| Electronic Components Datasheet Search |
|
PCF2123 Datasheet(PDF) 20 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCF2123 Datasheet(HTML) 20 Page - NXP Semiconductors |
|
20 / 54 page ![]() PCF2123_1 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 01 — 19 November 2008 20 of 54 NXP Semiconductors PCF2123 SPI Real time clock/calendar 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 tables show what instruction must be sent to clear bit AF. In this example, bit MSF and bit TF are unaffected. 9.8 Timer functions The countdown timer has four selectable source clocks allowing for countdown periods in the range from 244 µs to 4 h 15 min. There are also two pre-defined timers which can be used to generate an interrupt once per second or once per minute. For periods greater than 4 hours, the alarm function can be used. Registers 01h, 0Eh and 0Fh are used to control the timer function and output. [1] Values of COF[2:0] see Table 35. 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. 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 - - Table 24. Register Timer_clkout (address 0Eh) bits description Bit Symbol Value Description Reference 7 - - unused - 6 to 4 COFx [1] CLKOUT control Section 9.10 3 TE 0 countdown timer is disabled Section 9.8.2 1 countdown timer is enabled 2 - - unused 1 to 0 CTD 00 4.096 kHz countdown timer source clock 01 64 Hz countdown timer source clock 10 1 Hz countdown timer source clock 11 1 ⁄60 Hz countdown timer source clock Table 25. Register Countdown_timer (address 0Ah) bits description Bit Symbol Value Description Reference 7 to 0 COUNTDOWN_ TIMER 0h to FFh countdown value = n; Section 9.8.2 CountdownPeriod n SourceClockFrequency --------------------------------------------------------------- = |
|
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 |