#embedded-hal #embedded-hal-driver #driver #async

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

#2001 in Embedded development

Download history 5076/week @ 2024-12-24 7265/week @ 2024-12-31 12415/week @ 2025-01-07 13042/week @ 2025-01-14 10068/week @ 2025-01-21 10669/week @ 2025-01-28 11631/week @ 2025-02-04 10258/week @ 2025-02-11 9765/week @ 2025-02-18 8329/week @ 2025-02-25 8646/week @ 2025-03-04 8835/week @ 2025-03-11 10055/week @ 2025-03-18 9687/week @ 2025-03-25 9457/week @ 2025-04-01 8905/week @ 2025-04-08

39,658 downloads per month
Used in 51 crates (15 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