stm32f3xx_hal/
prelude.rs

1//! # Prelude
2//!
3//! ```rust
4//! // Import common extension traits.
5//! //
6//! // This includes internal extension crates,
7//! // but also reexportet traits from embeded-hal or embedded time.
8//! use stm32f3xx-hal::prelude::*;
9//! ```
10
11pub use crate::dma::DmaExt as _stm32f3xx_hal_dma_DmaExt;
12pub use crate::flash::FlashExt as _stm32f3xx_hal_flash_FlashExt;
13pub use crate::gpio::GpioExt as _stm32f3xx_hal_gpio_GpioExt;
14pub use crate::hal::prelude::*;
15pub use crate::rcc::RccExt as _stm32f3xx_hal_rcc_RccExt;
16pub use crate::syscfg::SysCfgExt as _stm32f3xx_hal_syscfg_SysCfgExt;
17pub use crate::time::duration::Extensions as _stm32f3xx_hal_time_time_Extensions;
18pub use crate::time::rate::Extensions as _stm32f3xx_hal_time_rate_Extensions;
19pub use crate::{
20    hal::digital::v2::InputPin as _embedded_hal_digital_InputPin,
21    hal::digital::v2::OutputPin as _embedded_hal_digital_OutputPin,
22    hal::digital::v2::StatefulOutputPin as _embedded_hal_digital_StatefulOutputPin,
23    hal::digital::v2::ToggleableOutputPin as _embedded_hal_digital_ToggleableOutputPin,
24};