LPC47S457-NC SMSC [SMSC Corporation], LPC47S457-NC Datasheet - Page 99
![no-image](/images/no-image-200.jpg)
LPC47S457-NC
Manufacturer Part Number
LPC47S457-NC
Description
Advanced I/O with X-Bus Interface
Manufacturer
SMSC [SMSC Corporation]
Datasheet
1.LPC47S457-NC.pdf
(259 pages)
- Current page: 99 of 259
- Download datasheet (2Mb)
All 256 bytes are directly writable and readable by the host with the following exceptions:
-
-
-
-
-
6.9.4
The processor program obtains time and calendar information by reading the appropriate locations. The program may
initialize the time, calendar and alarm by writing to these locations. The contents of the twelve time, calendar and
alarm registers can be in binary or BCD as shown in Table 48 − RTC Register Valid Range.
Before initializing the internal registers, the SET bit in Register B should be set to a "1" to prevent time/calendar
updates from occurring. The program initializes the twelve locations in the binary or BCD format as defined by the DM
bit in Register B. The SET bit may then be cleared to allow updates.
The 12/24 bit in Register B establishes whether the hour locations represent 1 to 12 or 0 to 23. The 12/24 bit cannot
be changed without reinitializing the hour locations. When the 12 hour format is selected, the high order bit of the
hours byte represents PM when it is a "1".
Once per second, the twelve time, calendar and alarm registers are updated, Incrementing by one second and
checking for an alarm condition. During the update cycle all the registers in Table 48, except Register D, are not
accessible by the processor program. The update cycle time is shown in Table 49. The update logic contains
circuitry for automatic end-of-month recognition as well as automatic leap year compensation.
The three alarm registers may be used in two ways. First, when the program inserts an alarm time in the appropriate
hours, minutes and seconds alarm locations, the alarm interrupt is initiated at the specified time each day if the alarm
enable bit is high. The second usage is to insert a "don't care” state in one or more of three alarms registers. The
"don't care" code is any hexadecimal byte from C0 to FF inclusive. That is the two most significant bits of each byte,
when set to "1" create a "don't care" situation. An alarm interrupt each hour is created with a "don't care" code in the
hours alarm location. Similarly, an alarm is generated every minute with "don't care" codes in the hours and minutes
alarm bytes. The "don't care" codes in all three alarm bytes create an interrupt every second.
SMSC DS – LPC47S45x
Registers C is read only
Bit 7 of Register D is read only which can only be set by a read of Register D.
Bit 6 of Register D is read only .
Bit 7 of Register A is read only
Bits 0 of Register B is read only
TIME CALENDAR AND ALARM
BANK
Bank0
Bank0
Bank0
Bank0
ADD
0
1
2
3
4
5
REGISTER FUNCTION
Register 0: Seconds
Register 1: Seconds Alarm
Register 2: Minutes
Register 3: Minutes Alarm
Register 4: Hours
(12 hour mode)
(24 hour mode)
Register 5: Hours Alarm
(12 hour mode)
(24 hour mode)
OFFSET
BASE
33-7F
E-31,
32
C
D
Table 48 − RTC Register Valid Range
DATASHEET
REGISTER TYPE
Page 99 of 259
R/W
R/W
R/W
R
BCD
RANGE
00-59
00-59
00-59
00-59
01-12 am
81-92 pm
00-23
01-12 am
81-92 pm
00-23
Register C:
Register D:
Day of Month Alarm
Century Byte
General purpose
REGISTER FUNCTION
BINARY
RANGE
00-3B
00-3B
00-3B
00-3B
01-0C
81-8C
00-17
01-0C
81-8C
00-17
Rev. 07/09/2001
Related parts for LPC47S457-NC
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LAN83C183-JD](/images/no-image3.png)
Part Number:
Description:
FAST ETHERNET PHYSICAL LAYER DEVICE
Manufacturer:
SMSC Corporation
Datasheet:
![FDC37N769TQFP](/images/no-image3.png)
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
SMSC Corporation
Datasheet:
![LPC47M102S-MC](/images/no-image3.png)
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
SMSC Corporation
Datasheet:
![LPC47N267-MN](/images/no-image3.png)
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
SMSC Corporation
Datasheet:
![USB20H04-JD](/images/no-image3.png)
Part Number:
Description:
4-PORT USB2.0 HUB CONTROLLER
Manufacturer:
SMSC Corporation
Datasheet:
![FDC37M602](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet:
![FDC37B777](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet:
![FDC37C672](/images/no-image3.png)
Part Number:
Description:
FDC37C672ENHANCED SUPER I/O CONTROLLER WITH FAST IR
Manufacturer:
SMSC Corporation
Datasheet:
![COM90C66LJP](/images/no-image3.png)
Part Number:
Description:
COM90C66LJPARCNET Controller/Transceiver with AT Interface and On-Chip RAM
Manufacturer:
SMSC Corporation
Datasheet:
![FDC37N869TQFP](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet:
![USB97C100QFP](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet:
![LPC47N227-MN](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet:
![FDC37N869](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet:
![LAN91C94](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
SMSC Corporation
Datasheet: