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

#834 in Hardware support

Download history 18/week @ 2024-06-14 12/week @ 2024-06-21 2/week @ 2024-06-28 9/week @ 2024-07-05 5/week @ 2024-07-12 4/week @ 2024-07-19 11/week @ 2024-07-26 2/week @ 2024-08-02 1/week @ 2024-08-30 2/week @ 2024-09-06 1/week @ 2024-09-13 9/week @ 2024-09-20 56/week @ 2024-09-27

68 downloads per month
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.3–8.5MB
~83K SLoC