| поискавой системы для электроныых деталей |
|
PC97307 датащи(PDF) 151 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC97307 датащи(HTML) 151 Page - National Semiconductor (TI) |
|
151 / 218 page ![]() 151 UART1 and UART2 (with IR) (Logical Devices 5 and 6) www.national.com Bit 2 - Set End of Transmission (S_EOT) In Consumer-IR mode this is the Set End of Transmis- sion bit. When a 1 is written into this bit position before writing the last character into the TX_FIFO, data trans- mission is gracefully completed. In this mode, if the CPU simply stops writing data into the TX_FIFO at the end of the data stream, a transmitter underrun is generated and the transmitter stops. In this case this is not an error, but the software must clear the underrun before the next transmission can occur. This bit is automatically cleared by hardware when a charac- ter is written to the TX_FIFO. Bit 3 - Reserved Read/Write 0. Bit 4 - Reception Watchdog (RXWDG) In Consumer-IR mode, this is the Reception Watchdog (RXWDG) bit. It is set to 1 each time a pulse or pulse- train (modulated pulse) is detected by the receiver. It can be used by the software to detect a receiver idle condition. It is cleared upon read. Bit 5 - Receiver Active (RXACT) In Consumer-IR Mode this is the Receiver Active (RX- ACT) bit. It is set to 1 when an infrared pulse or pulse- train is received. If a 1 is written into this bit position, the bit is cleared and the receiver is deactivated. When this bit is set, the receiver samples the infrared input contin- uously at the programmed baud rate and transfers the data to the RX_FIFO. See “Consumer-IR Reception” on page 138. Bit 6 - Infrared Transmitter Underrun (TXUR) In the Consumer-IR mode, this is the Transmitter Un- derrun flag. This bit is set to 1 when a transmitter under- run occurs. It is always cleared when a mode other than Consumer-IR is selected. This bit must be cleared, by writing 1 into it, to re-enable transmission. Bit 7 - Reserved Read/Write 0. Bank 1 – The LEGACY Baud Generator DIVISOR PORTS This register bank contains two baud generator divisor ports, and a bank select register. The Legacy Baud-rate Generator Divisor (LBGD) port pro- vides an alternate path to the Baud Divisor Generator reg- ister. This bank is implemented to maintain compatibility with 16550 standard and to support existing legacy soft- ware packages. In case of using legacy software, the ad- dresses 0 and 1 are shared with the data ports RXD/TXD (see page 141). The selection between them is controlled by the value of the BKSE bit (LCR bit 7 page 145). TABLE 7-11. Bank 1 Register Set In addition, a fallback mechanism maintains this compatibil- ity by forcing the UART to revert to 16550 mode if 16550 software addresses the module after a different mode was set. Since setting the baud divisor values is a necessary ini- tialization of the 16550, setting the divisor values in bank 1 forces the UART to enter 16550 mode. (This is called fall- back.) To enable other modes to program their desired baud rates without activating this fallback mechanism, the baud divisor register in bank 2 should be used. 7.11.12 Legacy Baud Generator Divisor Ports (LBGD(L) and LBGD(H)), Bank 1, Offsets 00h and 01h The programmable baud rates in the Non-Extended mode are achieved by dividing a 24 MHz clock by a prescale value of 13, 1.625 or 1. This prescale value is selected by the PRESL field of EXCR2 (see page 155). This clock is subdi- vided by the two baud generator divisor buffers, which output a clock at 16 times the desired baud rate (this clock is the BAUDOUT clock). This clock is used by I/O circuitry, and af- ter a last division by 16 produces the output baud rate. Divisor values between 1 and 216-1 can be used. (Zero is forbidden). The baud generator divisor must be loaded dur- ing initialization to ensure proper operation of the baud gen- erator. Upon loading either part of it, the baud generator counter is immediately loaded. Table 7-14 on page 153 shows typical baud divisors. After reset the divisor register contents are indeterminate. Any access to the LBGD(L) or LBGD(H) ports causes a re- set to the default Non-Extended mode, i.e., 16550 mode (See “Automatic Fallback to A Non-Extended UART Mode” on page 140).To access a Baud Generator Divisor when in the Extended mode, use the port pair in bank 2 (BGD on page 152). Table 7-12 shows the bits which are cleared when Fallback occurs during Extended or Non-Extended modes. If the UART is in Non-Extended mode and the LOCK bit is 1, the content of the divisor (BGD) ports will not be affected and no other action is taken. When programming the baud rate, the new divisor is loaded upon writing into LBGD(L) and LBGD(H). After reset, the contents of these registers are indeterminate. Divisor values between 1 and 216-1 can be used. (Zero is forbidden.) Table 7-14 shows typical baud divisors. Offset Register Name Description 00h LBGD(L) Legacy Baud Generator Divisor Port (Low Byte) 01h LBGD(H) Legacy Baud Generator Divisor Port (High Byte) 02h Reserved 03h LCR/ BSR Link Control / Bank Select Register 04h - 07h Reserved |
|
ссылки 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 |