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
DelayNstraits. - digital
- Mock digital
InputPin,OutputPin, andStatefulOutputPinimplementations Also mock calls toWait, assuming theembedded-hal-asyncfeature is enabled. - i2c
- I²C mock implementations.
- pwm
- Mock implementations for
embedded_hal::pwm. - serial
- Serial mock implementations.
- spi
- SPI mock implementations.
Enums§
- Mock
Error - Errors that may occur during mocking.