#embedded-hal #embassy #embassy-embedded-hal

no-std embassy-embedded-hal

Collection of utilities to use embedded-hal and embedded-storage traits with Embassy

4 releases (breaking)

0.3.0 Jan 5, 2025
0.2.0 Aug 5, 2024
0.1.0 Jan 11, 2024
0.0.0 Sep 18, 2022

#972 in Embedded development

Download history 13296/week @ 2025-01-13 10460/week @ 2025-01-20 9883/week @ 2025-01-27 12346/week @ 2025-02-03 10494/week @ 2025-02-10 9767/week @ 2025-02-17 8529/week @ 2025-02-24 8553/week @ 2025-03-03 8714/week @ 2025-03-10 9948/week @ 2025-03-17 9199/week @ 2025-03-24 9822/week @ 2025-03-31 10668/week @ 2025-04-07 8750/week @ 2025-04-14 9544/week @ 2025-04-21 8117/week @ 2025-04-28

38,212 downloads per month
Used in 55 crates (16 directly)

MIT/Apache

360KB
8K SLoC

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.

Dependencies

~1.2–1.6MB
~29K SLoC