forked from Rahix/avr-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib.rs
More file actions
36 lines (31 loc) · 721 Bytes
/
Copy pathlib.rs
File metadata and controls
36 lines (31 loc) · 721 Bytes
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
#![no_std]
#![feature(asm_experimental_arch)]
pub use embedded_hal as hal;
pub use embedded_hal_v0 as hal_v0;
#[doc(hidden)]
pub use avr_device;
#[doc(hidden)]
pub use nb;
#[doc(hidden)]
pub use paste;
pub mod adc;
pub mod clock;
pub mod delay;
pub mod eeprom;
pub mod i2c;
pub mod port;
pub mod simple_pwm;
pub mod spi;
pub mod usart;
pub mod wdt;
/// Prelude containing all HAL traits
pub mod prelude {
pub use crate::hal_v0::prelude::*;
pub use ufmt::uWrite as _ufmt_uWrite;
pub use unwrap_infallible::UnwrapInfallible as _unwrap_infallible_UnwrapInfallible;
}
// For making certain traits unimplementable from outside this crate.
mod sealed {
pub trait Sealed {}
}
pub(crate) use sealed::Sealed;