Skip to content

Commit

Permalink
uart8250: add IIR and LCR
Browse files Browse the repository at this point in the history
  • Loading branch information
d0p1s4m4 committed Feb 15, 2023
1 parent 5b51f42 commit ddeeb8d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/périphériques/communication-serie/UART8250.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
| 0x0 (DLAB == 0) | Transmit Holding Register (THR) | ✔️ ||
| 0x0 (DLAB == 0) | Receive Buffer Register (RBR) || ✔️ |
| 0x1 (DLAB == 0) | Interrupt Enable Register (IER) | ✔️ | ✔️ |
| 0x2 (⚠️UART16550 seulement) | FIFO Control Register (FCR) | ✔️ ||
| 0x2 (⚠️UART16550 seulement) | FIFO Control Register (FCR) | ✔️ ||
| 0x2 | Interrupt Identification Register (IIR) || ✔️ |
| 0x3 | Line Control Register (LCR) | ✔️ | ✔️ |
| 0x4 | Modem Control Register (MCR) | ✔️ | ✔️ |
Expand Down Expand Up @@ -42,8 +42,16 @@ Tout ce qui est reçu par l'UART sur la laison série sera accessible sur ce reg

### Interrupt Identification Register (IIR)

| 7-3 | 2-1 | 0 |
|---------|--------------|-------------------|
| reservé | Interrupt ID | Interrupt pending |

### Line Control Register (LCR)

| 7 | 6 | 5 | 4 | 3 | 2 | 1-0 |
|------|-----------|--------------|--------------------|---------------|-----------|-----------------|
| DLAB | Set Break | Stick parity | Even Parity Select | Parity enable | Stop Bits | Word length |

### Modem Control Register (MCR)

### Line Status Register (LSR)
Expand Down

0 comments on commit ddeeb8d

Please sign in to comment.