3 releases (breaking)

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

#602 in Embedded development

Download history 838/week @ 2024-07-22 824/week @ 2024-07-29 1527/week @ 2024-08-05 1068/week @ 2024-08-12 2931/week @ 2024-08-19 6639/week @ 2024-08-26 7144/week @ 2024-09-02 5992/week @ 2024-09-09 5251/week @ 2024-09-16 5780/week @ 2024-09-23 1946/week @ 2024-09-30 1858/week @ 2024-10-07 3256/week @ 2024-10-14 3447/week @ 2024-10-21 2977/week @ 2024-10-28 6586/week @ 2024-11-04

16,326 downloads per month
Used in 31 crates (9 directly)

MIT/Apache

305KB
6.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
~30K SLoC