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

#33 in #spi

Download history 37/week @ 2024-01-08 40/week @ 2024-01-15 43/week @ 2024-01-22 49/week @ 2024-01-29 74/week @ 2024-02-05 99/week @ 2024-02-12 93/week @ 2024-02-19 79/week @ 2024-02-26 52/week @ 2024-03-04 53/week @ 2024-03-11 53/week @ 2024-03-18 92/week @ 2024-03-25 28/week @ 2024-04-01 4/week @ 2024-04-08 56/week @ 2024-04-15 8/week @ 2024-04-22

100 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.2–9.5MB
~84K SLoC