Struct trellis::mock::MockDevice
[−]
[src]
pub struct MockDevice { // some fields omitted }
A I2CMasterDevice implementation that exists solely for testing. The MockDevice delegates writes and reades to the supplied callback functions/data that are used in tests for checking the correct device communication.