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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! 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 aes;
pub use aes::{Aes, Key as AesKey};

pub mod clocks;
pub use clocks::ClockRequirements;

pub mod pins;
pub use pins::{
    Pin,
    Pins,
};

pub mod flash;
pub use flash::FlashGordon;

pub mod gint;
pub use gint::GroupInterrupt;

pub mod i2c;
pub use i2c::I2cMaster;

pub mod pwm;
pub use pwm::Pwm;

pub mod spi;
pub use spi::SpiMaster;

pub mod serial;
pub use serial::Serial;

pub mod rng;

pub mod sha;
pub use sha::{Sha1, Sha256};

pub mod usbd;
pub use usbd::UsbBus;

pub mod timer;
pub use timer::Timer;

pub mod touch;
pub use touch::TouchSensor;