Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1 KB

File metadata and controls

30 lines (17 loc) · 1 KB

embedded-hal-ext

Embedded HAL Extensions

A set of useful traits to allow more sophisticated cross-platform embedded code than that supported by the embedded-hal crates.

Design Goals

Reduce need for platform-specific code in embedded peripheral drivers, crates, and applications by abstracting additional common functionality.

Features:

  • On-the-fly GPIO configuration. Allow drivers to reconfigure GPIO pins they own (e.g. bidirectional use of interrupt pins in some I2C devices).
  • Additional non-blocking traits
  • interrupts/message-passing
  • Analog trait?

Optional Cargo features

  • defmt: Derive defmt::Format from defmt 0.3 for enums and structs.
  • async: async/await features

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.75 and up. It might compile with older versions but that may change in any new patch release.

License: MPL 2.0