1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
//! Drivers for device functionality. //! //! Typically, these drivers take ownership of one or more HAL peripherals, //! and expose functionality defined in a separate trait. pub mod prelude { pub use super::i2c::prelude::*; pub use super::spi::prelude::*; pub use super::usbd::prelude::*; } pub mod clocks; pub use clocks::ClockRequirements; pub mod pins; pub use pins::{ Pin, Pins, }; // pub mod flash; pub mod i2c; pub use i2c::I2cMaster; pub mod spi; pub use spi::SpiMaster; pub mod serial; pub use serial::Serial; pub mod rng; pub mod usbd; pub use usbd::UsbBus;