Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PC87306 Datasheet(PDF) 66 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # PC87306
Description  PC87306 SuperI/OTM Enhanced Sidewinder Lite Floppy Disk Controller, Keyboard Controller, Real-Time Clock, Dual UARTs, Infrared Interface, IEEE 1284 Pa
PDF  110 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

PC87306 Datasheet(HTML) 66 Page - National Semiconductor (TI)

Back Button PC87306 Datasheet HTML 62Page - National Semiconductor (TI) PC87306 Datasheet HTML 63Page - National Semiconductor (TI) PC87306 Datasheet HTML 64Page - National Semiconductor (TI) PC87306 Datasheet HTML 65Page - National Semiconductor (TI) PC87306 Datasheet HTML 66Page - National Semiconductor (TI) PC87306 Datasheet HTML 67Page - National Semiconductor (TI) PC87306 Datasheet HTML 68Page - National Semiconductor (TI) PC87306 Datasheet HTML 69Page - National Semiconductor (TI) PC87306 Datasheet HTML 70Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 110 page
background image
60 Serial Ports (Continued)
64 LINE STATUS REGISTER (LSR)
This 8-bit register provides status information to the CPU
concerning the data transfer Table 6-2 shows the contents
of the Line Status Register Details on each bit follow
Bit 0
This bit is the receiver Data Ready (DR) indicator It
is set to 1 whenever a complete incoming character
has been received and transferred into the Receiver
Buffer Register or the FIFO It is reset to 0 by read-
ing the data in the Receiver Buffer Register or the
FIFO
Bit 1
This bit is the Overrun Error (OE) indicator It indi-
cates that data in the Receiver Buffer Register was
not read by the CPU before the next character was
transferred into the Receiver Buffer Register there-
by destroying the previous character The OE indica-
tor is set to 1 upon detection of an overrun condition
and reset whenever the CPU reads the contents of
the Line Status Register If the FIFO mode data con-
tinues to fill the FIFO beyond the trigger level an
Overrun error will occur only after the FIFO is com-
pletely full and the next character has been received
in the shift register OE is indicated to the CPU as
soon as it happens The character in the shift regis-
ter is overwritten but is not transferred to the FIFO
Bit 2
This bit is the Parity Error (PE) indicator It indicates
that the received data character does not have the
correct parity as selected by the even-parity select
bit The PE bit is set to 1 upon detection of a parity
error and is reset to 0 whenever the CPU reads the
contents of the Line Status Register In the FIFO
mode this error is associated with the particular
character in the FIFO that it applies to This error is
revealed to the CPU when its associated character is
at the top of the FIFO
Bit 3
This bit is the Framing Error (FE) indicator It indi-
cates that the received character did not have a val-
id Stop bit It is set to 1 whenever the Stop bit follow-
ing the last data bit or parity bit is a 0 (Spacing level)
The FE indicator is reset whenever the CPU reads
the contents of the Line Status Register In the FIFO
mode this error is associated with the particular
character in the FIFO that it applies to This error is
revealed to the CPU when its associated character is
at the top of the FIFO The UART will try to resyn-
chronize after a framing error by assuming that the
error was due to the next start bit It samples this
‘‘start’’ bit twice and then takes in the bits following it
as the rest of the frame
Bit 4
This bit is the Break Interrupt (BI) indicator It is set
to 1 whenever the received data input is held in the
Spacing (0) state for longer than a full word trans-
mission time (ie the total time of Start bit a data
bits a Parity a Stop bits) The BI indicator is reset
whenever the CPU reads the contents of the Line
Status Register In the FIFO mode this error is asso-
ciated with the particular character in the FIFO that it
applies to This error is revealed to the CPU when its
associated character is at the top of the FIFO When
break occurs only one character is loaded into the
FIFO To Restart after a break is received the SIN
pin must be 1 for at least
bit time
Note
Bits 1 through 4 are the error conditions that produce a
Receiver Line Status interrupt whenever any of the corre-
sponding conditions are detected and the interrupt is en-
abled
Bit 5
This bit is the Transmitter Holding Register Empty
(THRE) indicator It indicates that the UART is ready
to accept a new character for transmission In addi-
tion it causes the UART to issue an interrupt to the
CPU when the Transmit Holding Register Empty In-
terrupt enable is set high The THRE bit is set to 1
when a character is transferred from the Transmitter
Holding Register into the Transmitter Shift Register
The bit is reset to 0 whenever the CPU loads the
Transmitter Holding Register In the FIFO mode it is
set when the XMIT FIFO is empty it is cleared when
at least 1 byte is written to the XMIT FIFO
Bit 6
This bit is the Transmitter Empty (TEMT) indicator It
is set to 1 whenever the Transmitter Holding Regis-
ter (THR) and the Transmitter Shift Register (TSR)
are both empty It is reset to 0 if either the THR or
TSR contains a data character In the FIFO mode
this bit is set to 1 whenever the transmitter FIFO and
the shift register are both empty
Bit 7
In the NS16450 Mode this is 0 In the FIFO Mode
this bit is set when there is at least one parity error
framing error or break indication in the FIFO It 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 FIFO Mode
65 FIFO CONTROL REGISTER (FCR)
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 al-
ready 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 and FCR5 are reserved for future use
Bits 6 7
The combination of FCR6 and FCR7 are used to
designate the interrupt trigger level See
Figure
6-2 When the number of bytes in the RCVR FIFO
equals the designated interrupt trigger level a Re-
ceived Data Available Interrupt is activated This
interrupt must be enabled by setting the Interrupt
Enable Register (IER) bit 0
66



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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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