| поискавой системы для электроныых деталей |
|
PC87322VF датащи(PDF) 53 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87322VF датащи(HTML) 53 Page - National Semiconductor (TI) |
|
53 / 84 page ![]() 60 Serial Ports (Continued) TABLE 6-4 PC87322VF UART Divisors Baud Rates and Clock Frequencies 24 MHz Input Divided to 18432 MHz Baud Rate Decimal Divisor Percent for 16 x Clock Error 50 2304 01 75 1536 110 1047 1345 857 04 150 768 300 384 600 192 1200 96 1800 64 2000 58 05 2400 48 3600 32 4800 24 7200 16 9600 12 19200 6 38400 3 57600 2 115200 1 Note The percent error for all baud rates except where indicated otherwise is 02% 624 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 Bit 0 is set to logic 1 whenever a complete incoming character has been received and transferred into the Receiver Buffer Register or the FIFO Bit 0 is reset to a logic 0 by reading the data in the Receiver Buffer Register or the FIFO Bit 1 This bit is the Overrun Error (OE) indicator Bit 1 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 a logic 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 continues to fill the FIFO beyond the trig- ger level an Overrun error will occur only after the FIFO is completely 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 register is overwritten but it is not transferred to the FIFO Bit 2 This bit is the Parity Error (PE) indicator Bit 2 indi- cates that the received data character does not have the correct even or odd parity as selected by the even-parity select bit The PE bit is set to a logic 1 upon detection of a parity error and is reset to a logic 0 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 Bit 3 This bit is the Framing Error (FE) indicator Bit 3 indi- cates that the received character did not have a valid Stop bit Bit 3 is set to a logic 1 whenever the Stop bit following the last data bit or parity bit is a logic 0 (Spacing level) The FE indicator is reset whenever the CPU reads the contents of the Line Status Regis- ter 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 resynchronize after a framing error To do this it assumes that the framing error was due to the next start bit so 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 Bit 4 is set to a logic 1 whenever the received data input is held in the Spacing (logic 0) state for longer than a full word transmission time (that is the total time of Start bit a data bits a Parity a Stop bits) The BI indicator is reset whenever the CPU reads the con- tents 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 When break occurs only one character is loaded into the FIFO Restarting after a break is received requires the SIN pin to be logical 1 for at least bit time Note Bits 1 through 4 are the error conditions that produce a Re- ceiver Line Status interrupt whenever any of the correspond- ing conditions are detected and the interrupt is enabled 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 inter- rupt to the CPU when the Transmiter Holding Regis- ter 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 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 Bit 6 is set to a logic 1 whenever the Transmitter Holding Register (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 1 when- ever the transmitter FIFO and the shift register are both empty 53 |
|
ссылки 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 |