embedded-hal crate provides a number of traits
covering common microcontroller peripherals.
- I2C, SPI, UART, CAN
Other crates then implement drivers in terms of these traits, e.g. an accelerometer driver might need an I2C or SPI bus implementation.
- There are implementations for many microcontrollers, as well as other platforms such as Linux on Raspberry Pi.
- There is work in progress on an
embedded-hal, but it isn’t stable yet.