欢迎访问ic37.com |
会员登录 免费注册
发布采购

HD64F36077G 参数 Datasheet PDF下载

HD64F36077G图片预览
型号: HD64F36077G
PDF下载: 下载PDF文件 查看货源
内容描述: 旧公司名称在产品目录等资料 [Old Company Name in Catalogs and Other Documents]
分类和应用:
文件页数/大小: 566 页 / 3220 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F36077G的Datasheet PDF文件第207页浏览型号HD64F36077G的Datasheet PDF文件第208页浏览型号HD64F36077G的Datasheet PDF文件第209页浏览型号HD64F36077G的Datasheet PDF文件第210页浏览型号HD64F36077G的Datasheet PDF文件第212页浏览型号HD64F36077G的Datasheet PDF文件第213页浏览型号HD64F36077G的Datasheet PDF文件第214页浏览型号HD64F36077G的Datasheet PDF文件第215页  
Section 10 Realtime Clock (RTC)  
10.4.3  
Data Reading Procedure  
When the seconds, minutes, hours, or day-of-week datum is updated while time data is being read,  
the data obtained may not be correct, and so the time data must be read again. Figure 10.4 shows  
an example in which correct data is not obtained. In this example, since only RSECDR is read  
after data update, about 1-minute inconsistency occurs.  
To avoid reading in this timing, the following processing must be performed.  
1. Check the setting of the BSY bit, and when the BSY bit changes from 1 to 0, read from the  
second, minute, hour, and day-of-week registers. When about 62.5 ms is passed after the BSY  
bit is set to 1, the registers are updated, and the BSY bit is cleared to 0.  
2. Making use of interrupts, read from the second, minute, hour, and day-of week registers after  
the IRRTA flag in IRR1 is set to 1 and the BSY bit is confirmed to be 0.  
3. Read from the second, minute, hour, and day-of week registers twice in a row, and if there is  
no change in the read data, the read data is used.  
Before update RWKDR = H'03, RHDDR = H'13, RMINDR = H'46, RSECDR = H'59  
BSY bit = 0  
(1) Day-of-week data register read H'03  
(2) Hour data register read  
(3) Minute data register read  
H'13  
H'46  
BSY bit -> 1 (under data update)  
After update RWKDR = H'03, RHDDR = H'13, RMINDR = H'47, RSECDR = H'00  
BSY bit -> 0  
(4) Second data register read  
H'00  
Figure 10.4 Example: Reading of Inaccurate Time Data  
Rev. 3.00 Sep. 10, 2007 Page 177 of 528  
REJ09B0216-0300  
 复制成功!