Module eh1

Source
Available on crate feature eh1 only.
Expand description

This is a collection of types that implement the embedded-hal version 1.x traits.

§Usage

See module-level docs for more information.

Modules§

delay
Delay mock implementations, implementing both sync and async DelayNs traits.
digital
Mock digital InputPin, OutputPin, and StatefulOutputPin implementations Also mock calls to Wait, assuming the embedded-hal-async feature is enabled.
i2c
I²C mock implementations.
pwm
Mock implementations for embedded_hal::pwm.
serial
Serial mock implementations.
spi
SPI mock implementations.

Enums§

MockError
Errors that may occur during mocking.