| поискавой системы для электроныых деталей |
|
PC97307 датащи(PDF) 149 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC97307 датащи(HTML) 149 Page - National Semiconductor (TI) |
|
149 / 218 page ![]() 149 UART1 and UART2 (with IR) (Logical Devices 5 and 6) www.national.com Bit 1 - Overrun Error (OE) This bit is set to 1 as soon as an overrun condition is de- tected by the receiver. Cleared upon read. With FIFOs Disabled: An overrun occurs when a new character is completely received into the receiver front-end section and the CPU has not yet read the previous character in the receiver holding register. The new character is discarded, and the receiver holding register is not affected. With FIFOs Enabled: An overrun occurs when a new character is completely received into the receiver front-end section and the RX_FIFO is full. The new character is discarded, and the RX_FIFO is not affected. Bit 2 - Parity Error (PE) In UART, Sharp-IR and SIR modes, this bit is set to 1 if the received data character does not have the correct parity, even or odd as selected by the parity control bits of the LCR register. If the FIFOs are enabled, 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 bottom of the RX_FIFO. This bit is cleared upon read. Bit 3 - Framing Error (FE) In UART, Sharp-IR and SIR modes, this bit is set to 1 when the received data character does not have a valid stop bit (i.e., the stop bit following the last data bit or par- ity bit is a 0). If the FIFOs are enabled, this Framing Error is associat- ed with the particular character in the FIFO that it ap- plies to. This error is revealed to the CPU when its associated character is at the bottom of the RX_FIFO. After a framing error is detected, the receiver will try to resynchronize. If the bit following the erroneous stop bit is 0, the receiv- er assumes it to be a valid start bit and shifts in the new character. If that bit is a 1, the receiver enters the idle state and awaits the next start bit. This bit is cleared upon read. Bit 4 - Break Event Detected (BRK) In UART, Sharp-IR and SIR modes this bit is set to 1 when a break event is detected (i.e. when a sequence of logic 0 bits, equal or longer than a full character trans- mission, is received). If the FIFOs are enabled, the break condition is associated with the particular charac- ter in the RX_FIFO to which it applies. In this case, the BRK bit is set when the character reaches the bottom of the RX_FIFO. When a break event occurs, only one zero character is transferred to the Receiver Holding Register or to the RX_FIFO. The next character transfer takes place after at least one logic 1 bit is received followed by a valid start bit. This bit is cleared upon read. Bit 5 - Transmitter Ready (TXRDY) This bit is set to 1 when the Transmitter Holding Regis- ter or the TX_FIFO is empty. It is cleared when a data character is written to the TXD register. Bit 6 - Transmitter Empty (TXEMP) This bit is set to 1 when the Transmitter Holding Regis- ter or the TX_FIFO is empty, and the transmitter front- end is idle. Bit 7 - Error in RX_FIFO (ER_INF) In UART, Sharp-IR and SIR modes, this bit is set to a 1 if there is at least 1 framing error, parity error or break indication in the RX_FIFO. This bit is always 0 in the 16450 mode. This bit is cleared upon read. 7.11.9 Modem Status Register (MSR), Bank 0, Offset 06h The function of this register depends on the selected oper- ational mode. When a UART mode is selected, this register provides the current-state as well as state-change informa- tion of the status lines from the modem or data transmission module. When any of the infrared modes is selected, the register function is controlled by the setting of the IRMSSL bit in the IRCR2 (see page 158). If IRMSSL is 0, the MSR register works as in UART mode. If IRMSSL is 1, the MSR register returns the value 30 hex, regardless of the state of the mo- dem input lines. When loopback is enabled, the MSR register works similar- ly except that its status input signals are internally driven by appropriate bits in the MCR register since the modem input lines are internally disconnected. Refer to the DTR & RTS bits at the MCR (see page 147) and to the LOOP & ETDLBK bits at the EXCR1 (see page 154) for more information. A description of the various bits of the MSR register, with Loopback disabled and UART Mode selected, is provided below. When bits 0, 1, 2 or 3 is set to 1, a Modem Status Event (MS_EV) is generated if the MS_IE bit is enabled in the IER Bits 0 to 3 are set to 0 as a result of any of the following events: • A hardware reset occurs. • The operational mode is changed and the IRMSSL bit is 0. • The MSR register is read. In the reset state, bits 4 through 7 are indeterminate as they reflect their corresponding input signals. Note: The modem status lines can be used as general purpose inputs. They have no effect on the trans- mitter or receiver operation. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |