| データシートサーチシステム |
|
PC16550D データシート(PDF) 19 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC16550D データシート(HTML) 19 Page - National Semiconductor (TI) |
|
19 / 22 page ![]() 80 Registers (Continued) Bit 7 This bit is the complement of the Data Carrier Detect (DCD) input If bit 4 of the MCR is set to a 1 this bit is equivalent to OUT 2 in the MCR 810 SCRATCHPAD REGISTER This 8-bit ReadWrite Register does not control the UART in anyway It is intended as a scratchpad register to be used by the programmer to hold data temporarily 811 FIFO INTERRUPT MODE OPERATION When the RCVR FIFO and receiver interrupts are enabled (FCR0e1 IER0e1) RCVR interrupts will occur as follows A The receive data available interrupt will be issued to the CPU when the FIFO has reached its programmed trigger level it will be cleared as soon as the FIFO drops below its programmed trigger level B The IIR receive data available indication also occurs when the FIFO trigger level is reached and like the inter- rupt it is cleared when the FIFO drops below the trigger level C The receiver line status interrupt (IIRe06) as before has higher priority than the received data available (IIRe04) interrupt D The data ready bit (LSR0) is set as soon as a character is transferred from the shift register to the RCVR FIFO It is reset when the FIFO is empty When RCVR FIFO and receiver interrupts are enabled RCVR FIFO timeout interrupts will occur as follows A A FIFO timeout interrupt will occur if the following condi- tions exist at least one character is in the FIFO the most recent serial character received was longer than 4 continuous character times ago (if 2 stop bits are programmed the second one is in- cluded in this time delay) the most recent CPU read of the FIFO was longer than 4 continuous character times ago The maximum time between a received character and a timeout interrupt will be 160 ms at 300 baud with a 12-bit receive character (ie 1 Start 8 Data 1 Parity and 2 Stop Bits) B Character times are calculated by using the RCLK input for a clock signal (this makes the delay proportional to the baudrate) C When a timeout interrupt has occurred it is cleared and the timer reset when the CPU reads one character from the RCVR FIFO D When a timeout interrupt has not occurred the timeout timer is reset after a new character is received or after the CPU reads the RCVR FIFO When the XMIT FIFO and transmitter interrupts are enabled (FCR0e1 IER1e1) XMIT interrupts will occur as follows A The transmitter holding register interrupt (02) occurs when the XMIT FIFO is empty it is cleared as soon as the transmitter holding register is written to (1 to 16 char- acters may be written to the XMIT FIFO while servicing this interrupt) or the IIR is read B The transmitter FIFO empty indications will be delayed 1 character time minus the last stop bit time whenever the following occurs THREe1 and there have not been at least two bytes at the same time in the transmit FIFO since the last THREe1 The first transmitter interrupt af- ter changing FCR0 will be immediate if it is enabled Character timeout and RCVR FIFO trigger level interrupts have the same priority as the current received data avail- able interrupt XMIT FIFO empty has the same priority as the current transmitter holding register empty interrupt 812 FIFO POLLED MODE OPERATION With FCR0e1 resetting IER0 IER1 IER2 IER3 or all to zero puts the UART in the FIFO Polled Mode of operation Since the RCVR and XMITTER are controlled separately either one or both can be in the polled mode of operation In this mode the user’s program will check RCVR and XMIT- TER status via the LSR As stated previously LSR0 will be set as long as there is one byte in the RCVR FIFO LSR1 to LSR4 will specify which error(s) has occurred Character error status is handled the same way as when in the interrupt mode the IIR is not affected since IER2e0 LSR5 will indicate when the XMIT FIFO is empty LSR6 will indicate that both the XMIT FIFO and shift reg- ister are empty LSR7 will indicate whether there are any errors in the RCVR FIFO There is no trigger level reached or timeout condition indi- cated in the FIFO Polled Mode however the RCVR and XMIT FIFOs are still fully capable of holding characters 90 Typical Applications Typical Interface for a High-Capacity Data Bus TLC8652 – 23 19 |
|
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト All Rights Reserved©Alldatasheet.com |
| 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 |