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

#614 in Embedded development

Download history 2953/week @ 2024-10-23 3940/week @ 2024-10-30 6786/week @ 2024-11-06 6375/week @ 2024-11-13 9420/week @ 2024-11-20 6441/week @ 2024-11-27 5791/week @ 2024-12-04 6228/week @ 2024-12-11 9429/week @ 2024-12-18 4844/week @ 2024-12-25 8756/week @ 2025-01-01 12160/week @ 2025-01-08 12894/week @ 2025-01-15 10011/week @ 2025-01-22 10698/week @ 2025-01-29 10122/week @ 2025-02-05

45,480 downloads per month
Used in 45 crates (14 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