embassy-embedded-hal: add README.

This commit is contained in:
Dario Nieuwenhuis 2024-01-11 21:05:09 +01:00
parent b0b1ef9181
commit cf7da1c2bb
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,12 @@
# embassy-embedded-hal
Collection of utilities to use `embedded-hal` and `embedded-storage` traits with Embassy.
- Shared SPI and I2C buses, both blocking and async, with a `SetConfig` trait allowing changing bus configuration (e.g. frequency) between devices on the same bus.
- Async utilities
- Adapters to convert from blocking to (fake) async.
- Adapters to insert yields on trait operations.
- Flash utilities
- Split a flash memory into smaller partitions.
- Concatenate flash memories together.
- Simulated in-memory flash.

View File

@ -1,8 +1,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(async_fn_in_trait)]
#![warn(missing_docs)]
//! Utilities to use `embedded-hal` traits with Embassy.
#![doc = include_str!("../README.md")]
pub mod adapter;
pub mod flash;