aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/pages/hal.adoc
blob: 14b85e1f147c54fe47fc24581fdc2fc38f3c76f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
= 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.