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
//! HAL for the E310x family of microcontrollers
//!
//! This is an implementation of the [`embedded-hal`] traits for the E310x
//! family of microcontrollers.
#![deny(missing_docs)]
#![no_std]
pub use e310x;
pub mod clock;
pub mod core;
pub mod delay;
pub mod device;
pub mod gpio;
pub mod pmu;
pub mod prelude;
pub mod pwm;
pub mod rtc;
pub mod serial;
pub mod spi;
pub mod stdout;
pub mod time;
pub mod wdog;
#[cfg(feature = "g002")]
pub mod i2c;
#[cfg(feature = "virq")]
pub mod interrupt;
pub use device::DeviceResources;