Type Alias embedded_hal_mock::eh0::i2c::Mock
source · pub type Mock = Generic<Transaction>;
Available on crate feature
eh0
only.Expand description
Mock I2C implementation
This supports the specification and evaluation of expectations to allow automated testing of I2C based drivers. Mismatches between expectations will cause runtime assertions to assist in locating the source of the fault.
Aliased Type§
struct Mock { /* private fields */ }