MCPcopy Create free account
hub / github.com/diondokter/device-driver / interface

Method interface

tests/cases/basic_command/basic_command.rs:24–26  ·  view source on GitHub ↗

A reference to the interface used to communicate with the device

(&mut self)

Source from the content-addressed store, hash-verified

22 }
23 /// A reference to the interface used to communicate with the device
24 pub(crate) fn interface(&mut self) -> &mut I {
25 &mut self.interface
26 }
27 /// Read all readable register values in this block from the device.
28 /// The callback is called for each of them.
29 /// Any registers in child blocks are not included.

Callers 1

fooMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected