pub trait Read<Addr, SPI: Transfer<u8>, CS: OutputPin> { // Required method fn read(&mut self, addr: Addr, buf: &mut [u8]) -> Result<(), Error<SPI, CS>>; }
A trait for reading operations from a memory chip.
Reads bytes from a memory chip.
addr
buf
buf.len()