| поискавой системы для электроныых деталей |
|
PC97307 датащи(PDF) 141 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC97307 датащи(HTML) 141 Page - National Semiconductor (TI) |
|
141 / 218 page ![]() 141 UART1 and UART2 (with IR) (Logical Devices 5 and 6) www.national.com 7.11.1 Receiver Data Port (RXD) or the Transmitter Data Port (TXD), Bank 0, Offset 00h These ports share the same address. RXD is accessed during CPU read cycles. It is used to read data from the Receiver Holding Register when the FIFOs are disabled, or from the bottom of the RX_FIFO when the FIFOs are enabled. See Figure 7-3. TXD is accessed during CPU write cycles. It is used to write data to the Transmitter Holding Register when the FIFOs are disabled, or to the TX_FIFO when the FIFOs are en- abled. See Figure 7-4. DMA cycles always access the TXD and RXD ports, regard- less of the selected bank. Receiver Data Port (RXD), Bank 0, Offset 00h FIGURE 7-3. RXD Register Bitmap Bits 7-0 - Received Data Used to access the Receiver Holding Register when the FIFOs are disabled, or the bottom of the RX_FIFO when the FIFOs are enabled. Transmitter Data Port (TXD), Bank 0, Offset 00h FIGURE 7-4. TXD Register Bitmap Bits 7-0 - Transmitted Data Used to access the Transmitter Holding Register when the FIFOs are disabled or the top of TX_FIFO when the FIFOs are enabled. 76543210 Reset Required Receiver Data Port (RXD) Bank 0, Received Data Offset 00h 76543210 Reset Required Transmitter Data Port (TXD) Bank 0, Transmitted Data Offset 00h 7.11.2 Interrupt Enable Register (IER), Bank 0, Offset 01h This register controls the enabling of various interrupts. Some interrupts are common to all operating modes of the module, while others are mode specific. Bits 4 to 7 can be set in Extended mode only. They are cleared in Non-Ex- tended mode. The bits of the Interrupt Enable Register (IER) are defined differently, depending on the operating mode of the module. The different modes can be divided into the following four groups: • Non-Extended (which includes UART, Sharp-IR and SIR). • UART and Sharp-IR in Extended mode. • SIR in Extended mode. • Consumer-IR. The following sections describe the bits in this register for each of these modes. The reset mode for the IER is the Non-Extended UART mode. When edge-sensitive interrupt triggers are employed, user is advised to clear all IER bits immediately upon entering the interrupt service routine and to re-enable them prior to exiting (or alternatively, to disable CPU interrupts and re- enable prior to exiting). This will guarantee proper interrupt triggering in the interrupt controller in case one or more in- terrupt events occur during execution of the interrupt rou- tine. If the LSR, MSR or EIR registers are to be polled, interrupt sources which are identified by self-clearing bits should have their corresponding IER bits set to 0, to prevent spuri- ous pulses on the interrupt output pin. If an interrupt source must be disabled, the CPU can do so by clearing the corresponding bit in the IER register. How- ever, if an interrupt event occurs just before the correspond- ing enable bit in the IER register is cleared, a spurious interrupt may be generated. To avoid this problem, the clearing of any IER bit should be done during execution of the interrupt service routine. If the interrupt controller is pro- grammed for level-sensitive interrupts, the clearing of IER bits can also be performed outside the interrupt service rou- tine, but with the CPU interrupt disabled. |
|
ссылки 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 |