4 releases (breaking)

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

#595 in Embedded development

Download history 5855/week @ 2024-09-21 2009/week @ 2024-09-28 2046/week @ 2024-10-05 2894/week @ 2024-10-12 3615/week @ 2024-10-19 2532/week @ 2024-10-26 6806/week @ 2024-11-02 6359/week @ 2024-11-09 7760/week @ 2024-11-16 7982/week @ 2024-11-23 5952/week @ 2024-11-30 5238/week @ 2024-12-07 9943/week @ 2024-12-14 5272/week @ 2024-12-21 5601/week @ 2024-12-28 11806/week @ 2025-01-04

33,307 downloads per month
Used in 47 crates (13 directly)

MIT/Apache

350KB
7.5K 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