Electronic Components Datasheet Search
  English  ▼

X  

PC87322VF Datasheet(PDF) 54 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # PC87322VF
Description  Floppy Disk Controller with Dual UARTs, Enhanced Parallel Port, and IDE Interface
PDF  84 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

PC87322VF Datasheet(HTML) 54 Page - National Semiconductor (TI)

Back Button PC87322VF Datasheet HTML 50Page - National Semiconductor (TI) PC87322VF Datasheet HTML 51Page - National Semiconductor (TI) PC87322VF Datasheet HTML 52Page - National Semiconductor (TI) PC87322VF Datasheet HTML 53Page - National Semiconductor (TI) PC87322VF Datasheet HTML 54Page - National Semiconductor (TI) PC87322VF Datasheet HTML 55Page - National Semiconductor (TI) PC87322VF Datasheet HTML 56Page - National Semiconductor (TI) PC87322VF Datasheet HTML 57Page - National Semiconductor (TI) PC87322VF Datasheet HTML 58Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 54 / 84 page
background image
60 Serial Ports (Continued)
Bit 7
In the NS16450 Mode this is 0 In the FIFO Mode
LSR7 is set when there is at least one parity error
framing error or break indication in the FIFO LSR7 is
cleared when the CPU reads the LSR if there are no
subsequent errors in the FIFO
Note
The Line Status Register is intended for read operations
only Writing to this register is not recommended as this
operation is only used for factory testing In the FIFO mode
the software must load a data byte in the Rx FIFO via the
Loopback Mode in order to write to LSR2–LSR4 LSR0 and
LSR7 can’t be written to in the FIFO Mode
625 FIFO Control Register
This is a write-only register at the same location as the IIR
(the IIR is a read-only register) This register is used to en-
able the FIFOs clear the FIFOs and to set the RCVR FIFO
trigger level
Bit 0
Writinga1to FCR0 enables both the XMIT and
RCVR FIFOs Resetting FCR0 clears all bytes in
both FIFOs When changing from FIFO Mode to
NS16450 Mode and vice versa data is automati-
cally cleared from the FIFOs This bit must already
be 1 when other FCR bits are written to or they will
not be programmed
Bit 1
Writing 1 to FCR1 clears all bytes in the RCVR
FIFO and resets its counter logic to 0 The shift
register is not cleared The 1 that is written to this
bit position is self-clearing
Bit 2
Writing 1 to FCR2 clears all bytes in the XMIT
FIFO and resets its counter logic to 0 The shift
register is not cleared The 1 that is written to this
bit position is self-clearing
Bit 3
Writing to FCR3 does not change UART opera-
tions
Bits 4 5
FCR4 to FCR5 are reserved for future use
Bits 6 7
FCR6 and FCR7 are used to designate the inter-
rupt trigger level When the number of bytes in the
RCVR FIFO equals the designated interrupt trig-
ger level a Received Data Available Interrupt is
activated This interrupt must be enabled by set-
ting IER0
FCR Bits
RCVR FIFO
7
6
Trigger Level Bytes
00
01
01
04
10
08
11
14
626 Interrupt Identification Register (IIR)
In order to provide minimum software overhead during data
character transfers the UART prioritizes interrupts into four
levels and records these in the Interrupt Identification Reg-
ister The four levels of interrupt conditions in order of priori-
ty are Receiver Line Status Received Data Ready Trans-
mitter Holding Register Empty and MODEM Status
When the CPU accesses the IIR the UART freezes all inter-
rupts and indicates the highest priority pending interrupt to
the CPU While this CPU access is occurring the UART
records new interrupts but does not change its current indi-
cation until the current access is complete Table 6-2 shows
the contents of the IIR Details on each bit follow
Bit 0
This bit can be used in an interrupt environment to
indicate whether an interrupt condition is pending
When bit 0 is a logic 0 an interrupt is pending and
the IIR contents may be used as a pointer to the
appropriate interrupt service routine When bit 0 is
a logic 1 no interrupt is pending
Bits 1 2
These two bits of the IIR are used to identify the
highest priority interrupt pending as indicated in
Table 6-5
Bit 3
In the 16450 mode this bit is 0 In the FIFO mode it
is set along with bit 2 when a time-out interrupt is
pending
Bits 4 5
These bits of the IIR are always 0
Bits 6 7
These two bits are set when FCR0 e 1 (FIFO
Mode enabled)
627 Interrupt Enable Register (IER)
This register enables the five types of UART interrupts
Each interrupt can individually activate the appropriate inter-
rupt (IRQ3 or IRQ4) output signal It is possible to totally
disable the interrupt system by resetting bits 0 through 3 of
the Interrupt Enable Register (IER) Similarly setting bits of
this register to a logic 1 enables the selected interrupt(s)
Disabling an interrupt prevents it from being indicated as
active in the IIR and from activating the interrupt output sig-
nal All other system functions operate in their normal man-
ner including the setting of the Line Status and MODEM
Status Registers Table 6-2 shows the contents of the IER
Details on each bit follow See MODEM Control Register bit
3 for more information on enabling the interrupt pin
Bit 0
This bit enables the Received Data Available In-
terrupt in the FIFO mode when set to logic 1
Bit 1
This bit enables the Transmitter Holding Register
Empty Interrupt when set to logic 1
Bit 2
This bit enables the Receiver Line Status Interrupt
when set to logic 1
Bit 3
This bit enables the MODEM Status Interrupt
when set to logic 1
Bits 4 – 7
These four bits are always logic 0
628 Modem Control Register (MCR)
This register controls the interface with the MODEM or data
set (or a peripheral device emulating a MODEM) The con-
tents of the MODEM Control Register (MCR) are indicated
in Table 6-2 and are described below
Bit 0
This bit controls the Data Terminal Ready (DTR)
output When bit 0 is set to a logic 1 the DTR
output is forced to a logic 0 When bit 0 is reset to
a logic 0 the DTR output is forced to a logic 1 In
Local Loopback Mode this bit controls bit 5 of the
MODEM Status Register
Note
The DTR and RTS output of the UART may be applied to
an EIA inverting line driver (such as the DS1488) to ob-
tain the proper polarity input at the MODEM or data set
Bit 1
This bit controls the Request to Send (RTS) out-
put Bit 1 affects the RTS output in a manner iden-
tical to that described above for bit 0 In Local
Loopback Mode this bit controls bit 4 of the
MODEM Status Register
Bit 2
This bit is the OUT1 bit It does not have an output
pin associated with it It can be written to and read
by the CPU In Local Loopback Mode this bit con-
trols bit 6 of the MODEM Status Register
54



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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