Module embedded_hal_mock::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 mock implementations, implementing both sync and async
DelayNs
traits. - Mock digital
InputPin
,OutputPin
, andStatefulOutputPin
implementations Also mock calls toWait
, assuming theembedded-hal-async
feature is enabled. - I²C mock implementations.
- Mock implementations for
embedded_hal::pwm
. - Serial mock implementations.
- SPI mock implementations.
Enums§
- Errors that may occur during mocking.