mirror of
https://github.com/ratspeak/C6-Reticulum-ASM
synced 2026-08-12 18:07:18 -04:00
Polled NS16550A receive primitives. uart_rx_byte spins on LSR.DR (bit 0) until a byte arrives, then reads RBR. uart_rx_available returns 1/0 of the same DR bit, non-blocking. Both stay as the polled fall-back even after uart_isr lands; the IRQ-driven ring-buffer path will become the production hot path on the C6, the polled forms keep working on qemu-virt where qemu does not model the PLIC for our IRQ wiring. |
||
|---|---|---|
| .. | ||
| test_uart_init.py | ||
| test_uart_rx_available.py | ||
| test_uart_rx_byte.py | ||
| test_uart_tx_byte.py | ||
| test_uart_tx_bytes.py | ||