Module embedded_hal::prelude

source ·
Expand description

The prelude is a collection of all the traits in this crate

The traits have been renamed to avoid collisions with other items when performing a glob import.

Re-exports§

  • pub use blocking::delay::DelayMs as _embedded_hal_blocking_delay_DelayMs;
  • pub use blocking::delay::DelayUs as _embedded_hal_blocking_delay_DelayUs;
  • pub use blocking::i2c::Read as _embedded_hal_blocking_i2c_Read;
  • pub use blocking::i2c::Write as _embedded_hal_blocking_i2c_Write;
  • pub use blocking::i2c::WriteRead as _embedded_hal_blocking_i2c_WriteRead;
  • pub use blocking::serial::Write as _embedded_hal_blocking_serial_Write;
  • pub use blocking::spi::Transfer as _embedded_hal_blocking_spi_Transfer;
  • pub use blocking::spi::Write as _embedded_hal_blocking_spi_Write;
  • pub use digital::OutputPin as _embedded_hal_digital_OutputPin;
    Deprecated
  • pub use serial::Read as _embedded_hal_serial_Read;
  • pub use serial::Write as _embedded_hal_serial_Write;
  • pub use spi::FullDuplex as _embedded_hal_spi_FullDuplex;
  • pub use timer::CountDown as _embedded_hal_timer_CountDown;
  • pub use PwmPin as _embedded_hal_PwmPin;