Struct trellis::mock::MockDevice [] [src]

pub struct MockDevice { /* 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.

Methods

impl MockDevice
[src]

Trait Implementations

impl I2CMasterDevice for MockDevice
[src]