return Ok(());
}
+ self.write_enable();
+
self.with_selected(|| {
spi::tx8(spi::SPI0, Command::PP as u8);
}
impl Storage for Mx25l {
+ fn size(&self) -> usize {
+ 2 << 20
+ }
+
fn read(&self, address: usize, buffer: &mut [u8]) {
self.with_selected(|| {
spi::tx8(spi::SPI0, Command::READ as u8);