pub trait RegisterIo {
// Required methods
fn read(&self, addr: u64, len: usize) -> Result<Vec<u8>, GenApiError>;
fn write(&self, addr: u64, data: &[u8]) -> Result<(), GenApiError>;
}Expand description
Register access abstraction backed by transports such as GVCP/GenCP.