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
68 downloads per month
Used in 2 crates
83KB
1.5K
SLoC
spi-flash
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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