Initial I2C HAL implementation. Only the I2cMaster was tested so far, I2cSlave will be tested next. Master side was tested with a temerature sensor example application in the vorago-reb1 crate
23 lines
352 B
Rust
23 lines
352 B
Rust
#![no_std]
|
|
|
|
pub use va108xx;
|
|
pub use va108xx as pac;
|
|
|
|
pub mod clock;
|
|
pub mod gpio;
|
|
pub mod i2c;
|
|
pub mod prelude;
|
|
pub mod spi;
|
|
pub mod time;
|
|
pub mod timer;
|
|
pub mod typelevel;
|
|
pub mod uart;
|
|
|
|
mod private {
|
|
/// Super trait used to mark traits with an exhaustive set of
|
|
/// implementations
|
|
pub trait Sealed {}
|
|
}
|
|
|
|
pub(crate) use private::Sealed;
|