Registry / networking / uart-16550

uart-16550

JSON →
library0.5.0rscratesunverified

A low-level driver for 16550 UART devices, commonly used for serial ports in kernel development.

# Cargo.toml [dependencies] uart_16550 = "0.5.0"
INSTALL
IMPORT
SIG · UART-16550
U
uart-16550
networkingrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SerialPort
use uart_16550::SerialPort;

Initializes a 16550 UART serial port at address 0x3F8 and sends a byte.

use uart_16550::SerialPort; use std::sync::Mutex; fn main() { let mut port = unsafe { SerialPort::new(0x3F8) }; port.init(); port.send(b'H'); }
Debug
Known issues
gotchaRequires unsafe code for direct hardware access; incorrect base address can cause system instability.
fix
Ensure the base address matches your hardware configuration and use only in appropriate contexts (e.g., kernel or bare-metal).
affects: >=0.1.0
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
uart-16550 — cargo add uart-16550 · libregistry