Module prelude

Module prelude 

Source

Re-exports§

pub use crate::adc::AdcExt as _;
pub use crate::adc::ChannelTimeSequence as _stm32_hal_adc_ChannelTimeSequence;
pub use crate::afio::AfioExt as _stm32_hal_afio_AfioExt;
pub use crate::afio::RFrom as _;
pub use crate::afio::RInto as _;
pub use crate::afio::Remap as _;
pub use crate::can::CanExt as _;
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::i2c::blocking::BlockingI2cExt as _;
pub use crate::i2c::I2cExt as _;
pub use crate::rcc::BkpExt as _;
pub use crate::rcc::RccExt as _stm32_hal_rcc_RccExt;
pub use crate::serial::SerialExt as _;
pub use crate::spi::SpiExt as _;
pub use crate::time::U32Ext as _stm32_hal_time_U32Ext;
pub use crate::timer::pwm_input::PwmInputExt as _;
pub use crate::timer::pwm_input::QeiExt as _;
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§

_embedded_hal_Capture
Input capture
_embedded_hal_Pwm
Pulse Width Modulation
_embedded_hal_PwmPin
A single PWM channel / pin
_embedded_hal_Qei
Quadrature encoder interface
_embedded_hal_adc_OneShot
ADCs that sample on single channels per request, and do so at the time of the request.
_embedded_hal_blocking_delay_DelayMs
Millisecond delay
_embedded_hal_blocking_delay_DelayUs
Microsecond delay
_embedded_hal_blocking_i2c_Read
Blocking read
_embedded_hal_blocking_i2c_Write
Blocking write
_embedded_hal_blocking_i2c_WriteRead
Blocking write + read
_embedded_hal_blocking_rng_Read
Blocking read
_embedded_hal_blocking_serial_Write
Write half of a serial interface (blocking variant)
_embedded_hal_blocking_spi_Transfer
Blocking transfer
_embedded_hal_blocking_spi_Write
Blocking write
_embedded_hal_digital_InputPinDeprecated
Single digital input pin
_embedded_hal_digital_OutputPinDeprecated
Single digital push-pull output pin
_embedded_hal_digital_ToggleableOutputPinDeprecated
Output pin that can be toggled
_embedded_hal_serial_Read
Read half of a serial interface
_embedded_hal_serial_Write
Write half of a serial interface
_embedded_hal_spi_FullDuplex
Full duplex (master mode)
_embedded_hal_timer_CountDown
A count down timer
_embedded_hal_watchdog_Watchdog
Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.
_embedded_hal_watchdog_WatchdogDisable
Disables a running watchdog timer so the processor won’t be reset.
_embedded_hal_watchdog_WatchdogEnable
Enables A watchdog timer to reset the processor if software is frozen or stalled.
_fugit_ExtU32
Extension trait for simple short-hands for u32 Durations
_fugit_RateExtU32
Extension trait for simple short-hands for u32 Rate