| データシートサーチシステム |
|
PC16550D データシート(PDF) 17 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC16550D データシート(HTML) 17 Page - National Semiconductor (TI) |
|
17 / 22 page ![]() 80 Registers (Continued) TABLE IV Interrupt Control Functions FIFO Interrupt Mode Identification Interrupt Set and Reset Functions Only Register Bit 3 Bit 2 Bit 1 Bit 0 Priority Interrupt Type Interrupt Source Interrupt Reset Control Level 0 0 0 1 None None 0 1 1 0 Highest Receiver Line Status Overrun Error or Parity Error or Reading the Line Status Framing Error or Break Interrupt Register 0 1 0 0 Second Received Data Available Receiver Data Available or Trigger Reading the Receiver Buffer Level Reached Register or the FIFO Drops Below the Trigger Level 1 1 0 0 Second Character Timeout No Characters Have Been Reading the Receiver Removed From or Input to the Indication Buffer Register RCVR FIFO During the Last 4 Char Times and There Is at Least 1 Char in It During This Time 0 0 1 0 Third Transmitter Holding Transmitter Holding Reading the IIR Register (if source of interrupt) or Writing Register Empty Register Empty into the Transmitter Holding Register 0 0 0 0 Fourth MODEM Status Clear to Send or Data Set Ready or Reading the MODEM Ring Indicator or Data Carrier Status Register Detect Bit 5 This bit is the Transmitter Holding Register Empty (THRE) indicator Bit 5 indicates that the UART is ready to accept a new character for transmission In addition this bit causes the UART to issue an interrupt to the CPU when the Transmit Holding Register Empty Interrupt enable is set high The THRE bit is set to a logic 1 when a character is transferred from the Transmitter Holding Register into the Transmitter Shift Register The bit is reset to logic 0 concur- rently with the loading of the Transmitter Holding Register by the CPU In the FIFO mode this bit 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 Bit 6 is set to a logic 1 whenever the Transmitter Holding Regis- ter (THR) and the Transmitter Shift Register (TSR) are both empty It is reset to a logic 0 whenever either the THR or TSR contains a data character In the FIFO mode this bit is set to one whenever the transmitter FIFO and shift register are both empty Bit 7 In the 16450 Mode this is a 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 Loopback Mode in order to write to LSR2–LSR4 LSR0 and LSR7 can’t be written to in FIFO mode 85 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 set the RCVR FIFO trigger level and select the type of DMA signalling Bit 0 Writinga1to FCR0 enables both the XMIT and RCVR FIFOs Resetting FCR0 will clear all bytes in both FIFOs When changing from the FIFO Mode to the 16450 Mode and vice versa data is automatically cleared from the FIFOs This bit must be a 1 when other FCR bits are written to or they will not be programmed Bit 1 Writinga1to 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-clear- ing Bit 2 Writinga1to 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-clear- ing Bit 3 Setting FCR3 to a 1 will cause the RXRDY and TXRDY pins to change from mode 0 to mode 1 if FCR0e1 (see description of RXRDY and TXRDY pins) Bit 4 5 FCR4 to FCR5 are reserved for future use Bit 6 7 FCR6 and FCR7 are used to set the trigger level for the RCVR FIFO interrupt 76 RCVR FIFO Trigger Level (Bytes) 00 01 01 04 10 08 11 14 86 INTERRUPT IDENTIFICATION REGISTER 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 Regis- ter The four levels of interrupt conditions in order of priority are Receiver Line Status Received Data Ready Transmit- ter Holding Register Empty and MODEM Status 17 |
|
|
リンク 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 |