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, andToggleableOutputPinv2 implementations - i2c
- I²C mock implementations.
- serial
- Serial mock implementations.
- spi
- SPI mock implementations.
- timer
embedded-time - Provides a mocked embedded_time::Clock that can be used for host-side testing crates that use embedded_hal::timer.
Enums§
- Mock
Error - Errors that may occur during mocking.