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

#568 in Embedded development

Download history 2254/week @ 2024-09-27 2040/week @ 2024-10-04 2663/week @ 2024-10-11 3700/week @ 2024-10-18 2746/week @ 2024-10-25 5508/week @ 2024-11-01 6803/week @ 2024-11-08 7014/week @ 2024-11-15 8885/week @ 2024-11-22 5827/week @ 2024-11-29 5646/week @ 2024-12-06 8402/week @ 2024-12-13 6914/week @ 2024-12-20 4699/week @ 2024-12-27 10979/week @ 2025-01-03 13664/week @ 2025-01-10

38,160 downloads per month
Used in 44 crates (13 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
~30K SLoC