5 unstable releases

0.3.0 Jul 31, 2022
0.2.2 Jan 20, 2021
0.2.1 Jan 20, 2021
0.2.0 Jan 2, 2021
0.1.0 Jan 2, 2021

#961 in Hardware support


Used in 2 crates

Apache-2.0 OR MIT

83KB
1.5K SLoC

spi-flash

crates.io docs.rs CI

SPI flash interface crate. Provides basic flash operations such as reading, erasing, and writing, and can read and parse SFDP parameter tables to automatically support many flash chips.

By default this crate requires std, but by disabling the default std feature, only no-std-compatible operations are exposed. Currently alloc is always required.

Licence

spi-flash is licensed under either of

at your option.


lib.rs:

spi-flash

This crate provides an interface for common SPI flash memories, including discovering ID and parameters, reading, and writing.

Dependencies

~1.4–9MB
~84K SLoC