Module embedded_hal::prelude [] [src]

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 timer::CountDown as _embedded_hal_timer_CountDown;
pub use digital::OutputPin as _embedded_hal_digital_OutputPin;

Traits

_embedded_hal_PwmPin

A single PWM channel / pin

_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_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_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)