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

LPC47S45X 参数 Datasheet PDF下载

LPC47S45X图片预览
型号: LPC47S45X
PDF下载: 下载PDF文件 查看货源
内容描述: 先进的I / O与X -Bus接口 [Advanced I/O with X-Bus Interface]
分类和应用:
文件页数/大小: 259 页 / 1575 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号LPC47S45X的Datasheet PDF文件第96页浏览型号LPC47S45X的Datasheet PDF文件第97页浏览型号LPC47S45X的Datasheet PDF文件第98页浏览型号LPC47S45X的Datasheet PDF文件第99页浏览型号LPC47S45X的Datasheet PDF文件第101页浏览型号LPC47S45X的Datasheet PDF文件第102页浏览型号LPC47S45X的Datasheet PDF文件第103页浏览型号LPC47S45X的Datasheet PDF文件第104页  
BCD  
BINARY  
RANGE  
01-07  
ADD  
REGISTER FUNCTION  
Register 6: Day of Week  
Register 7: Day of Month  
Register 8: Month  
RANGE  
01-07  
01-31  
01-12  
00-99  
6
7
8
9
01-1F  
01-0C  
00-63  
Register 9: Year  
D
Day of Month Alarm  
Century Byte  
01-31  
00-39  
01-1F  
00-3F  
32  
6.9.5 UPDATE CYCLE  
An update cycle is executed once per second if the SET bit in Register B is clear and the DV0-DV2 divider is not  
clear. The SET bit in the "1" state permits the program to initialize the time and calendar registers by stopping an  
existing update and preventing a new one from occurring.  
The primary function of the update cycle is to increment the seconds register, check for overflow, increment the  
minutes register when appropriate and so forth through to the year of the century byte. The update cycle also  
compares each alarm register with the corresponding time register and issues an alarm if a match or if a "don't care"  
code is present.  
The length of an update cycle is shown in Table 49. During the update cycle the time, calendar and alarm registers  
are not accessible by the processor program. If the processor reads these locations before the update cycle is  
complete, the output will be undefined. The UIP (update in progress) status bit is set during the interval. When the  
UIP bit goes high, the update cycle will begin 244 μs later. Therefore, if a low is read on the UIP bit the user has at  
least 244 μs before time/calendar data will be changed.  
Table 49 RTC Update Cycle Timing  
MINIMUM TIME BEFORE  
START OF UPDATE  
CYCLE  
INPUT CLOCK  
FREQUENCY  
UPDATE CYCLE  
TIME  
UIP BIT  
32.768 kHz  
32.768 KHZ  
1
0
-
1948 μs  
-
244 μs  
6.9.6 CONTROL AND STATUS REGISTERS  
The RTC has four registers, which are accessible to the processor program at all times, even during the update cycle.  
Register A  
B7  
B6  
B5  
B4  
B3  
B2  
B1  
B0  
UIP  
DV2  
DV1  
DV0  
RS3  
RS2  
RS1  
RS0  
UIP  
The update in progress bit is a status flag that may be monitored by the program. When UIP is a "1" the update cycle  
is in progress or will soon begin. When UIP is a "0" the update cycle is not in progress and will not be for at least 244  
μs. The time, calendar, and alarm information is fully available to the program when the UIP bit is “0”. The UIP bit is a  
read only bit and is not affected by VTR POR. Writing the SET bit in Register B to a "1" inhibits any update cycle  
and then clears the UIP status bit.  
DV2-0  
Three bits are used to permit the program to select various conditions of the 22 stage divider chain. Table 50 shows  
the allowable combinations. The divider selection bits are also used to reset the divider chain. When the  
time/calendar is first initialized, the program may start the divider chain at the precise time stored in the registers.  
When the divider reset is removed, the first update begins one-half second later. These three read/write bits are not  
affected by VTR POR.  
SMSC DS – LPC47S45x  
Page 100 of 259  
Rev. 07/09/2001  
DATASHEET  
 复制成功!