[−][src]Type Definition embedded_hal_mock::i2c::Mock
type Mock = Generic<Transaction>;
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.
Trait Implementations
impl Read for Mock
[src]
type Error = MockError
Error type
fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error>
[src]
impl Write for Mock
[src]
type Error = MockError
Error type