Skip to main content

Crate tg_rcore_tutorial_uart1

Crate tg_rcore_tutorial_uart1 

Source
Expand description

§NS16550A 串口驱动(用于 rCore 教程)

本 crate 为 QEMU RISC-V 虚拟机中的 NS16550A 兼容串口提供极简驱动实现。 它通过 S-Mode(监管模式)的内存映射 I/O(MMIO)支持字符输入输出。

Re-exports§

pub use uart::Result;
pub use uart::Uart;
pub use uart::UartError;

Modules§

uart
NS16550A 串口驱动实现