19 lines
440 B
Rust
19 lines
440 B
Rust
//! Device management and interfaces
|
|
|
|
use alloc::string::String;
|
|
use libk_util::OneTimeInit;
|
|
|
|
pub mod bus;
|
|
pub mod clock;
|
|
pub mod display;
|
|
#[cfg(any(target_arch = "aarch64", target_arch = "riscv64", rust_analyzer))]
|
|
pub mod i2c;
|
|
pub mod power;
|
|
// pub mod timer;
|
|
|
|
#[cfg(any(rust_analyzer, not(target_arch = "x86_64")))]
|
|
pub mod gpio;
|
|
|
|
/// Generic machine description string
|
|
pub static MACHINE_NAME: OneTimeInit<String> = OneTimeInit::new();
|