Crate embassy_embedded_hal

Source
Expand description

§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.

Modules§

adapter
Adapters between embedded-hal traits.
flash
Utilities related to flash.
shared_bus
Shared bus implementations

Traits§

GetConfig
Get the configuration of a peripheral driver.
SetConfig
Set the configuration of a peripheral driver.