MCPcopy Index your code
hub / github.com/FrameworkComputer/framework-system / CrosEcDriver

Interface CrosEcDriver

framework_lib/src/chromium_ec/mod.rs:215–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213];
214
215pub trait CrosEcDriver {
216 fn read_memory(&self, offset: u16, length: u16) -> Option<Vec<u8>>;
217 fn send_command(&self, command: u16, command_version: u8, data: &[u8]) -> EcResult<Vec<u8>>;
218}
219
220#[derive(Clone)]
221pub struct CrosEc {

Callers

nothing calls this directly

Implementers 1

mod.rsframework_lib/src/chromium_ec/mod.rs

Calls

no outgoing calls

Tested by

no test coverage detected