參數(shù)資料
型號(hào): NS32FX211N
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: XO, clock
英文描述: Microprocessor Compatible Real Time C
中文描述: 0 TIMER(S), REAL TIME CLOCK, PDIP16
封裝: 0.300 INCH, PLASTIC, DIP-16
文件頁數(shù): 7/12頁
文件大?。?/td> 171K
代理商: NS32FX211N
Functional Description
(Continued)
TABLE IIA. Clock Setting Register Layout
Function
Data Bits Used
Comments
Access
DB3
DB2
DB1
DB0
Leap Year Counter
AM/PM Indicator (12-Hour Mode)
X
X
0 Indicates a Leap Year
0
e
AM
1
e
PM
0 in 24-Hour Mode
0
e
12-Hour Mode
1
e
24-Hour Mode
R/W
R/W
X
12/24-Hour Select Bit
X
R/W
TABLE IIB. Interrupt Control Register
Function
Comments
Control Word
DB3
DB2
DB1
DB0
No Interrupt
Interrupt Output Cleared,
Start/Stop Bit Set to 1.
X
0
0
0
0.1 Second
0.5 Second
1 Second
5 Seconds
10 Seconds
30 Seconds
60 Seconds
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0
0
0
1
1
1
1
0
1
1
0
0
1
1
1
0
1
0
1
0
1
DB3
e
0 for Single Interrupt
DB3
e
1 for Repeated Interrupt
Timing Accuracy: Single Interrupt Mode (all time delays):
g
1 ms
Repeated Mode:
g
1 ms on Initial Timeout, Thereafter Synchronous with First Interrupt (i.e, timing errors do not
accumulate).
Control Register
There are three registers which control different operations
of the clock:
a. the clock setting register
b. the interrupt register
c. the control register
The clock setting and interrupt registers both reside at ad-
dress 15, access to one or the other being controlled by the
interrupt select bit; data bit 1 of the control register.
The clock setting register programs the timekeeping of the
clock. The 12/24-hour mode select and the AM/PM indica-
tor for 12-hour mode occupy bits 0 and 1, respectively. Data
bits 2 and 3 set the leap year counter.
The interrupt register controls the operation of the interrupt
timer, selecting the required delay period and either single
or repeated interrupt.
The control register is responsible for controlling the opera-
tions of the clock and supplying status information to the
processor. It appears as two different registers; one with
write only access and one with read only access.
The write only register consists of a bank of four latches
which control the internal processes of the clock.
The read only register contains two output data latches
which will supply status information for the processor. Table
III shows the mapping of the various control latches and
status flags in the control register. The control register is
located at address 0.
The write only portion of the control register contains four
latches:
A logic 1 written into the test bit puts the device into test
mode. This allows setting of the oscillator frequency. For
normal operation the test bit is loaded with logic 0.
The clock start/stop bit stops the timekeeping of the clock
and resets to 0 the tenths of seconds counter. The time of
day may then be written into the various clock registers and
the clock restarted synchronously with an external time
source. Timekeeping is maintained thereafter.
A logic 1 written to the start/stop bit halts clock timing. Tim-
ing is restarted when the start/stop bit is written with a logic
0.
The interrupt select bit determines which of the two regis-
ters mapped onto address 15 will be accessed when this
address is selected.
A logic 0 in the interrupt select bit makes the clock setting
register available to the processor. A logic 1 selects the
interrupt register.
The interrupt start/stop bit controls the running of the inter-
rupt timer. It is programmed in the same way as the clock
start/stop bit; logic 1 to halt the interrupt and reset the tim-
er, logic 0 to start interrupt timing.
When no interrupt is programmed (interrupt control register
set to 0), the interrupt start/stop bit is automatically set to a
logic 1. When any new interrupt is subsequently pro-
grammed, timing will not commence until the start/stop bit
is loaded with 0.
In the single interrupt mode, interrupt timing stops when a
timeout occurs. The processor restarts timing by writing log-
ic 0 into the start/stop bit.
In repeated interrupt mode the interrupt timer continues to
count with no intervention by the processor necessary.
7
相關(guān)PDF資料
PDF描述
NS486 Optimized 32-Bit 486-Class Controller with On-Chip Peripherals for Embedded Systems
NS486SXL Optimized 32-Bit 486-Class Controller with On-Chip Peripherals for Embedded Systems
NS486SXLVUL Optimized 32-Bit 486-Class Controller with On-Chip Peripherals for Embedded Systems
NS486SXF NS486TMSXF Optimized 32-Bit 486-Class Controller with On-Chip Peripherals for Embedded Systems
NS953M FM MODULE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
NS32FX211V 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Microprocessor Compatible Real Time C
NS32GX320NU-20 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Texas Instruments 功能描述:
NS32GX320NU-30 制造商:Rochester Electronics LLC 功能描述:- Bulk
NS32GX32-20 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
NS32GX32-25 制造商:未知廠家 制造商全稱:未知廠家 功能描述: