2021-12-09 09:40:26 +00:00
|
|
|
= Hardware Abstraction Layer (HAL)
|
|
|
|
|
2022-08-16 09:23:04 +00:00
|
|
|
Embassy provides HALs for several microcontroller families:
|
2021-12-09 09:40:26 +00:00
|
|
|
|
2022-01-06 09:56:47 +00:00
|
|
|
* `embassy-nrf` for the nRF microcontrollers from Nordic Semiconductor
|
2021-12-10 11:04:12 +00:00
|
|
|
* `embassy-stm32` for STM32 microcontrollers from ST Microelectronics
|
|
|
|
* `embassy-rp` for the Raspberry Pi RP2040 microcontrollers
|
2021-12-09 09:40:26 +00:00
|
|
|
|
2022-08-16 09:23:04 +00:00
|
|
|
These HALs implement async/await functionality for most peripherals while also implementing the
|
2023-10-03 19:35:31 +00:00
|
|
|
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.
|