Module stm32f1xx_hal::prelude
source · Re-exports
pub use crate::adc::ChannelTimeSequence as _stm32_hal_adc_ChannelTimeSequence;
pub use crate::afio::AfioExt as _stm32_hal_afio_AfioExt;
pub use crate::crc::CrcExt as _stm32_hal_crc_CrcExt;
pub use crate::dma::CircReadDma as _stm32_hal_dma_CircReadDma;
pub use crate::dma::DmaExt as _stm32_hal_dma_DmaExt;
pub use crate::dma::ReadDma as _stm32_hal_dma_ReadDma;
pub use crate::dma::ReadWriteDma as _stm32_hal_dma_ReadWriteDma;
pub use crate::dma::WriteDma as _stm32_hal_dma_WriteDma;
pub use crate::flash::FlashExt as _stm32_hal_flash_FlashExt;
pub use crate::gpio::GpioExt as _stm32_hal_gpio_GpioExt;
pub use crate::rcc::RccExt as _stm32_hal_rcc_RccExt;
pub use crate::time::U32Ext as _stm32_hal_time_U32Ext;
pub use crate::timer::MonoTimerExt as _stm32f4xx_hal_timer_MonoTimerExt;
pub use crate::timer::PwmExt as _stm32f4xx_hal_timer_PwmExt;
pub use crate::timer::SysTimerExt as _stm32f4xx_hal_timer_SysCounterExt;
pub use crate::timer::TimerExt as _stm32f4xx_hal_timer_TimerExt;
Traits
Input capture
Pulse Width Modulation
A single PWM channel / pin
Quadrature encoder interface
ADCs that sample on single channels per request, and do so at the time of the request.
Millisecond delay
Microsecond delay
Blocking read
Blocking write
Blocking write + read
Blocking read
Write half of a serial interface (blocking variant)
Blocking transfer
Blocking write
_embedded_hal_digital_InputPinDeprecated
Single digital input pin
_embedded_hal_digital_OutputPinDeprecated
Single digital push-pull output pin
Push-pull output pin that can read its output state
Output pin that can be toggled
Read half of a serial interface
Write half of a serial interface
Full duplex (master mode)
A count down timer
Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes
commonly referred to as “kicking” or “refreshing”.
Disables a running watchdog timer so the processor won’t be reset.
Enables A watchdog timer to reset the processor if software is frozen or
stalled.
Extension trait for simple short-hands for u32 Durations
Extension trait for simple short-hands for u32 Rate