Electronic Components Datasheet Search |
|
DS1371 Datasheet(PDF) 9 Page - Dallas Semiconductor |
|
DS1371 Datasheet(HTML) 9 Page - Dallas Semiconductor |
9 / 15 page DS1371 9 of 15 Time-of-Day Counter The time-of-day counter is a 32-bit up counter. The contents can be read or written by accessing the address range 00h–03h. When the counter is read, the current time of day is latched into a register, which is output on the serial data line while the counter continues to increment. Writing to the counter resets the countdown chain for the time-of-day counter (Figure 2). The watchdog countdown chain is unaffected. If the square-wave output is enabled and is set to 1Hz, the output resets when the countdown chain is reset. Because the other square-wave frequencies are derived before the section of the countdown chain that is reset, the other frequencies are unaffected by a write to the time-of-day counter. Watchdog/Alarm Counter If the counter is not needed, it can be disabled and used as a 24-bit cache of NV RAM by setting the WACE bit in the control register to logic 0. If all 24 bits of the watchdog/alarm counter are written to zero, the counter is disabled, independent of the WACE bit setting. When the watchdog counter is written to a nonzero value, and WACE is written to logic 1, the function of the counter is determined by the WD/ ALM bit. Note: The WDS input must be low when writing to the watchdog counter registers. When the WD/ ALM bit in the control register is set to a logic 0, the WD/ALM counter decrements every second until it reaches zero. At this point, the AF bit in the status register is set to a 1 and the counter is reloaded and restarted. AF remains set until cleared by writing it to a 0. If INTCN = AIE = 1, the SQW/ INT pin will go active whenever AF = 1. Note: WACE must be set to a logic 1 after the alarm value is written. When the WD/ ALM bit is set to logic 1, the WD/ALM counter decrements every 1/4096 of a second (approximately every 244 μs) until it reaches zero. When any of the watchdog counters bytes are read, the seed value is reloaded and the counter restarts. Writing to the watchdog counter updates the seed value and reloads the counter with the new seed value. A low to high transition on the WDS input reloads and restarts the counter with the seed value. When the counter reaches zero, the AF bit is set and the counter stops. The AF bit remains set until cleared by writing it to 0. If INTCN and AIE are both at logic 1 when the AF bit becomes set, the SQW/ INT pin pulses low for 250ms. At the end of the 250ms pulse, the AF bit is cleared and SQW/ INT becomes high impedance. Note: WACE must be toggled from a logic 0 to a logic 1 after the watchdog counter is written from a zero to a nonzero value. The 250ms pulse on SQW/ INT cannot be truncated by writing either AF or AIE to zero during the low time. If the WD/ ALM counter is written during the 250ms pulse, the counter starts decrementing upon the pulse completion. |
Similar Part No. - DS1371_07 |
|
Similar Description - DS1371_07 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |