| 数据搜索系统,热门电子元器件搜索 |
|
AN1572 数据表(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1572 数据表(HTML) 5 Page - STMicroelectronics |
|
5 / 9 page ![]() AN1572 Doc ID 10604 Rev 2 5/9 Halt bit Whenever the Halt bit (HT, bit 6 of address 0Ch) is a 1, the device halts the automatic copying of the counters to the buffer/transfer registers at the start of a read or write access. Thus, if the user writes the HT bit to 1, the buffer transfer registers will be frozen with the time/date that the HT was written. Subsequent reads of the date/time will continue returning the same value. Hence, with HT=1, at the start of a read/write sequence, the counters are not copied into the buffer/transfer registers. They remain frozen with the time at which HT was written to 1. The HT bit is set to 1 automatically at power-down, when VCC fails and the RTC switches to backup mode (except as noted below in M41T82 / 83 / 93). Power-down time stamp For most RTCs with battery switchover, the time/date counters are copied into the buffer/transfer registers at power-down. Thus, the time of power-down is frozen in the buffer/transfer registers. In applications where the duration of power outages needs to be known once power returns, the application can read the time of power-down and compare that to the current time to determine how long the device was in backup mode. M41T82 / 83 / 93 The M41T82/83/93 RTCs do not save the time/date at power-down. Thus, when VCC fails and their HT bits are set, the buffer/transfer registers will contain the time of the last access prior to power-down rather than the actual time of power-down. Applications needing to know the duration of an outage can work around this by implementing periodic reads of the RTC. For example, if the software is configured to read the RTC once per minute, upon power-down, the buffer/transfer registers will contain a time/date value within one minute of the actual time of power-down. Applications requiring more resolution can read the RTC more frequently. Writes with the HT bit set Whenever a write occurs to any of the RTC date/time register addresses (00h to 07h), all eight registers are copied back into the RTC counters. Regardless of whether one byte is written or several, all eight bytes are copied back into the counters. This only applies to the date/time addresses 00h to 07h. If the HT bit is set, then the buffer/transfer registers contain the time of power-down (or the time of the last access for the M41T82/83/93). If a write occurs to any of these eight addresses, then the time of power-down (or last access) will be copied back into the counters. This has the effect of making the RTC appear to have stopped running at power- down. Users should always clear the HT bit prior to writing any of the date/time registers (00h to 07h) to prevent corruption of this nature. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |