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

#34 in #flash

Download history 31/week @ 2023-12-15 36/week @ 2023-12-22 29/week @ 2023-12-29 38/week @ 2024-01-05 41/week @ 2024-01-12 45/week @ 2024-01-19 47/week @ 2024-01-26 55/week @ 2024-02-02 79/week @ 2024-02-09 105/week @ 2024-02-16 96/week @ 2024-02-23 53/week @ 2024-03-01 54/week @ 2024-03-08 55/week @ 2024-03-15 110/week @ 2024-03-22 46/week @ 2024-03-29

272 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–11MB
~90K SLoC