Crate embedded_hal_mock[−][src]
Expand description
This is a collection of types that implement the embedded-hal traits.
The implementations never access real hardware. Instead, the hardware is mocked or no-op implementations are used.
The goal of the crate is to be able to test drivers in CI without having access to hardware.
Usage
See module-level docs for more information.
no_std
Currently this crate is not no_std
. If you think this is important, let
me know.
Modules
ADC mock implementation.
Common functionality used by the mock implementations.
Delay mock implementations.
I²C mock implementations.
Serial mock implementations.
SPI mock implementations.
Enums
Errors that may occur during mocking.