forked from stm32-rs/stm32f3xx-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprelude.rs
More file actions
17 lines (16 loc) · 766 Bytes
/
prelude.rs
File metadata and controls
17 lines (16 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Prelude
#[cfg(any(feature = "stm32f302", feature = "stm32f303"))]
pub use crate::dma::DmaExt as _stm32f3xx_hal_dma_DmaExt;
pub use crate::flash::FlashExt as _stm32f3xx_hal_flash_FlashExt;
pub use crate::gpio::GpioExt as _stm32f3xx_hal_gpio_GpioExt;
pub use crate::hal::prelude::*;
pub use crate::rcc::RccExt as _stm32f3xx_hal_rcc_RccExt;
pub use embedded_time::duration::*;
pub use embedded_time::rate::*;
#[cfg(feature = "unproven")]
pub use crate::{
hal::digital::v2::InputPin as _embedded_hal_digital_InputPin,
hal::digital::v2::OutputPin as _embedded_hal_digital_OutputPin,
hal::digital::v2::StatefulOutputPin as _embedded_hal_digital_StatefulOutputPin,
hal::digital::v2::ToggleableOutputPin as _embedded_hal_digital_ToggleableOutputPin,
};