Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion hw/ip/uart16550/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ This wrapper provides the same set of interrupt outputs as the OpenTitan UART IP

- tx_watermark
- tx_done
- rx_timeout

## Features not yet implemented

Expand Down
2 changes: 1 addition & 1 deletion hw/ip/uart16550/doc/registers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The difference in functionality between the [16550 specification][16550-spec] an
| RBR | 0x0 (DLAB=0) | RO | Reads from an empty RCVR FIFO returns 0. |
| THR | 0x0 (DLAB=0) | WO | Writes to a full XMIT FIFO are dropped. |
| IER | 0x4 (DLAB=0) | RW | Values written to EDSSI are kept, but will have no other effect as MODEM status interrupts are never raised. |
| IIR | 0x8 | RO | Bit 3 is set when FIFO is enabled and there is an RCVR FIFO overflow interrupt. FIFO mode timeout interrupts are aliased to received data available interrupts, and are raised immediately when the trigger level is reached without a timeout. Software must set a RCVR FIFO trigger level of 1 byte. THRE interrupt will not be cleared by reading IIR. A fix for bit 3 and FIFO mode timeout interrupt are tracked in [#9](https://github.com/lowRISC/uart-16550/issues/9). |
| IIR | 0x8 | RO | Received data available indicated by `IIR[3:1] == 0b010` has a higher priority than receive FIFO timeout indicated by `IIR[3:1] == 0b110`. THRE interrupt will not be cleared by reading IIR. |
| FCR | 0x8 | WO | 16450 mode is not supported. Values written to FIFO enable are kept, but will have no other effect as the OpenTitan UART always uses a FIFO. Changing FIFO enable does not clear the FIFOs. All bits of FCR are writable regardless of the value of FIFO enable. Writes to bits 3-5 have no effect. Writing `0b11` to the RCVR FIFO trigger level will set a trigger level of 16 bytes. |
| LCR | 0xC | RW | WLS writes are ignored and reads return `0b11` to indicate 8-bit word length. STB writes are ignored and reads return `0b0` to indicate 1 stop bit. EPS resets to `0b1` to indicate it is enabled by default. Writes to stick parity are ignored and reads return `0b0` to indicate that stick parity is always disabled. |
| MCR | 0x10 | RW | Values written to DTR, RTS and OUT are kept but have no effect on external pins. |
Expand Down
Loading