| 1 | #![doc= include_str!( "../README.md")] |
|---|---|
| 2 | #![warn(missing_docs)] |
| 3 | #![no_std] |
| 4 | |
| 5 | pub mod delay; |
| 6 | pub mod digital; |
| 7 | pub mod i2c; |
| 8 | pub mod pwm; |
| 9 | pub mod spi; |
| 10 | |
| 11 | mod private { |
| 12 | use crate::i2c::{SevenBitAddress, TenBitAddress}; |
| 13 | pub trait Sealed {} |
| 14 | |
| 15 | impl Sealed for SevenBitAddress {} |
| 16 | impl Sealed for TenBitAddress {} |
| 17 | } |
| 18 | |
| 19 | // needed to prevent defmt macros from breaking, since they emit code that does `defmt::blahblah`. |
| 20 | #[cfg(feature = "defmt-03")] |
| 21 | use defmt_03 as defmt; |
| 22 |
