aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/hal.adoc
blob: e1a29751e7f8f24f9cc9f62b3b0ce3795bbacc4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
= Hardware Abstraction Layer (HAL)

Embassy provides HALs for several microcontroller families:

* `embassy-nrf` for the nRF microcontrollers from Nordic Semiconductor
* `embassy-stm32` for STM32 microcontrollers from ST Microelectronics
* `embassy-rp` for the Raspberry Pi RP2040 microcontrollers

These HALs implement async/await functionality for most peripherals while also implementing the
async traits in `embedded-hal` and `embedded-hal-async`. You can also use these HALs with another executor.

For the ESP32 series, there is an link:https://github.com/esp-rs/esp-hal[esp-hal] which you can use.

For the WCH 32-bit RISC-V series, there is an link:https://github.com/ch32-rs/ch32-hal[ch32-hal], which you can use.

For the Microchip PolarFire SoC, there is link:https://github.com/AlexCharlton/mpfs-hal[mpfs-hal].