7. Hardware Information
The
Address assignment | |
Channel A | Base Address + 0 |
|
|
Channel B | Base Address + 8 |
Channel C | Base Address + 16 |
|
|
Channel D | Base Address + 24 |
|
|
which requires the
Each 16C550 UART contains 8 I/O registers. The last of these registers, located at (Base address
+7), is referred to as the 'Scratchpad Register' and provides no functionality to the UART. In place of this Scratchpad Register, the
D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
|
|
|
|
|
|
|
|
0 | 0 | 0 | 0 | Intr D | Intr C | Intr B | Intr A |
|
|
|
|
|
|
|
|
When one or more UARTs have interrupts pending, the associated bit(s) in the interrupt status register are set to logic 1. When all the pending interrupts have been serviced for a specific UART, its interrupt status bit will be cleared to logic 0 automatically. When all the pending interrupts from all UARTs have been serviced, the entire interrupt status register will return logic
0.The application program should not exit its interrupt service routine until all pending inter- rupts from all channels have been serviced (interrupt status register = 0) or no additional inter- rupts will be received.
If an application requires the UARTs' Scratchpad Registers, the interrupt status register can be disabled using the "p" option on the
33 |