qemu-cr16/rust/hw/char/dialog_uart/src/lib.rs
2026-05-04 14:31:19 +02:00

21 lines
584 B
Rust

// Copyright 2024, Linaro Limited
// Author(s): Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
// SPDX-License-Identifier: GPL-2.0-or-later
//! SC144xx UART QEMU Device Model
//!
//! This library implements a device model for the UART device
//! found in SC144xx DECT SoCs in QEMU.
//!
//! # Library crate
//!
//! See [`SC144State`](crate::device::SC144State) for the device model type and
//! the [`registers`] module for register types.
mod device;
mod registers;
mod bindings;
pub use device::sc144uart_create;
pub const TYPE_SC144UART: &::std::ffi::CStr = c"sc144uart";