3 releases (breaking)

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

#678 in Embedded development

Download history 1107/week @ 2024-05-20 880/week @ 2024-05-27 966/week @ 2024-06-03 898/week @ 2024-06-10 970/week @ 2024-06-17 1075/week @ 2024-06-24 816/week @ 2024-07-01 853/week @ 2024-07-08 856/week @ 2024-07-15 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 6821/week @ 2024-09-02

17,524 downloads per month
Used in 29 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