Module eh0

Source
Available on crate feature eh0 only.
Expand description

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

§Usage

See module-level docs for more information.

Modules§

adc
ADC mock implementation.
delay
Delay mock implementations.
digital
Mock digital InputPin, OutputPin, and ToggleableOutputPin v2 implementations
i2c
I²C mock implementations.
serial
Serial mock implementations.
spi
SPI mock implementations.
timerembedded-time
Provides a mocked embedded_time::Clock that can be used for host-side testing crates that use embedded_hal::timer.

Enums§

MockError
Errors that may occur during mocking.